Skip to content

Commit

Permalink
docs: mention pacman invocations having a similar effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Balazs Kezes committed Aug 28, 2024
1 parent acdda11 commit a60c354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Removing the wrong package might break your system!
- Use `-graph` to print all dependencies and reverse dependencies of a set of nodes in a graph form.
Pipe it to `dot -Tx11` to visualize the graph.

Note that commands like `pacman -Qeq` (list explicitly installed packages) or `pacman -Qdtq` (list unneeded dependencies) already provide some of this functionality.
Similar commands exist for Ubuntu.
The big difference in pkgtrim is that the "explicitness" bit for a package is not stored in the package database but in a dotfile in the user's home directory.

## Examples

Here's my raspberry pi 4 with no arguments with an empty ~/.pkgtrim file:
Expand Down

0 comments on commit a60c354

Please # to comment.