wiki.xw3.org

Welcome to the xw3 Wiki! Powered by hanez

User Tools

Site Tools


linux:arch_artix_linux

Arch / Artix Linux

Use “yay” instead of yaourt! yaourt is outdated. (https://github.com/Jguer/yay)

Install Yay

Useful commands

Remove unneeded dependencies using pacman

pacman -Rsn $(pacman -Qdtq)

Remove unneeded dependencies using yay

yay -Yc

Install local pkg.tar in Arch Linux

pacman -U .pkg.tar.gz or .pkg.tar.xz

Create a list of user installed packages without dependencies

Without AUR packages

pacman -Qqen > pkglist.txt

Only AUR packages

pacman -Qqem > pkglist_aur.txt

Install packages with Yay from a list contained in a text file created with the command above

Check which package owns a file

pacman -Qo file

Check which package provides a file

pacman -F file

Show files of a package

pacman -Ql package

Remove a package from Pacman without deleting files

pacman -R --dbonly package

linux/arch_artix_linux.txt · Last modified: 2025-03-18 (external edit)