Hot answers tagged

133 votes

Problem installing .deb in Software Install Ubuntu 20.04

If you are using firefox, and opted to download and open the file with Software Install, what has likely occurred is the file has been downloaded into the /tmp/mozilla_userX directory, from which the ...
user avatar
  • 1,331
60 votes

Problem with .deb packages on Ubuntu 16.04

This is bug #1573026. Make sure you click the "this affects me too". This bug has now been fixed upstream. Hopefully an update will be issued promptly. What are the workarounds? You can use the ...
user avatar
  • 1,010
59 votes

How to uninstall a .deb package?

Every solution here assumes you know or can find the name of the package, but none provide how to remove a package if all you have is the deb. To that end, the below command will extract the package ...
user avatar
  • 1,274
58 votes
Accepted

If a package is available as both a deb and a snap, which method is preferrable?

Generally speaking, I would say you should stay with DEB for most applications that rely on system libraries. This has the advantage that if you update this one library e.g. for security reasons, all ...
user avatar
  • 9,605
42 votes

AnyDesk doesn’t work after upgrading to Ubuntu 22.04 LTS

I followed this guide and got it to work. Essentially, you need to download and install libpangox manually with: wget http://ftp.us.debian.org/debian/pool/main/p/pangox-compat/libpangox-1.0-0_0.0.2-5....
user avatar
  • 896
35 votes
Accepted

What security differences are between click and .deb package?

Note: I work on the Ubuntu security team and helped design the application confinement story for Ubuntu. I reworded the questions for clarity. Q: "Will click packages be safer with regard to the ...
user avatar
  • 1,698
35 votes

Problem installing .deb in Software Install Ubuntu 20.04

If you're looking for a reliable GUI way to install .deb files, use gdebi. To see if you already have it installed on your system... dpkg -l gdebi | grep ii If it's not there, install it this way... ...
user avatar
  • 62.7k
28 votes
Accepted

Problems installing Slack desktop

I have found myself with the same problem. I solved by removing by hand the slack package, which is just some admin tool. If your are on the directory you downloaded the package, this should do the ...
user avatar
27 votes

Why am I getting "Command 'deb' not found"?

Like the answer by @Eric Carvalho deb is not command line If you have deb then url like this: deb http://download.virtualbox.org/virtualbox/debian trusty contrib Edit Like commit of @muru, you ...
user avatar
26 votes

Why am I getting "Command 'deb' not found"?

deb is not a unix command. If you have a line like the following (source for docker): deb https://apt.dockerproject.org/repo ubuntu-xenial main it is a line that must be available in your ubuntu ...
user avatar
  • 663
26 votes

If a package is available as both a deb and a snap, which method is preferrable?

One of the main disadvantages of snaps is the much more space needed since every software has its own dependencies in it while deb packages use shared dependencies across the system, with a much ...
user avatar
23 votes
Accepted

Why are there deb files in /var/cache/apt/archives/?

Background Information There are two things in Ubuntu (and in Debian, on which Ubuntu is based) that are commonly called "the package manager": dpkg, and APT. dpkg is a program that installs ...
user avatar
22 votes
Accepted

What is the Snap packaging format?

Why did Canonical chose snaps? To quote the Ubuntu website: We originally created the snappy technology and application confinement system to ensure a carrier-grade update experience for ...
user avatar
21 votes

How to download and install a .deb file

