Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to Uninstall Software in Ubuntu 18.04 using Terminal

by | Dec 28, 2020

Need to uninstall software in Ubuntu 18.04 using terminal?

how to uninstall software in Ubuntu 18.04 using terminal

At Bobcares, we often handle requests from our customers to uninstall software in Ubuntu 18.04 as a part of our Server Management Services.

Today let’s see how our Support Engineers get this done using the terminal.


Methods used to uninstall software in Ubuntu 18.04 

Uninstalling software in Ubuntu 18.04 using a terminal can be done with several techniques.

Let’s see some methods used by our Support Techs

1.  Apt (apt-get)
2.  Synaptic
3.  DPKG
4.  Source
6.  Git
7. Snapd
8. Ubuntu Software Manager
9. Flatpak

Each of these methods has specific methods to uninstall software.

1. Apt Uninstall

First, we need to find the Installed Software list.

We can use the apt or dpkg command to get a list of all installed packages

Give the following command in the terminal and press “Enter”.

$ apt list --installed
$ apt-cache search packagename


$ dpkg --list

Then we have to copy the name of the software we wish to uninstall from the list displayed.

And type in one of the following commands.

$ apt remove package_name
$ apt remove package_name_1 package_name_2
$ apt purge package_name


Autoremove using apt

If we need to remove any dependencies such as the applications and libraries used by the software which was installed and is no longer in use, we can use the following:

$ sudo apt-get autoremove


Uninstall Using a PPA

To uninstall Software installed using PPA, we can use the following two commands.

$ apt-get remove numix-gtk-theme numix-icon-theme-circle
$ add-apt-repository --remove ppa:numix/ppa

The first command removes the software installed via the PPA.

And the second command removes the PPA from the sources list.


2. Synaptic Uninstall

To uninstall software using synaptic, we would open Synaptic, scroll through the list of installed applications, click on the software to highlight it, then right-click and select Mark for Removal, and finally click Apply.

Usually, this will uninstall the software, but leave the configuration files intact.

To delete the associated configuration files along with the software, select Mark for Complete Removal instead.

[Need assistance? We can help you!]


3. DPKG Uninstall

First, to list software installed via dpkg, use one of these commands.

$ dpkg ––list
$ dpkg–query –l | less

Then we have to copy the name of the software we wish to uninstall from the list displayed.

$ dpkg–query –l | grep package_name
$ dpkg–query –l | grep *partial_name*
$ dpkg --remove packagename.


4. Source Uninstall

We will be able to uninstall the program by going to its extracted directory and using this command:

$ sudo make uninstall


5. Git Uninstall

Generally, some form of a non-standard prefix is used while configuring so that the package will be installed under a specific hierarchy, (e.g. like under /opt/git/software/).

To remove the software we can recursively delete that folder’s hierarchy.

[Need assistance? We can help you!]


6. Snap Uninstall

Snap is usually an easy method to install or uninstall software.

We can use the following commands to locate and then remove the software.

$ snap list
$ snap remove software


7. Ubuntu Software Manager Uninstall

To uninstall software using the Ubuntu Software Manager we can follow the steps given below:

1. First click on the icon in the Activities toolbar.

2. Then search for, install and uninstall software.

3. After that from the list of applications, click the software we want to uninstall, and then click the Remove button to uninstall it.


8. Flatpak Uninstall

Uninstallation option in flatpak can be used for uninstalling software.

The following commands along with the application id can be given to remove the installed Flatpak software.

$ flatpak search
$ flatpak list
$ flatpak uninstall

[Need assistance? We can help you!]



To conclude, we saw how to uninstall software in Ubuntu 18.04 using the terminal. Also, we saw the different methods used by our Support Engineers to uninstall software in Ubuntu.



Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.