User Tools

Site Tools


arch

Differences

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

Link to this comparison view

arch [2017/07/02 02:19]
k2patel old revision restored (2010/04/01 23:42)
arch [2020/08/10 02:35]
Line 1: Line 1:
-====== Arch Linux ====== 
  
-Recently started using arch linux, seems like really cool distro. 
- 
-==== Package Manager ==== 
-it uses "​pacman"​ as package manager.\\ 
-Following is some use full commands. 
- 
-pacman queries the local package database with the -Q flag. 
-<code bash> 
-$ pacman -Q --help 
-</​code>​ 
-and queries the sync databases with the -S flag. 
-<code bash> 
-$ pacman -S --help 
-</​code>​ 
-pacman can search for packages in the database, searching both in packages'​ names and descriptions. 
-<code bash> 
-$ pacman -Ss package 
-</​code>​ 
-To search for already installed packages. 
-<code bash> 
-$ pacman -Qs package 
-</​code>​ 
-To display extensive information about a given package. 
-<code bash> 
-$ pacman -Si package 
-</​code>​ 
-for locally installed packages. 
-<code bash> 
-$ pacman -Qi package 
-</​code>​ 
-To retrieve a list of the files installed by a package. 
-<code bash> 
-$ pacman -Ql package 
-</​code>​ 
-One can also query the database to know which package a file on the file system belongs to. 
-<code bash> 
-$ pacman -Qo /​path/​to/​a/​file 
-</​code>​ 
-To list all packages no longer required as dependencies (orphans). 
-<code bash> 
-$ pacman -Qdt 
-</​code>​ 
arch.txt ยท Last modified: 2020/08/10 02:35 (external edit)