User Tools

Site Tools


install_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
install_package [2015/06/03 22:40] pavrooinstall_package [2018/08/14 23:01] lami07
Line 10: Line 10:
    apt-cache search package-name    apt-cache search package-name
  
-2. Check is a package installed and find its version:+2. Check if a package is installed and find its version:
  
    apt-cache policy package-name    apt-cache policy package-name
  
-3. List all packages installed in your system: +3. Install a package (packages):
- +
-   dpkg -l +
-or +
-   dpkg-query -l +
- +
-4. Install a package (packages):+
  
    apt-get install package1 package2 package3    apt-get install package1 package2 package3
  
-5If you have downloaded a "deb" package from the network, you can install it using **dpkg** tool:+4 "Deb" package downloaded from the network can be installed using **dpkg** tool:
  
-   cd /patch-to-download-directory+   cd /path/to/download/directory
    dpkg -i package1.deb package2.deb package3.deb    dpkg -i package1.deb package2.deb package3.deb
  
 If the package (packages) needs extra dependencies, the installation can be broken. To fix it, run: If the package (packages) needs extra dependencies, the installation can be broken. To fix it, run:
  
 +   apt-get update
    apt-get install -f    apt-get install -f
 +
 +
 +List of all packages installed on your system can be generated via the command:
 +
 +   dpkg -l
 +or
 +   dpkg-query -l
  
 ---- ----
  
-<WRAP center box 38%>+<WRAP center box 58%>
 [[upgrade|<--Manual system upgrade]]|[[remove_package|Remove packages --->]] [[upgrade|<--Manual system upgrade]]|[[remove_package|Remove packages --->]]
 </WRAP> </WRAP>
install_package.txt · Last modified: 2021/05/04 15:24 by 127.0.0.1