Ubuntu – How to reinstall network manager without internet access


Unfortunately, I uninstalled network-manager-gnome using sudo apt-get remove --purge network-manager. I was trying to reinstall it from but without internet connection I cannot do so. What is the solution for this?

Best Answer

sudo dhclient eth0

then you will have internet and you can use...

sudo apt-get install network-manager