Uninstall apps/packages in Ubuntu

Ubuntu Version: Ubuntu 24.04.2 LTS

Desktop Environment (if applicable):Budgie

Problem Description: Uninstalling application - do not know how to do that .

Relevant System Information:

Screenshots or Error Messages:

What I’ve Tried:


I am not familiar very well yet with commands for install and uninstall apps . Is there any good reference page for that similar to this one. In here are not all commands used and useful during installation and uninstallation in Debian/ Ubuntu :

What application do you want to uninstall?

If you have it installed as a deb:

sudo apt purge <deb package name>

If you have it installed as a snap:

sudo snap remove <snap name>

If you have it installed as a flatpak:

flatpak uninstall <application ID>

Thank you for your reply .

I have not noticed on a distributor web page :

https://bisq.network/downloads/

that there is a newer version 2 of the app and I have downloaded an older version 1 . This is deb. package .

I try to uninstall with : sudo apt puge Bisq
but it looks like it does not see the package. I do not understand why . :

sudo apt purge Bisq

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package Bisq

See also the man pages.

man apt

In man apt, note difference with remove & purge.
Remove just removes the program but keeps your configurations in /home, usually small
Purge removes everything

To be brief:

Package management on Ubuntu is (essentially) about apt, snap and flatpak (CLIs)

apt is the major package manager on Ubuntu.

For docs on apt, I’d go here first as it has the nice table up front with the commands that are used these days. A lot of docs (about apt) describe everything in terms of the older syntax (e.g. apt-get) and it is not necessary to know the old syntax.

For snap and flatpak, the man pages are enough to get started.

honorable mention goes to aptitude. It’s a CLI that takes care of some of the problematic issues that one can run into Re: apt. aptitude is well worth the time to learn and (again) the man page is a very good place to start learning about it.

Then there are the gui’s e.g. synaptic and plasma-discover

synaptic is the first GUI I’d show someone because it is an apt wrapper and it helps to tie the apt functions together, and order the steps. It’s not the most intuitive interface in my view, but, it’s not bad.

Most of the docs about synaptic are somewhat dated, but, the synaptic howto is ok.

Some of the Ubuntu flavors do not have synaptic installed by default.

sudo apt install synaptic

and finally, plasma-discover. It tries to wrap apt, snap and flatpak. But, this requires all of the backends to be installed properly and it has tendrils into many parts of the system. If it’s working it’s great, because it has a simple interface that is intuitive, but, I found it can fall apart very quickly mostly due to asynchronous maintenance of the various parts.

Please run this command and show us the output:
dpkg -l | grep -i bisq

dpkg -l | grep -i bisq
ii bisq 1.9.19-1 amd64 A decentralized bitcoin exchange network.

This is a command for terminal ,right ?

If so what it does ?

The package is still installed. Remember, in package management Linux is case sensitive.

sudo apt purge Bisq should actually be sudo apt purge bisq

The question is do you want to only remove the program or also all configuration files?

If the latter, then purge is correct to use. If not, then use remove in the command.

Thank you for all useful info .

Success :slight_smile: . It works.

I see . So the problem was that I’ve used sudo apt purge Bisq instead of bisq .

Straight away I can install the new version of this app now or I should restart computer maybe first ?
… or it is not necessary to restart ?

Glad you resolved it :slight_smile:

Yes, should have been bisq. As I said, Linux is case sensitive.

Please mark post 8 with the Solution so others know to find it if they have similar issues.

I do not know the package but unless system files are involved you usually do not need to restart and can simply add the latest version as you did before.

Let me please ask one more question :
I would have one more issue - now with specific installation of this app :

https://bisq.network/downloads/

Up to now it is not that easy to get an answer on Bisq forum : https://bisq.community compare to like it is here on Ubuntu Discourse. Probably not many members yet and maybe it is not so extensive .

The problem I experinece is how to make all right with the installation of the .deb file .
The first step it is to install the package which should be straight forward for me to do but then they mention in this video : https://youtu.be/dTfM4AsxNHY
the public key should be downloaded too .This part I am not sure yet how to do .
Is it just the same way as the Bisq installer file is installed and then when this is done do the same with Key file ?

All the instructions you need seem to be here:
https://bisq.wiki/Downloading_and_installing

Includes information on how to verify the package using GPG keys.

The instruction mentions version 2.1.2 .
On this page : https://bisq.network/downloads/
is a newer version 2.1.6 , PGP Signature and PGP Public Key .
Both PGP Signature and Key I do not have a glue how to install .
Unfortunately the instruction do not mean much to me - I do not understand what I supposed to do with that PGPs.

I’m going to ask a little trust from you, and from that page use:

  cd Downloads && wget https://github.com/bisq-network/bisq2/releases/download/v2.1.6/Bisq-2.1.6.deb https://github.com/bisq-network/bisq2/releases/download/v2.1.6/Bisq-2.1.6.deb.asc

Check the PGP Sig:

 gpg --verify Bisq-2.1.6.deb.asc 

Youi might see something like this:

gpg: Signature made Sun 09 Feb 2025 05:38:34 PM MST
gpg:                using RSA key B493319106CC3D1F252E19CBF806F422E222AA02
gpg: Can't check signature: No public key

Your adding the key means you trust it ie:

 gpg --keyserver pgp.mit.edu --recv-key B493319106CC3D1F252E19CBF806F422E222AA02

If your happy then proceed to install:

sudo dpkg -i Bisq-2.1.6.deb

That will leave you with:

dpkg: error processing package bisq2 (--install):
 dependency problems - leaving unconfigured

To fix that run:

sudo apt -f install

That should do it as far as the install goes.

 apt policy bisq2
bisq2:
  Installed: 2.1.6-1
  Candidate: 2.1.6-1
  Version table:
 *** 2.1.6-1 100
        100 /var/lib/dpkg/status

1 Like

Thank you for your reply . Appreciate that you found some time to try to explain it to me .

First problem I have :

I know how to download to my computer the main installer package and install it on the computer via terminal .The same way I download the PGP Signature to the computer but then I do not know how to transfer it to the terminal ?

Let me try to explain my way of thinking :
I download the main installation file of this app. It is in the folder now on my computer and I can see it . I right click on the empty field beside this folder and I chose open in terminal. Then I download it in terminal .
Then I download the PGP Signature which will end up in the same directory - the same place . My question is now how to transfer this to terminal ?
When I repeat the above process will the system now know that I want to transfer this PGP to terminal ? … because I right click in the empty field were are two folders now.
In other words how the system will now at this point that I want to download the PGP file and not the main installer ?
Will it now that the installer file was already downloaded and now I want to download the second file the PGP Signature file which was not transfer yet to terminal ?

… also the question is can I download two files first and then transfer it to terminal ? :

image

or I should first download installer , transfer it to terminal and then download the PGP Signature and then transfer it to terminal ?

@molar, you are making this more complicated than it needs to be :slight_smile:

@1fallen has given you the easiest steps possible to do what you want to install the program.

Please try the steps in that post. There are commands to download the correct file, check the GPG signature, install the package.

Follow those steps and all should be good. It was tested to make sure it works but if for some reason something goes wrong, come back and ask.

1 Like

Please be aware that my knowledge of Linux packages installation is on basic level .
In other words please imagine you try to explain it to a child in children garden .

I am not sure what I suppose do do with that ? :