


That will list all the dependencies required to install the b file. Let's dive in.ĪLSO READ: How to install Minecraft on Ubuntu? Method-2: Install DEB package With DPKGĪlternatively, you can avoid any dependency errors by first checking for the dependencies required by the package and install them first You can do so by executing the command below. This post will give you a detailed guide to installing. Luckily, it's not hard as you would think. "Unfortunately, Kali Linux doesn't have the software centre installed by default, and you will have to install the. deb file, you will right-click on the file and select the option "install with software centre. The software centre is a utility where users can find, download and install software graphically. Installing Deb files on Debian-based distributions like Ubuntu and Debian distribution can be easy since these operating systems come with the software centre. deb file) and installing it on your system. The other way is downloading the installer file (usually the. You can use the Terminal method, where you will use the apt package manager or other distribution-independent package platforms like Snap, AppImage, and FlatPak. There are two ways you can use to install software on your Kali Linux system. The sudo apt-get install -f command tries to fix this broken package by installing the missing dependency.Introduction - Install DEB package on Kali Linux

When dpkg installs a package and a package dependency is not satisfied, it leaves the package in an "unconfigured" state and that package is considered broken. Why use sudo apt-get install -f after sudo dpkg -i /path/to/deb/file (as mentioned in method 1)?įix attempt to correct a system with broken dependencies in place. All these methods will fail to satisfy the software dependency if the dependencies required by the deb is not present in the package index. Note: APT maintains the package index which is a database ( /var/cache/apt/*.bin) of available packages available in repo defined in /etc/apt/sources.list file and in the /etc/apt/ directory. deb file using it ( Right-click -> Open with). For both, after executing this command, it will automatically download its dependencies.įirst installing gdebi and then opening your. With old apt-get versions you must first move your deb file to Once the download is finished it calls dpkg to install all those files, satisfying all the dependencies. When you install a package using apt, it first creates a list of all the dependencies and downloads it from the repository.

When you use apt to install a package, under the hood it uses dpkg.
