User Tools

Site Tools


install_package

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
install_package [2015/06/03 21:22] – created pavrooinstall_package [2017/04/08 20:05] pavroo
Line 4: Line 4:
 This quick guide lets you find and install new packages via a text console. 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**.+Every command has to be run with root privileges **su** or **sudo**.
  
 1. Find a package: 1. Find a package:
Line 18: Line 18:
    apt-get install package1 package2 package3    apt-get install package1 package2 package3
  
-4.If you have downloaded a "deb" package from the network, you can install it using **dpkg** tool:+4. Downloaded a "deb" package from the network can be installed using **dpkg** tool:
  
-   cd /patch-to downloaded-dir+   cd /patch-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 will 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
  
-[[upgrade|<--Manual system upgrade]]+ 
 +List of all packages installed in your system can be generated via the command: 
 + 
 +   dpkg -l 
 +or 
 +   dpkg-query -l 
 + 
 +---- 
 + 
 +<WRAP center box 52%> 
 +[[upgrade|<--Manual system upgrade]]|[[remove_package|Remove packages --->]] 
 +</WRAP>
install_package.txt · Last modified: 2021/05/04 15:24 by 127.0.0.1