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 [2019/08/14 22:46]
pavroo
install_package [2019/12/12 11:07] (current)
8bit
Line 6: Line 6:
 Every command has to be run with super user privileges **sudo**. Every command has to be run with super user privileges **sudo**.
  
-1. Find a package:+**1**. Find a package:
  
    sudo apt-cache search package-name    sudo apt-cache search package-name
  
-2. Check if a package is installed and find its version:+**2**. Check if a package is installed and find its version:
  
    sudo apt-cache policy package-name    sudo apt-cache policy package-name
  
-3. Install a package (packages):+**3**. Install a package (packages):
  
    sudo apt-get install package1 package2 package3    sudo apt-get install package1 package2 package3
  
-4. "​Deb"​ package downloaded from the network can be installed using **dpkg** tool:+**4**. "​Deb"​ package downloaded from the network can be installed using **dpkg** tool:
  
    cd /​path/​to/​download/​directory    cd /​path/​to/​download/​directory
    sudo dpkg -i package1.deb package2.deb package3.deb    sudo dpkg -i package1.deb package2.deb package3.deb
  
-If the package (packagesneeds extra dependencies,​ the installation can be broken. To fix it, run:+If the package(sneed extra dependencies,​ the installation can become ​broken. To fix it, run:
  
    sudo apt-get update    sudo apt-get update
Line 37: Line 37:
 ---- ----
  
-<WRAP center box 58%> +<WRAP center box 75%> 
-[[upgrade|<​--Manual system upgrade]]|[[remove_package|Remove packages --->]]+|[[upgrade|<​--Manual system upgrade]] ​  [[remove_package|Remove packages --->]]|
 </​WRAP>​ </​WRAP>​
install_package.1565815600.txt.gz · Last modified: 2019/08/14 22:46 by pavroo