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.
Comments
Post a Comment