Install packages
pacman -S package_name1 package_name2 ...
Remove an installed package
pacman -R package_name
To remove a package and its dependencies which are not required by any other installed package
pacman -Rs package_name
Upgrading packages
- S stands for sync
- y is for refresh (local cache)
- u is for system update
pacman -Syu
Use pacman to search for packages
pacman -Ss string1 string2 ...
To search for already installed packages
pacman -Qs string1 string2 ...
To search for package file names in remote packages
pacman -F string1 string2 ...
To view the dependency tree of a package
pactree package
Cleaning the package cache
paccache -r
Installing local or third-party packages
Install a ‘local’ package that is not from a remote repository
pacman -U /path/to/package/package_name-version.pkg.tar.xz
Install a ‘remote’ package, not contained in an official repository
pacman -U http://www.example.com/repo/example.pkg.tar.xz
'Linux' 카테고리의 다른 글
Find Primary IP Address of a Linux Machine (0) | 2023.09.07 |
---|---|
How to install dynamodb local (0) | 2023.06.27 |
wrk - a HTTP benchmarking tool (1) | 2023.06.05 |
VirtualBox 에서 우분투 7.10 server 설치시 "PANIC: CPU too old for this kernel" 메시지 (3) | 2008.01.14 |
VirtualBox - Windows의 네트워크 브리지를 사용한 네트워크 구성(NAT 사용) (0) | 2007.12.17 |