Ubuntu – Removed python from the install, how to get it back

re-installation

I just typed

sudo apt-get remove python2.6

I didn't realized that this command will uninstall the whole packages from my computer. Is it possible to uninstall the ubuntu without CD. Or how can I fix this big mistake?

Best Answer

I am not 100% sure if I understood you correctly.

I'm guessing your Ubuntu-Installation is broken because the uninstalling of the python package also removed a lot else.

I would try to (re)install the ubuntu-desktopยน meta package.

sudo apt-get install --reinstall ubuntu-desktop
Related Question