HomeHow ToHow to Uninstall a Package on Ubuntu (GUI & Terminal)

How to Uninstall a Package on Ubuntu (GUI & Terminal)

Ubuntu is one of the widely used Linux distributions. Many people, including me, started my Linux journey with it. It is one of the best Linux operating systems for familiarizing yourself with the Linux environment, and the easy-to-use user interface plays a huge role.

If you have freshly installed Ubuntu, you might have noticed that it has a lot of additional packages installed that might not be useful for everyone.

PS: The word ‘package’ in this article is very similar to the software/app we usually refer to while using Windows.

So let’s talk about removing the packages on Ubuntu, whether they were pre-installed or you installed them yourself and no longer needed them. We have several options to do the same, starting with the easiest one.

Ways to Uninstall a Package on Ubuntu | GUI & Terminal

1. Uninstall Ubuntu Packages using Synaptic Package Manager via GUI

Ubuntu Software Center was discontinued long ago and hence will not be covered in this tutorial. The best alternative is Synaptic Package Manager, which is not pre-installed, so we must install it first.

  1. Open Terminal.
  2. Type
sudo apt install synaptic
Sudo Apt Install Synaptic
  1. Enter the password if prompted, and then type ‘y’ to confirm the installation.
  2. Open the App Drawer from the bottom-left corner of the screen.
Ubuntu Desktop
  1. Search for the synaptic package manager and open it.
Ubuntu App Drawer
  1. Enter password when prompted.
Synaptic Package Manager Authentication
  1. Search for the package you want to uninstall.
Synaptic Package Manager - Transmission
  1. Right-click and select “Mark for Complete Remove.” Click Apply to execute the action.
Synaptic Package Manager - Mark For Complete Removal
  1. Confirm the action again and wait for it to complete.
Synaptic Package Manager - Apply Successful

2. Uninstall Ubuntu Packages with apt or apt-get via Terminal

Apt or apt-get is one of the best package managers for Ubuntu and is pre-installed. Generally, you can use both apt and apt, but we prefer apt over apt-get.

  1. Open the terminal.
  2. Type
sudo apt remove {package-name}

Replace {package-name} with the package name that you want to uninstall.
In this case, we are uninstalling transmission.

  1. You will likely be prompted to enter the password since we are using sudo unless you have entered it earlier in the present terminal session.
  2. Type y and press enter when prompted for confirmation.
Sudo Apt Remove Transmission
  1. The package has now been removed from your system.

3. Uninstall Ubuntu Packages using dpkg via Terminal

dpkg is also pre-installed on Ubuntu systems and can be used to manage packages. Follow the process below to uninstall a package using dpkg on Ubuntu:

  1. Type
sudo dpkg -r {package-name}
  1. Type the password if prompted for sudo privileges.
Sudo Dpkg -R Transmission

4. Uninstall Ubuntu Packages with snap via Terminal

snap also comes pre-installed with Ubuntu. Here are the steps to follow:

  1. Type
sudo snap remove {package-name}
  1. Type the password when prompted and wait for the process to finish.
Sudo Snap Remove Firefox

One thing we noticed while using snap is that not all the packages are listed there. We wanted to uninstall the transmission, but it was not listed there. You can check all the packages that can be uninstalled using snap.


Protect Your Online Privacy With Surfshark
[The VPN that we use here at Tech Arrival]


sudo snap list
Sudo Snap List

How to Remove Unnecessary Dependencies via Terminal

Many packages are dependent on several other packages to function correctly. But when you remove that package, those extra packages installed on your system will remain and consume space.

  • Use the following command to get rid of all the unnecessary dependencies :
sudo apt autoremove -y
Sudo Apt Autoremove

Also read: How to Deploy Laravel to Production Server on Ubuntu with GitHub

So that was all. Although we have mentioned various methods in this tutorial, we highly recommend sticking with apt for package management. If you have any questions, let us know in the comment section below.


“As an Amazon Associate & Affiliate Partners of several other brands we earn from qualifying purchases.” [Read More Here]


Leave a Comment

Please enter your comment!
Please enter your name here


By submitting the above comment form, you agree to our Privacy Policy and agree with the storage and handling of your data by this website.


Stay Connected

Subscribe to our Newsletter

Stay updated with all the latest news, offers and special announcements.

By signing up, you agree to our Privacy Policy and agree with the storage and handling of your data by this website.

Latest Posts

How to Monitor the Raspberry Pi’s Temperature

Raspberry Pi has gotten very powerful over the years, especially with the launch of Raspberry Pi 5. Putting things in perspective, currently, we are...

Understanding YouTube Monetization | What Do You Need to Know

Do you want your captivating content on YouTube to turn into real income? Then look no further! We have just the guide here for...

What Are The Advantages & Disadvantages Of Android TV

In today's technological age, Android TVs are all the rage. Based on the Android ecosystem, Android TVs offer a range of features and functionalities....

How to Disable IPv6 Permanently on Raspberry Pi

On paper, IPv6 is a great thing because there are 340 undecillion addresses available, and it can be allocated uniquely to every device connected...

How to Setup Watchdog on Raspberry Pi

If you are someone who has set always-on Raspberry Pi at a remote location, then you might relate to the problems mentioned below: Raspberry Pi...

All Time Favorites

11 Best WiFi Hacking Apps for Android (2023)

Today, almost anywhere we go, we are surrounded by tons of WiFi Networks, whether at our homes, hotels, workplaces, or even public places like...

17 Best Illegal Android Apps Not on Play Store (2023)

Google Play Store has the most extensive collection of apps for Android. Almost everyone downloads apps from the Play Store. However, certain genuinely excellent...

15 Best Game Hacking Apps for Android (2023)

Are you a mobile gamer? If you are, then you've come to the right place. This post will tell you about the Best Game...

How to Download Torrent Files with IDM (Torrent to IDM)

Hey guys, you may all have heard about different ways to download torrent files. And some of you may also have downloaded them using...

11 Best Download Managers for Windows

The Internet is a vast resource of a lot of things which includes music, videos, movies and a lot of other things. The ability...