Revision of Installing, Updating and Removing Software from Sun, 01/09/2011 - 05:56

The revisions let you track differences between multiple versions of a post.

Software on GNU/Linux systems is typically installed by one of several methods.

  • Using the simple Add/Remove Applications program found in the Main Menu.
  • Using the more advanced Synaptic Package Manager.
  • Typing sudo apt-get [command] [package name] commands into a non-graphical console (located in the Main Menu at AccessoriesTerminal). Type apt-get -h for a full list of commands. The most important commands include:
    • sudo apt-get install [package name] to fetch and install a package
    • sudo apt-get remove [package name] to uninstall a package
    • sudo apt-get upgrade to update packages. This is the same as using the graphical Update Manager.
    • sudo apt-get autoremove to remove unnecessary leftover packages
  • Downloading a .deb archive and installing it using the graphical GDebi installation wizard.
  • Adding a Launchpad PPA to your Software Sources (located in the Main Menu at SystemAdministrationSoftware Sources).
  • Building from a source archive (generally in .tar.gz format). This is the most advanced method. You will likely never need to install software this way, and because you could mess up your installation if you do something wrong, it's suggested you avoid this method if you are new.

Installing From the Repos

The simple way

Using Synaptic Package Manager

Using the command line

Adding Packages to the Repos

Installing From Archives

.deb archives

Converting .rpm to .deb

Building from source code

Revisions

01/08/2011 - 07:00
AndrewT
09/11/2011 - 22:26
SirGrant
06/17/2012 - 14:37
vod
08/13/2013 - 19:20
lloydsmart
09/04/2014 - 02:55
muhammed
05/10/2018 - 23:49
chaosmonk
01/16/2024 - 15:51
knife
05/13/2024 - 17:53
Luck-02