Read This! | | Quick Links | Algorithms | AssemblyLanguage | BASH | C-Programmming | Computer Security | Databases | Emacs | Exploitation | Functional Programming | Firewalls | Git | Haskell | Javascipt | Julia | Social Engineering | Picolisp | Pharo Smalltalk | Linux | Python | Operating Systems | Machine Learning | Metasploit | Open Data Science | Networking | Machine Learning | Racket | Scheme | Unity | vim | Web Development | Windows WSL
pacman
pacman -SyuS stands for sync, y is for refresh (local cache), u is for system update.
pacman -R package_name_ ;to remove a packageTo remove a package and its dependencies which are not required by any other installed package:
pacman -Rs _package_name_
pacman -Qdtq | pacman -Rs -Search Packages Locally
pacman -Q boost-libs #Display version pacman -Ql boost-libs #Display file list provided by local package pacman -Qk boost-libs #Check the local package database pacman -Qo /path/to/file #Check if the file is owned by any packageSearch For Package on Net
pacman -Ss packageTo search for package file names in remote packages:
pacman -F _string1_ _string2_ ...To view the dependency tree of a package:
pactree _package_naenter code hereme_Clear the Cache:
paccache -rTo remove all the cached packages that are not currently installed, and the unused sync database, execute:
pacman -ScTo remove all files from the cache, use the clean switch twice, this is the most aggressive approach and will leave nothing in the cache folder:
pacman -Scc
Sources
23aug22 | admin |