A package can also be installed after downloading from internet. This post discuss about installing downloaded package on Ubuntu/Debian. In this post i will be using Beyond Compare as example.
- Download the required .deb package.
- Double-click the .deb package to install using the graphical package manager.
GDebi is a dedicated program for installing Debian executable files. It is extremely lightweight and focused on installing .deb files.
The best thing about GDebi package installer is that it also shows the dependencies that will be installed along with the desired program. At times, it will install the dependencies along with the DEB package. To install GDebi run below command
sudo apt install gdebi
Now that you have installed Gdebi, you can use it to install deb packages.
- Just right click on the download deb file and select GDebi.
- Select required option afterward.
- Download the package
- Update the system package
sudo apt update
- Install the download package
sudo apt install ./bcompare-184.108.40.206483_amd64.deb
- Error: couldn’t be accessed by user ‘_apt’. – pkgAcquire::Run (13: Permission denied)
They suggest running the following command:
sudo chown _apt /var/lib/update-notifier/package-data-downloads/partial/
- Error: Download is performed unsandboxed as root as file
_aptuser does not have access to the downloaded apt file. This is often due to the fact that the
Downloadsfolder is by-default inside the
/home/userfolder and that folder is by-default non-readable by others. Just move
/tmpfor example, and install from there: you will get rid of that warning.