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.
- Deselect applications you wish to remove.
- When you are finished, select Apply Changes.
- Review the list of applications that will be installed and removed. If you are satisfied, select Apply and enter your password.
The marked changes are now being applied.
- Double click a newly installed application to launch it.
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.
- Enter a search term and select Search.
- Right click and select Mark for installation on packages you wish to install.
- The installation or removal of some packages may affect other packages. In this case, select Mark to confirm.
- Right click and select Mark for removal on packages you wish to remove.
- When you are finished, select Apply.
- Review the list of packages that will be installed and removed. If you are satisfied, select Apply.
- Wait until the changes are applied.
- After the changes are applied, select Close
- 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
- To upgrade your installed software to the newest versions available, run:
sudo apt upgrade
- To search for a certain package, use the following command. Replace search-term with your search term.
apt-cache search search-term
- 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
Now, that we installed the game, we can run it from within the Terminal with the following command :
nethack
- 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
- Remove all unnecessary packages from previous installed ones with the following command:
sudo apt autoremove
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
Attachment | Size |
---|---|
select-applications.png | 83.35 KB |
deselect-applications.png | 81.09 KB |
add-remove-applications-apply-changes.png | 81.85 KB |
add-remove-applications-apply.png | 66.08 KB |
add-remove-applications-progress.png | 71.94 KB |
double-click-to-launch.png | 78.43 KB |
synaptic1.png | 66.47 KB |
synaptic2.png | 70.71 KB |
synaptic3.png | 82.21 KB |
synaptic4.png | 73.2 KB |
synaptic5.png | 108.19 KB |
synaptic6.png | 94.18 KB |
synaptic7.png | 69.15 KB |
synaptic8.png | 61.8 KB |
synaptic9.png | 65.52 KB |
sudo-apt-update.png | 68.65 KB |
sudo-apt-upgrade1.png | 17.98 KB |
sudo-apt-upgrade2.png | 100.16 KB |
sudo-apt-upgrade3.png | 121.53 KB |
sudo-apt-cache-search.png | 84.23 KB |
sudo-apt-install1.png | 104.27 KB |
sudo-apt-install2.png | 110.74 KB |
sudo-apt-run-after-install.png | 110.6 KB |
sudo-apt-remove.png | 57.03 KB |
sudo-apt-autoremove.png | 106.78 KB |
sudo-apt-after-autoremove.png | 103.97 KB |