How do you manage/track installed packages?

(I just noticed pebcak mentioned pacmanlogviewer :open_mouth:)

pacmanlogviewer can filter by date, pahis don’t and both can’t search for explicit install.

You don’t have access to Manjaro repos, because EOS use Arch repos and its own repos.

1 Like

pahis sorts the output by date by default. And if you need more control, you can pipe pahis output to tools like grep, awk, sort, etc.
Also searching for explicit install is possible with pahis, or what exactly do you mean?

The repos are defined by file /etc/pacman.conf. Just installing pamac does not change the repos.

1 Like

Also, for more terminal-centric-minded users, pacutils provides some quite handy tools like paclog for example:

$ paclog --help
paclog - filter pacman log entries
usage: paclog [options] [filters]

options:
   --config=<path>     set an alternate configuration file
   --root=<path>       set an alternate installation root
   --sysroot=<path>    set an alternate installation system root
   --debug             enable extra debugging messages
   --logfile=<path>    set an alternate log file
   --[no-]color        color output
   --pkglist           list installed packages (EXPERIMENTAL)

filters:
   --action=<action>   show <action> entries
   --after=<date>      show entries after <date>
   --before=<date>     show entries before <date>
   --caller=<name>     show entries from program <name>
   --commandline       show command line entries
   --grep=<regex>      show entries matching <regex>
   --package=<pkg>     show entries affecting <pkg>
   --warnings          show notes/warnings/errors
2 Likes

Duly noted, thank you!

Copy that! Thank you!

Hi. When I want to tidy up packages on my system, I use pkgbrowser. It can’t instal/uninstal packages but it has a nice GUI with good search, sort and filter features.

3 Likes

By date, I mean the current day, the week, the month or between two specified dates.

A complementary filter for explicit install such as --explicit for example.

Actually, I think it is not reasonable to add more features to pahis since there are so many good alternatives to choose from. And users have their own workflows and preferences. pahis is just an alternative, and it was quite easy to implement. :wink:

It was because OP talked about packages explicitly installed. In my case, it’s much more simple :

pacmanlog (){
grep $1 /var/log/pacman.log | fzf --border=bold
}
2 Likes

How do you manage/track installed packages?

I keep a readme.md at the root of home. I use it to track manual installs.

Check out pacseek if you haven’t yet. It’s a fantastic TUI application for searching.

2 Likes