wiki.xw3.org

Welcome to the xw3 Wiki! Powered by hanez

User Tools

Site Tools


linux:arch_artix_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:arch_artix_linux [2026-05-14] hanezlinux:arch_artix_linux [2026-05-14] (current) – [Remove Unused Dependencies] hanez
Line 11: Line 11:
 ===== Useful commands ===== ===== Useful commands =====
  
-==== Remove unneeded dependencies using pacman ==== 
  
-<code>pacman -Rsn $(pacman -Qdtq)</code> 
  
 ==== Remove unneeded dependencies using yay ==== ==== Remove unneeded dependencies using yay ====
Line 60: Line 58:
 <code>pacman -Rns $(pacman -Qdtq)</code> <code>pacman -Rns $(pacman -Qdtq)</code>
  
 +<code>Explanation of the Command
 +Option Description
 +-R Remove the specified packages.
 +-n Remove configuration files along with the packages.
 +-s Also remove dependencies that were installed exclusively for the packages being removed.
 +$(pacman -Qdtq) This part lists all orphaned packages, which are dependencies no longer required by any installed package.</code>
 ===== Links ===== ===== Links =====
  
linux/arch_artix_linux.1778719044.txt.gz · Last modified: by hanez