User Tools

Site Tools


Install new packages

This quick guide lets you find and install new packages via a text console.

Every command has to be run with super user privileges sudo.

1. Find a package:

 sudo apt-cache search package-name

2. Check if a package is installed and find its version:

 sudo apt-cache policy package-name

3. Install a package (packages):

 sudo apt-get install package1 package2 package3

4. “Deb” package downloaded from the network can be installed using dpkg tool:

 cd /path/to/download/directory
 sudo dpkg -i package1.deb package2.deb package3.deb

If the package(s) need extra dependencies, the installation can become broken. To fix it, run:

 sudo apt-get update
 sudo apt-get install -f

List of all packages installed on your system can be generated via the command:

 sudo dpkg -l


 sudo dpkg-query -l

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
install_package.txt · Last modified: 2021/05/04 15:24 (external edit)