User Tools

Site Tools


install_package

This is an old revision of the document!


Install new packages

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

Every command has be run with root privileges su or sudo.

1. Find a package:

 apt-cache search package-name

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

 apt-cache policy package-name

3. List all packages installed in your system:

 dpkg -l

or

 dpkg-query -l

4. Install a package (packages):

 apt-get install package1 package2 package3

5. If you have downloaded a “deb” package from the network, you can install it using dpkg tool:

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

If the package (packages) needs extra dependencies, the installation can be broken. To fix it, run:

 apt-get install -f

This website uses cookies to improve your experience. We will assume you are ok with this, but you can opt-out if you wish. Read More
install_package.1433363899.txt.gz · Last modified: 2015/06/03 22:38 by pavroo