![]() ![]() To uninstall, type sudo apt-get remove package-name When you uninstall a core package (such as libreoffice-common), it should automatically remove dependent packages. This will output a list of all installed packages to your home folder and open it. ![]() The easiest way to get a list of packages is to run: sudo dpkg -get-selections | grep -v deinstall > ~/packages Unless you're going to use the LibreOffice suite, Firefox, etc., you can remove all these packages. I also replaced the generic kernel with the server kernel as noted in the answer and commented out the lines in the nf file.Īfter this, rather than tasksel to add/remove packages, I manually removed packages from the command line. It's up to you whether or not to purge the GUI completely. If all you need to do is get rid of the gui, follow steps 1-2 from the first answer. If you uninstall the desktop packages and install the server packages through tasksel, you should be prepared to do a LOT of reconfiguration, as this will remove your network settings, wireless card drivers, etc. The point being, you can prevent the GUI from coming up if that's your main issue. There's also this: Possible to install ubuntu-desktop and then boot to no GUI Re-enable the graphical interface by reinstalling the packages I think it suits best for a computer considered as a server. Remove packages apt-get remove -purge x11-common & apt-get autoremove Xdm start or revert your changes with update-rc.d -f xdm defaults You can re-enable the graphical interface with service You can enable the graphical interface with telinitĭo not launch the graphical interface service on boot update-rc.d -f xdm remove You can set it at the beginnign of /etc/init/nf replace 2īy 3 and reboot. I just found this: Starting Ubuntu without the GUI Perhaps someone here can give you the name of the script before I get home to check. I don't have access to a system right now, but I believe the script you'll need will be found in the /etc/init.d or /boot/grub directory. Actually, if you just have problem with running the GUI there's no need to install another distribution, simply modify the startup sequence to prevent the graphical interface from coming up and work from the command line as you desire. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |