windows 10 - How to get apt back after uninstalling it - Ask Ubuntu


i experimenting on bash supported windows 10. entered command sudo apt-get remove apt. greeted warning message, "it's dangerous bla bla", decided see how far take , input text message proceed, , uninstalled apt.

now how can apt back? have uninstall , reinstall bash support on windows? if so, how can that?

download correct apt package ubuntu version searching here

open bash windows 10 , run following command show ubuntu release:

lsb_release -a 

the current release of bash windows 10 14.04 out of box, can upgrade it. release of apt need download. bash on windows 10 can installed on 64-bit version of windows 10 anniversary update build 14393 or later, need download amd64 apt file.

install apt using dpkg

sudo dpkg -i apt_1.0.1ubuntu2.13_amd64.deb   

the above command if lsb_release -a returned ubuntu 14.04 , amd64 architecture match windows architecture.

enter image description here
click amd64 download apt


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User