How To Install Deb Package In Kali Linux

Posted on by admin
  1. How To Install Deb Package In Kali Linux
  2. How To Install Debian Package In Kali Linux
  3. How To Install .deb File In Kali Linux 2.0

Every Linux distribution based on Debian uses Debian packages as a method for installing and uninstalling the software. Debian packages are identified by the file extension .deb. They can be installed and uninstalled using graphical tools and the command line.

Sportacus games lazy town free online. When it comes to penetration testing, hacking and offensive distros, one of the first to be mentioned is Kali Linux. It is based on Debian and is available in 32-bit and 64-bit editions. Today we take a look at installing Kali Linux. We will look at using the entire disk and installing alongside Windows. Well, as Kali is derived from Debian, you could try downloading the.deb file of interest and seeing if you can use dpkg -i to install it. This is assuming that the Kali repos don't already have the package you want already, in which case just use apt-get to install it like you would any other Kali package. How To Change Desktop Of Kali. Hello Friends, I’m using Kali Linux from 3-4 Months I’m thinking to change the Appearance of my Desktop Because I’m bored using the same interface now it’s time to update to new Theme/Template, I have been changing Wallpapers only but I’m thinking to change it completely to have a new experience and interface.

Why Install a .deb File Manually

Most of the time you use a package manager such as the Ubuntu Software Center, Synaptic, or Muon to install the software in Debian-based distributions. If you prefer to use the command line, you are likely to use apt-get.

Some applications aren't available in the repositories and have to be downloaded from the vendors' websites. Be careful about downloading and installing Debian packages from sources that do not exist in the distribution's repositories.

Some of the biggest applications are delivered in this format, including Google's Chrome web browser. For this reason, it is important to know how to install the packages manually.

Where to Get a .deb File

For demonstration purposes, you need a .deb file to install.

This example uses the .deb file for a QR Code Creator. A QR code is one of those funny-looking symbols you see just about everywhere. When you focus on the QR Code with your mobile device, it takes you to a web page, almost like a hyperlink.

On the QR Code Creator page, there is a .deb file. Clicking on the link downloads the .deb file to your downloads folder.

How to Install .deb Packages

The tool used to install and uninstall Debian packages is called 'dpkg.' It is a command line tool. Through the use of switches, you can do many different things with it.

The first thing you want to do is install the package. Type the following into the command line:

For example to install the QR Code Creator the command is as follows:

If you prefer, you can also use --install instead of -i as follows:

How To Install Deb Package In Kali Linux

What Is in a .deb File?

If you have ever wondered what makes up a .deb package, you can run the following command to extract the files from a package without installing it.

This command extracts the contents of the qr-code-creator package into a folder called qrcodecreator located in the home folder (/home/qrcodecreator). The destination folder qrcodecreator must already exist.

In the case of qr code creator, the contents are as follows:

How To Install Debian Package In Kali Linux

  • usr
  • usr -> bin
  • usr -> bin -> qr-code-creator
  • usr -> share
  • usr -> share -> applications
  • usr -> share -> applications -> qr-code-creator.desktop
  • usr -> share -> doc
  • usr -> share -> doc -> qr-code-creator
  • usr -> share -> doc -> qr-code-creator -> changelog.gz
  • usr -> share -> doc -> qr-code-creator -> copyright
  • usr -> share -> man
  • usr -> share -> man -> man1
  • usr -> share -> man -> man1 -> qr-code-creator.1.gz
  • usr -> share -> pixmaps
  • usr -> share -> pixmaps -> qr-code-creator.png
  • usr -> share -> qr-code-creator

Removing .deb Packages

Remove a Debian package using the following command:

Kali

If you want to remove the configuration files as well, use the following command:

How To Install .deb File In Kali Linux 2.0

Note: If you are using a Ubuntu-based distribution, just double-click on the .deb file, and it loads into the Software Center. Then, click install.

HOWTO: Install downloaded .DEB packages (and their dependencies) in 2 steps
The first command will unpack the package, and most probably give an error of missing dependencies.
The second command instructs apt-get to fix this problem. If these dependencies are available in the repositories, it will install them, and sucessfully finish the installation of downloaded_package.deb.
Be aware though, that not all .DEB packages were made with your version of Ubuntu in mind. You should inform yourself if it was intended for Ubuntu Hoary. If it was not (for example, many are packaged with Debian in mind), it may still work, but then again it may not. It might even make apt-get want to remove some packages you want to keep. You'll have to tell him not to continue , and then remove the offending reason with
.
If you are not too knowledgable yet with apt-get, dpkg, or ubuntu for that matter, get your new software from the oficial Main and Backports repositories as much as you can (using Synaptic or apt-get). It have been reviewed, packaged and tested to integrate well with your ubuntu system.