Skip to content

Instantly share code, notes, and snippets.

@michaelkl
Created March 7, 2017 04:14
Show Gist options
  • Save michaelkl/0b228c3835dc5daf430a9471b583a9ea to your computer and use it in GitHub Desktop.
Save michaelkl/0b228c3835dc5daf430a9471b583a9ea to your computer and use it in GitHub Desktop.
# Что установлено:
pacman -Qqe
# Найти, каком пакету принадлежит файл:
pacman -Qo /path/to/file
# To retrieve a list of the files installed by a package:
pacman -Ql vicious
# For recursively removing orphans
pacman -Rs $(pacman -Qtdq)
# Remove nodeps
pacman -R --nodeps --nodeps perl-libwww
# Clean the package cache of packages that are not currently installed
pacman -Sc
# Clean the entire package cache:
pacman -Scc
# Synchronize the local package database with the remote repositories:
pacman -Sy
# Install a package:
pacman -Sy package_name
# Remove a package:
pacman -R package_name
# Update the system:
pacman -Syu
# https://wiki.archlinux.org/index.php/Pacman
#-=-=-=-=-=-
# If BootCD not boot (not found boot device)
udevadm trigger
ln -s /dev/sr0 /dev/archiso
Ctrl-D
# Установка из AUR:
git clone https://aur.archlinux.org/megasync.git
cd megasync
makepkg -sri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment