How to install DEB

I have downloaded a program as a DEB package and would like to install it. How does this work in ZorinOS?

Just click on it or write in terminal

sudo dpkg -i filename.deb

1 Like

Double click the package and the installer will open . You may see a warning so make sure you trust the package source. If there are no package dependency issues it will install.


[sudo] Passwort für:
Vormals nicht ausgewähltes Paket sfizz wird gewählt.
(Lese Datenbank ... 279320 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../sfizz_1.2.1-0_amd64.deb ...
Entpacken von sfizz (1.2.1-0) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von sfizz:
sfizz hängt ab von libxcb-cursor0 (>= 0.0.99); aber:
Paket libxcb-cursor0 ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes sfizz (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:

Try install this first

1 Like

Can you run this command and share output:

sudo dpkg --configure -a

this one works for me well

sudo apt install /path/to/file.deb

I have a deb file named my-app.deb in my Downloads folder so my command will be
sudo apt install ~/Downloads/my-app.deb

1 Like

The output is nothing.

sudo apt-get install libxcb-cursor0

sudo dpkg -i sfizz_1.2.1-0.deb

Make sure you are in the directory containing the "sfizz_1.2.1-0.deb" file or provide the full path to the file.


the most straightforward way is how other people have already mentioned here: double-click on the file, it will open on the software store and install it from there

It should usually work, but the software store on Z16 can be kinda unstable at times, so if it doesn't work you could try other methods said here, like the terminal command said by Inzingor

I personally go the gdebi route for installing apps as .deb files

sudo apt update && sudo apt install gdebi

then right click on the .deb file, open with gdebi and press the install button once it finishes loading

Just a note to all helpers:

I believe that the issue the O.P. is having is that the .deb package he is installing is missing dependencies. So double clicking or using sudo dpkg -i are accurate answers, but won't address the Dependency that is needed.
@marko94 and @Inzingor have both suggested installing the missing dependency.

Be wary of whether that leads to another missing dependency... :stuck_out_tongue:

@ElAchim, if you state which .deb package you are installing, we may be able to address all missing dependencies in one post.

(I also recommend gdebi as it is informative and has extra features to help.)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.