Advertisement
flycat

ArchLinux pacman cheatsheet

Jan 18th, 2012
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. # Что установлено:
  2. pacman -Qqe
  3.  
  4. # Найти, каком пакету принадлежит файл:
  5. pacman -Qo /path/to/file
  6.  
  7. # To retrieve a list of the files installed by a package:
  8. pacman -Ql vicious
  9.  
  10. # For recursively removing orphans
  11. pacman -Rs $(pacman -Qtdq)
  12.  
  13. # Remove nodeps
  14. pacman -R --nodeps --nodeps perl-libwww
  15.  
  16. # Clean the package cache of packages that are not currently installed
  17. pacman -Sc
  18. # Clean the entire package cache:
  19. pacman -Scc
  20.  
  21. # https://wiki.archlinux.org/index.php/Pacman
  22. #-=-=-=-=-=-
  23. # If BootCD not boot (not found boot device)
  24. udevadm trigger
  25. ln -s /dev/sr0 /dev/archiso
  26. Ctrl-D
  27.  
  28. # Установка из AUR:
  29. git clone https://aur.archlinux.org/megasync.git
  30. cd megasync
  31. makepkg -sri
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement