Revision of Installing, Updating and Removing Software from Tue, 01/16/2024 - 14:51

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

This page covers how to install and remove software in Trisquel GNU/Linux.

Contents

  • Installing and Removing Applications
  • Installing and Removing Packages (Graphical)
  • Installing and Removing Packages (Terminal)

Installing and Removing Applications

Using Add/Remove Applications

With Add/Remove Applications you can browse all available and installed applications. Here you can select applications for removing or installing.

Example

In this example we are going to install "2048", a puzzle game and then run it. Later we will remove the application "Planner", a program, that was previously installed on this system.

  • Launch Add/Remove Applications from the Main Menu.
  • Select applications you wish to install.

select-applications_0.png

  • Deselect applications you wish to remove.

deselect-applications_0.png

  • When you are finished, select Apply Changes.

add-remove-applications-apply-changes.png

  • Review the list of applications that will be installed and removed. If you are satisfied, select Apply and enter your password.

add-remove-applications-apply_0.png The marked changes are now being applied. add-remove-applications-progress.png

  • Double click a newly installed application to launch it.

double-click-to-launch_0.png

The newly installed applications will appear in the main menu.

Installing and Removing Packages (Graphical)

Using Synaptic Package Manager

In this example (a follow-up to the previous one) we are going to install the package "printer-driver-all" and remove the package "gnome-2048", the puzzle game we installed before.

Other software, such as drivers, libraries, and desktop environments, can be installed or removed with Synaptic Package Manager.

Example

  • Launch Synaptic Package Manager from the main menu, and enter your password. Here you may browse all installed and available packages. In the Main Menu go to System→Administration→Synaptic Package Manager
  • Select Search to search for applications.

synaptic1.png

  • Enter a search term and select Search.

synaptic2.png

  • Right click and select Mark for installation on packages you wish to install.

synaptic3.png

  • The installation or removal of some packages may affect other packages. In this case, select Mark to confirm.

synaptic4.png

  • Right click and select Mark for removal on packages you wish to remove.

synaptic5.png

  • When you are finished, select Apply.

synaptic6.png

  • Review the list of packages that will be installed and removed. If you are satisfied, select Apply.

synaptic7.png

  • Wait until the changes are applied.

synaptic8.png

  • After the changes are applied, select Close

synaptic9.png

  • When you are finished installing and removing packages, close Synaptic.

Installing and Removing Packages (Terminal)

Using apt

Software may also be installed and removed from a terminal. If you want to do this, you can use the apt.

Example

In the following example we are going to update and upgrade and then install Nethack, a famous Dungeons & Dragons-style adventure game.

  • Launch a terminal with Ctrl+Alt+T.
  • To synchronize the package index with your sources, use the following command:

sudo apt update
sudo-apt-update.png

  • To upgrade your installed software to the newest versions available, run:

 sudo apt upgrade
sudo-apt-upgrade1.png sudo-apt-upgrade2.png sudo-apt-upgrade3.png

  • To search for a certain package, use the following command. Replace search-term with your search term.

 apt-cache search search-term
sudo-apt-cache-search.png

  • Install a package with the following command. Replace "package-name" with the name of the package you would like to install.

sudo apt install package-name
sudo-apt-install1.png sudo-apt-install2.png

Now, that we installed the game, we can run it from within the Terminal with the following command :

 nethack  
sudo-apt-run-after-install.png

  • Remove a package with the following command. Replace "package-name" with the name of the package you would like to remove.

sudo apt remove package-name
sudo-apt-remove.png

  • Remove all unnecessary packages from previous installed ones with the following command:

sudo apt autoremove
sudo-apt-autoremove.png sudo-apt-after-autoremove.png

More information can be found in the manual of apt with this command:

man apt

Further Reading

For general topics about packages see: Documentation about packages

AttachmentSize
select-applications.png83.35 KB
deselect-applications.png81.09 KB
add-remove-applications-apply-changes.png81.85 KB
add-remove-applications-apply.png66.08 KB
add-remove-applications-progress.png71.94 KB
double-click-to-launch.png78.43 KB
synaptic1.png66.47 KB
synaptic2.png70.71 KB
synaptic3.png82.21 KB
synaptic4.png73.2 KB
synaptic5.png108.19 KB
synaptic6.png94.18 KB
synaptic7.png69.15 KB
synaptic8.png61.8 KB
synaptic9.png65.52 KB
sudo-apt-update.png68.65 KB
sudo-apt-upgrade1.png17.98 KB
sudo-apt-upgrade2.png100.16 KB
sudo-apt-upgrade3.png121.53 KB
sudo-apt-cache-search.png84.23 KB
sudo-apt-install1.png104.27 KB
sudo-apt-install2.png110.74 KB
sudo-apt-run-after-install.png110.6 KB
sudo-apt-remove.png57.03 KB
sudo-apt-autoremove.png106.78 KB
sudo-apt-after-autoremove.png103.97 KB

Revisions

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