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

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.

Note: This manual does not aim to provide comprehensive documentation for any of the software applications mentioned. Rather, it is a beginner's introduction to their most basic features. Detailed user manuals for each programs are available elsewhere.

If you're new to GNU/Linux, you may be unfamiliar with the way software is installed. Most commonly it is done by one of the following methods.

The application we will download in the examples in this manual is Audacity, a popular sound editing and recording program.

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

Perhaps the package you want is available only in .rpm format and not .deb. RPM is an alternate package management system that many distributions (not including Triquel) use by default. To convert .rpm archives to .deb, there is a tool called alien which is already installed in Trisquel. To use it, perform the following steps:

  1. Download the .rpm package you want to convert. Audacity .rpm's can be downloaded here.
  2. Open a terminal

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