

The above commands apt, dpkg and gdebi help us to install Debian packages on Debian, Ubuntu, and LinuxMint distributions.Packages are manually installed via the dpkg command (Debian Package Management System). We have seen in this guide how to install Debian (.deb) packages on Debian 11 Linux distribution. Install local Debian packages using the following gdebi command: $ sudo gdebi libappindicator3-1_0.4.92-7_b So, first, install gdebi by using the following command: $ sudo apt install gdebi The gdebi is not a default command-line tool. It installs the package’s dependencies during the software installation. Gdebi is another command-line tool used to install local Debian packages. Use the following command to resolve the broken dependencies error: $ sudo apt-get install -f Method 3: Install Debian Packages using the Gdebi command

If you receive an error after installing a package on the Debian system then, using the ‘-f’ flag with the ‘dpkg’ command this error can be resolved. Use the ‘i’ flag with the dpkg command to install Debian packages on Debian 11 system. It only installs the downloaded packages. Dpkg does not install packages from remote addresses. Unlike apt package manager, it does not download and install packages along with all dependencies. It is also used to manage, upgrade, and remove packages from Debian and its other derivatives such as LinuxMint and Ubuntu.

Method 2: Install Debian Packages using dpkgĭpkg is another command line package manager used to install Debian packages. So, if we want to install a local Debian package (.deb), it is necessary to specify the. Apt command retrieves the package information from the ‘/etc/apt/sources.list’ file and installs the package using the package name. It only installs the primary name packages such as MongoDB, apcahe2, etc. The apt command does not install “.deb” packages directly. The default command-line tool, Apt (Advanced packaging tool) is used to install new packages, update an existing package, upgrade and remove certain packages from Debian, Ubuntu, and LinuxMint distributions. The following methods are available to install Debian (.deb) packages on Debian 11 system: Method 1: Install Debian packages using Apt In this tutorial, we will go through how to install Debian (.deb) packages in Debian 11 distribution using the command line. There are some useful commands are available in Linux that facilitate users to install local Debian (.deb) packages. deb file of required software, they do not know how can install it on the Debian system. Most users feel difficult in installing the local Debian (.deb) packages on your Linux system.
