

Run the command like this, while replacing b with the name of your package: Using the dpkg command is the first method we willll go over for installing DEB packages and is also probably the most common.

If you see the desired package within the output returned from apt, take note of the package’s name and install it with these commands:

To search Ubuntu’s package repository for a package, open a command line terminal and type the following command:Īpt search shows that net-tools package is available for download from the repo Before installing a DEB file, you should check Ubuntu’s repository first to see if the software is already available from there. One of the great things about Ubuntu and other flavors of Linux is that they have a myriad of stable, tested, and secure software available in their software repositories, only a short download away. Only install DEB files if you’re confident about the source of the file and can verify its integrity. $ – requires given linux commands to be executed as a regular non-privileged userīefore you jump into installing a DEB file on your system, you should know that installing software from third party sources can have a negative impact on the stability and security of your Ubuntu system. # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version Used Install DEB file on Ubuntu 22.04 Jammy Jellyfish Software Requirements and Linux Command Line Conventions Category
