Showing posts with label apt-get. Show all posts
Showing posts with label apt-get. Show all posts

Wednesday, April 29, 2009

Command lines to install or remove packages in Ubuntu

To install a package

sudo apt-get install the-package-name

To remove a package

sudo apt-get remove the-package-name

Remove automatically installed packages that are no longer required inUbuntu

Installing and removing packages in Ubuntu will leave unneeded packages.

To remove those packages, use this command:
sudo apt-get autoremove