Add more instructions

This commit is contained in:
Jean-Claude 2023-10-29 19:53:22 +01:00
parent 5a11606fad
commit ba18481dd7
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 13 additions and 2 deletions

View File

@ -18,5 +18,16 @@
- Find broken symlinks
`find <path> -xtype l`
- Find files not belonging to any package:
`sudo lostfiles`
## Tools
- Used files tree: `baobab`
- Find files not belonging to any package: `lostfiles`
## Packages
- Find no longer needed packages: `pacman -Qtd`
- Remove all `pacman -Qtdq | sudo pacman -Rns -`
- Find packages that are only required by cyclic dependencies: `pacman -Qqd | pacman -Rsu --print -`
- Remove all `pacman -Qqd | sudo pacman -Rsu -`
- Find packages only optionally required : `pacman -Qttd`
- Remove all `pacman -Qttdq | sudo pacman -Rns -`
- Find packages that are no longer in the repo: `pacman -Qm`
- Find packages that are only required by cyclic dependencies: `pacman -Qqd | pacman -Rsu --print -`