The package seems to be unavailable, but, very basically, here it is: Go to the site you would like to download from Download the *.deb file here Go to the directory where you saved (Most likely the ...
user avatar
21 votes
Accepted

dpkg-buildpackage: dpkg-source: no upstream tarball found

I referred this blog and did the trick. solution found from this forum This command got fix my issue. dpkg-buildpackage -b -rfakeroot -us -uc
user avatar
  • 419
20 votes
Accepted

How to install a .deb file in Ubuntu-Touch?

While technically you can download a .deb and install it, it's probably not a good idea in many instances. You need to make the phone read-write (it ships read-only by default) which is not a good ...
user avatar
  • 19k
20 votes
Accepted

how to upgrade python setuptools > 12.2 on ubuntu 15.04

Remove the repository version sudo apt-get remove python-setuptools If necessary, install pip again wget https://bootstrap.pypa.io/get-pip.py sudo -H python get-pip.py Install setuptools via pip ...
user avatar
  • 86.2k
18 votes
Accepted

gdebi vs dpkg : How does gdebi automatically gets missing dependancies ? Can I use gdebi for all other installations of .deb packages?

Actually gdebi is just a front-end to the dpkg with added functionality that it can check for dependency packages in the repositories and can install them in one-operation, while dpkg -i requires two ...
user avatar
  • 73.8k
17 votes

Why am I getting "Command 'deb' not found"?

On Ubuntu, you don't have to manually edit the source.list to add the repository. Instead, you can use add-apt-repository, as you would do for a PPA. For example, to add the LLVM repository, you can ...
user avatar
17 votes

How can I download deb from a PPA?

This is an example to download a deb file. This can be done. But it need not be, if you add a PPA to the system. e.g.: sudo apt-add-repository ppa:inkscape.dev/stable But let's go on with the example ...
user avatar
  • 86.2k
13 votes
Accepted

How do I update a program installed from a manually-downloaded deb package?

A better solution would be to add the oracle virtualbox ppa as described here Add the following line to your /etc/apt/sources.list: deb http://download.virtualbox.org/virtualbox/debian xenial ...
user avatar
  • 9,605
13 votes

What is a post-installation script for a package?

The name of the script itself says what it does. It means that the script contains commands to be executed after installation is complete. Let's understand it in a better way through an example: ...
user avatar
  • 5,202
12 votes

Problem with .deb packages on Ubuntu 16.04

All .deb files which you manually install are considered to come from 'third party' locations where the system cannot verify the license on the software. The Google Chrome installer as such ...
user avatar
  • 68.3k
12 votes

What is the Snap packaging format?

As an overview, as far as I understand snaps: Snaps are more secure. Running in own "containers". It's much more easy to handle with snaps than with deb packages. In the future, snaps will be the ...
user avatar
12 votes
Accepted

How do snaps work exactly and why are they mounted?

Snap packages are squashfs file systems. The only way to access snaps is to mount them. So yes, they will always be mounted. They are a different thing from what traditional package managers ...
user avatar
  • 39.4k
12 votes

Unable to Install Viber due to missing libssl1.0.0 package

for all the people out there who do not like to install the flatpak version and want to stick to the deb version, there is another way: since new versions of Ubuntu are shipped with libssl1.1 or have ...
user avatar
  • 343
12 votes

Problem installing .deb in Software Install Ubuntu 20.04

I'm experiencing the same problem, but if in the browser I choose "Save file" rather than "Open with: Software Install", then right click the saved file and open with Software Install, it works (it ...
user avatar
  • 42
12 votes
Accepted

Is it possible to avoid Firefox as Snap installation and keep deb-version on Ubuntu 21.10 flavor?

Update 20220203 - the bug 1947501 is fixed since 20211103. So all you need is to run the below commands: sudo snap remove firefox sudo apt-get install --reinstall firefox If you need historic ...
user avatar
  • 90.6k
12 votes

Installed .deb package won't run because there's a snap version of the package with the same name

You installed some bbk-cli package, and appear to expect that that will give you an executable of the same name, installed in one of the directories of your path. That is not necessarily the case, and ...
user avatar
  • 66.6k
11 votes

Why am I getting "Command 'deb' not found"?

Deb isn't actually a command (I thought so too, at first) -- Assuming you are trying to download/install a deb, do this (for example): wget http://whatever.com/whatever.deb then dpkg -i whatever....
user avatar
  • 266

Only top scored, non community-wiki answers of a minimum length are eligible