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 revision Previous revision
Next revision
Previous revision
install_package [2015/06/03 22:40]
pavroo
install_package [2019/12/12 11:07] (current)
8bit
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 to be run with root privileges ​**su** or **sudo**.+Every command has to be run with super user privileges **sudo**.
  
-1. Find a package:+**1**. Find a package:
  
-   ​apt-cache search package-name+   sudo 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+   sudo apt-cache policy package-name
  
-3. List all packages ​installed in your system:+**3**Install a package (packages):
  
-   dpkg -+   sudo apt-get install package1 package2 package3
-or +
-   ​dpkg-query -l+
  
-4. Install a package ​(packages):+**4**"​Deb" ​package ​downloaded from the network can be installed using **dpkg** tool:
  
-   apt-get install ​package1 package2 package3+   cd /​path/​to/​download/​directory 
 +   sudo dpkg -package1.deb package2.deb package3.deb
  
-5. If you have downloaded a "​deb"​ package from the networkyou can install ​it using **dpkg** tool:+If the package(s) need extra dependenciesthe installation ​can become broken. To fix it, run:
  
-   cd /patch-to-download-directory +   sudo apt-get update 
-   dpkg -i package1.deb package2.deb package3.deb+   sudo apt-get install ​-f
  
-If the package (packages) needs extra dependencies,​ the installation can be broken. To fix it, run: 
  
-   apt-get install ​-f+List of all packages installed on your system can be generated via the command: 
 + 
 +   sudo dpkg -
 +or 
 +   sudo dpkg-query -l
  
 ---- ----
  
-<WRAP center box 38%> +<WRAP center box 75%> 
-[[upgrade|<​--Manual system upgrade]]|[[remove_package|Remove packages --->]]+|[[upgrade|<​--Manual system upgrade]] ​  [[remove_package|Remove packages --->]]|
 </​WRAP>​ </​WRAP>​
install_package.1433364028.txt.gz · Last modified: 2015/06/03 22:40 by pavroo