If you’re new to Ubuntu or similar Linux distributions, figuring out how to install and remove applications might seem a bit confusing at first. Don’t worry, it’s quite straightforward once you know the ropes!
In this guide, I’ll walk you through the common ways to manage software on your Ubuntu system, clearing up any confusion so you can easily add new programs and keep your system tidy. We’ll cover everything from graphical tools to command-line methods, helping you find the approach that works best for you. Knowing how to manage applications on Ubuntu is a fundamental skill, and we’ll make it easy.
What will be covered in the article
Think of the Ubuntu Software Center like the App Store on your phone. It’s the default graphical tool for finding and installing many common applications. Inside the Software Center, you can either type the name of the application you’re looking for directly into the search bar, or take your time exploring the various software categories and curated picks.
To open it in older Ubuntu versions with the Unity desktop, just press the Super key (Windows key) and type “Ubuntu Software.” You’ll see a reddish-orange shopping bag icon – click that!
Finding the Ubuntu Software Center
Alternatively, you might find the same icon directly in the main application launcher or dock on your desktop.
The Software Center icon
Spotted an interesting app? Clicking its entry will bring up a dedicated page right within the Software Center, giving you all the details like its description, user reviews, and screenshots.
Read: Launch Ubuntu 24.04 System Settings from Terminal: gnome-control-center
Checking out an app in the Software Center
If it looks like what you need, just hit the “Install” button. Ubuntu will likely ask for your password to confirm you have permission to install software. Enter it, and the installation will begin! It’s a very user-friendly way for installing software graphically on Ubuntu.
Read: 4 Ways to Find Large Files on Linux and Free Up Disk Space
NOTE: Sometimes, you might look for specific proprietary (non-open-source) applications like Skype or Steam, and not find them initially. This is often because they reside in a separate repository called the “Canonical Partners” repository, which isn’t enabled by default. Here’s how to enable it: Open the main menu or search for “Software & Updates.” Look for an icon that often resembles a cardboard box with a globe or software packages.
Read: How to restore GRUB Bootloader in Ubuntu
Once the “Software & Updates” window opens, go to the “Other Software” tab. Navigate to the ‘Other Software’ tab within the ‘Software & Updates’ settings, then find and check the box labelled ‘Canonical Partners’ to activate it.
Getting rid of software via the Software Center is just as straightforward. Head over to the ‘Installed’ view, locate the application you no longer need in the list, select it, and then click the prominent ‘Remove’ (or ‘Uninstall’) button.
Finding installed applications
Enter your password if prompted, and the application will be uninstalled. Simple!
Read: How to keep Ubuntu clean
Alright, for those of us who like using the terminal (or maybe you need to install something specific not easily found in the Software Center), there’s the powerful `apt` command-line tool. Behind the scenes, the Software Center often uses `apt` anyway! Installing via the terminal gives you more control and feedback.
sudo apt install
Let’s break that down:
sudo
: This stands for “Super User Do.” It tells the system you want to run the command with administrative privileges, which are necessary for installing software system-wide. You’ll always need this for installing or removing packages with `apt`.apt
: This is the command-line package management tool itself.install
: This tells `apt` that you want to install something.
: This is the crucial part – it’s the specific name of the software package you want to install. Finding the correct package name is sometimes the trickiest part (more on that below).For example, let’s say you want to install `synaptic`, a graphical package manager that’s an alternative to the Software Center. The command would be:
sudo apt install synaptic
After you type the command and press Enter, you’ll be asked for your user password. Type it in (you won’t see characters appear, that’s normal for security) and press Enter.
Password prompt in the terminal
Read: How to hide folders and show hidden files in Ubuntu
Next, `apt` will figure out what needs to be installed (including any dependencies – other packages the software relies on). It will show you a list of packages and ask for confirmation, usually saying something like “After this operation, XX MB of additional disk space will be used. Do you want to continue? [Y/n]”. Just press `Y` and Enter to proceed.
Confirming the installation
`apt` will then download and install everything. Once it’s done, the application is ready to use!
Finding the Package Name: If you’re unsure of the exact package name, often the application’s official website or documentation will tell you. You can also try searching the package cache using `apt search ` (e.g., `apt search filezilla`). Getting familiar with finding Ubuntu package names for apt is a useful skill.
Read: How to solve “ubi-partman failed with exit code 10” On ubuntu 18.04
Removing software via the terminal is just as straightforward. The command is very similar to installing:
sudo apt remove
Replace “ with the name of the package you want to uninstall. For example, to remove `synaptic`:
sudo apt remove synaptic
Removing a package with apt
Again, you’ll need to enter your password and likely confirm by pressing `Y`. This command removes the main application files but might leave behind configuration files.
If you want to remove the application *and* its configuration files, you can use `purge` instead of `remove`:
sudo apt purge
If this was your first time using `apt` in the terminal, congrats! It’s a powerful tool and getting comfortable with it opens up a lot of possibilities on Linux.
For more on how to use APT commands, you may want to read our article here.
Sometimes, software developers package their applications as `.deb` files, especially for Debian-based systems like Ubuntu. Think of a `.deb` file as being similar to an `.exe` or `.msi` installer file on Windows. You typically download these directly from the software vendor’s website.
For example, you might download `google-chrome-stable_current_amd64.deb` from Google’s website.
A typical .deb file download
Typically, you’ll grab the `.deb` file directly from the software provider’s site. Once it’s downloaded to your computer (usually your `Downloads` folder), often the simplest installation path involves just double-clicking the file itself. This action usually prompts the Software Center to open, presenting the application details and an ‘Install’ button.
Click “Install,” enter your password, and it should handle the installation for you. This is a convenient way for installing downloaded deb packages on Ubuntu.
Important Considerations:
Removing software installed this way can usually be done just like removing any other app:
PPAs are a popular way for developers to distribute newer versions of their software or applications not yet available in the official Ubuntu repositories. Think of a PPA as a developer’s own mini-repository hosted on Launchpad (Canonical’s software collaboration platform). By adding a PPA to your system, you tell `apt` to look for packages there in addition to the official sources.
This is useful because the official Ubuntu repositories prioritize stability, meaning software versions there might lag behind the latest releases. PPAs offer a way to get bleeding-edge updates, but they come with a small caveat: you need to trust the PPA provider, as they aren’t vetted by Canonical to the same extent as official packages.
Installing from a PPA typically involves three steps in the terminal:
sudo add-apt-repository ppa:
For example, to add a PPA for the Krita painting application (this is just an example, the specific PPA might change):
sudo add-apt-repository ppa:kritalime/ppa
You’ll usually be asked to press Enter to confirm adding the PPA.
sudo apt update
sudo apt install
Using our Krita example:
sudo apt install krita
While powerful, remember to only add PPAs from developers or projects you trust. Adding many PPAs can sometimes lead to dependency conflicts if not managed carefully. Understanding when and how to use Ubuntu PPAs safely is important.
There are also graphical tools available for managing PPAs (like “Y PPA Manager,” though you’d need to install it first), which can help search for, add, and remove PPAs without using the terminal.
Removing software installed from a PPA involves two steps if you also want to stop receiving updates from that PPA:
sudo apt remove
E.g., `sudo apt remove krita`
sudo add-apt-repository --remove ppa:
E.g., `sudo add-apt-repository –remove ppa:kritalime/ppa`
Removing Krita and its PPA
After removing the PPA, it’s a good idea to run `sudo apt update` again.
Read: What you need to do to secure Ubuntu
Alright, let’s talk about building from source – this route is typically taken by folks comfortable with the command line or when needing very specific versions not available elsewhere. It gives you the most control but also requires more technical know-how, patience, and can be time-consuming.
Here’s the general process, though specifics can vary greatly:
./configure
(This script checks your system for dependencies and prepares the build environment. It might have options you can specify.)
make
(This command compiles the source code into executable binaries.)
sudo make install
(This command copies the compiled files to the appropriate system directories, requiring `sudo`.)
Big Downsides:
Unless you have a specific reason, sticking to package managers (`apt`, Software Center, Snaps, Flatpaks) is usually much easier and safer for installing applications from source code on Linux.
Uninstalling software built from source can be messy. Ideally, the developers provided an uninstall target in their build scripts.
sudo make uninstall
If the developers included this target, it *should* remove the files installed by `sudo make install`.
This difficulty in removal is a major reason why using package managers is preferred.
Read: Maximize Ubuntu 24.04 Speed and Efficiency: A Complete Tuning Guide
`dpkg` is the underlying package manager that `apt` actually uses for installing, removing, and managing `.deb` package files. While `apt` is generally preferred because it handles dependency resolution automatically, you can use `dpkg` directly, especially if you’ve already downloaded a `.deb` file.
To install a `.deb` file using `dpkg`, open the terminal, navigate to the directory containing the file (using `cd`), and run:
sudo dpkg -i
Replace “ with the actual name of the file. For example:
sudo dpkg -i google-chrome-stable_current_amd64.deb
Handling Dependencies with dpkg: The main drawback of using `dpkg -i` is that it *won’t* automatically install missing dependencies. If the installation fails due to missing dependencies, you’ll see error messages. A common trick to fix this is to immediately run:
sudo apt --fix-broken install
(Or the older equivalent: `sudo apt-get install -f`)
This command tells `apt` to find and install any missing dependencies needed by partially installed packages (like the one you just tried with `dpkg`).
You can also use `dpkg` to remove packages, but again, `apt remove` is generally easier as it handles dependencies better during removal too. The command to remove using `dpkg` requires the *package name*, not the `.deb` filename:
sudo dpkg -r
(The `-r` stands for remove). If you want to remove configuration files as well, use `-P` (purge):
sudo dpkg -P
If a package configuration is broken, you might try reconfiguring it:
sudo dpkg-reconfigure
While useful to know about, most users will find `apt` a more convenient front-end for managing packages than using dpkg commands for package installation directly.
Read: How to Resolve the Sub-process /usr/bin/dpkg returned an error code 1 Error in Ubuntu
Synaptic is a graphical package manager that provides a more detailed and powerful interface than the standard Ubuntu Software Center, while still being user-friendly. It gives you fine-grained control over packages, repositories, and dependencies, closer to what `apt` offers on the command line, but visually.
If it’s not installed by default (it often isn’t on newer Ubuntu versions), you can easily install it using the terminal:
sudo apt install synaptic
Installing Synaptic
Remember to confirm with `Y` if prompted.
Once installed, search for “Synaptic Package Manager” in your application menu and launch it. You’ll need to enter your password as it requires administrative privileges.
The Synaptic Package Manager interface
Inside Synaptic:
Synaptic is a fantastic tool for users who want more visibility and control than the Software Center offers but prefer a graphical interface over the pure command line. It’s excellent for managing packages visually with Synaptic on Ubuntu.
Snaps are a newer packaging format developed by Canonical (the makers of Ubuntu). The idea behind Snaps is to create self-contained application packages that bundle the app *and* most of its dependencies together. This means a Snap package should theoretically run on any Linux distribution that supports Snaps, regardless of the system’s underlying libraries.
Snaps are designed to be secure, running in a sandboxed environment with restricted permissions. They also update automatically in the background (though this can be configured).
On most recent Ubuntu versions, the Snap daemon (`snapd`) is already installed. If you’re on an older version or a different distro, you might need to install it first:
sudo apt update
sudo apt install snapd
Once `snapd` is running, you can install Snap applications using the `snap` command in the terminal:
sudo snap install
For example, to install the Spotify client snap:
sudo snap install spotify
You can find available Snaps by searching the Snap Store (snapcraft.io) online or using `snap find ` in the terminal.
To remove a Snap package:
sudo snap remove
Snaps offer a convenient way to get the latest versions of applications directly from developers, often bypassing the need for PPAs, especially for popular cross-platform apps. Understanding how to install and manage Snap packages on Linux is increasingly important.
Flatpak is another popular universal packaging system for Linux, similar in concept to Snaps. Developed primarily by folks associated with Red Hat and the GNOME project, Flatpak also aims to bundle applications with their dependencies to run across different distributions. It also uses sandboxing for security.
You might need to install Flatpak support first. On recent Ubuntu versions, you can install the core Flatpak system with:
sudo apt install flatpak
Installing Flatpak support
For older Ubuntu versions, you might need to add the official Flatpak PPA first (check the official Flatpak setup guide for Ubuntu for specifics):
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak
To make Flatpak apps integrate nicely with the Ubuntu Software Center (specifically, the GNOME Software version often used), you can install the plugin:
sudo apt install gnome-software-plugin-flatpak
After installing the plugin, you might need to restart your computer or at least log out and back in.
Flatpak applications are typically hosted on repositories, the main one being Flathub (flathub.org). You usually need to add the Flathub repository to your system first:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Once set up, you can install Flatpak apps using the terminal:
flatpak install flathub
(You’ll find the `application_id` on the Flathub website, e.g., `org.gimp.GIMP` for GIMP).
Alternatively, if you installed the software center plugin, you can often download a `.flatpakref` file from Flathub and open it with the Software Center to install graphically.
To remove a Flatpak app:
flatpak uninstall
Flatpak provides another excellent avenue for getting applications, particularly desktop-focused ones, across different Linux distributions. Learning how to use Flatpak on Ubuntu gives you more software choices.
For more detailed setup instructions, check the official guide: https://flatpak.org/setup/Ubuntu/
Wow, that’s quite a few ways to install and remove software on Ubuntu! As you can see, you have options ranging from the super simple graphical Software Center to the powerful command-line tools like apt
, and even universal formats like Snaps and Flatpaks.
For beginners, sticking to the Ubuntu Software Center or using basic apt commands (sudo apt install
, sudo apt remove
) is usually the easiest and safest route. Using .deb files downloaded from trusted sources is also quite common and user-friendly.
PPAs offer access to newer software but require a bit more caution regarding the source.
Snaps and Flatpaks are fantastic modern options providing easy access to lots of apps, often directly from the developers, and work across different Linux distros.
Building from source code and using dpkg directly are generally more advanced techniques, best reserved for specific situations where other methods aren’t suitable.
There are even more specialized tools we didn’t cover in depth, like:
Choosing the right method depends on the software you need, where it’s available, and your comfort level. Don’t be afraid to try the terminal – `apt` is incredibly powerful once you get the hang of it!
If you’re curious about the technical differences between Snaps, Flatpaks, and another format called AppImage, this comparison chart is quite informative:
Comparison Link: https://github.com/AppImage/AppImageKit/wiki/Similar-projects#comparison
Courtesy: AppImage GitHub Wiki
Courtesy: AppImage GitHub Wiki
It’s hard to believe that the first KubeCon took place nearly 10 years ago. Back…
Welcome to the first quarterly roundup on the State of Silicon and Devices by Canonical. …
Organizations are racing to harness the transformative power of AI, but sensitive data privacy and…
In this article, we will see how to install a specific version of llvm on…
The Ubuntu team is pleased to announce the Beta release of the Ubuntu 25.04 Desktop,…
The latest report from the International Data Corporation (IDC) co-sponsored by Canonical and Google Cloud…