Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view release notes / changelog with pacman

Tags:

archlinux

Like many fellow archers, I use pacman to update my software each day. Often there are updates like this:

foo-1.1 ---> foo.1.2

I wonder if there's a way to see what has been updated from foo-1.1 to foo-1.2 or release notes explaining bug fixes or new features etc. Something like pacman -Log foo.

like image 345
McBear Holden Avatar asked Apr 23 '11 20:04

McBear Holden


People also ask

How do I clean my Pacman cache?

Pacman has a built-in option to remove all cached packages. You can clean the cached packages by running sudo pacman -Sc command. However, this command will remove all cached old versions and leave only the versions of packages which are currently installed available. This is not a recommended way.


2 Answers

From the manual:

QUERY OPTIONS
   -c, --changelog
       View the ChangeLog of a package. Not every package will provide one but it will be shown if available.

So, if you wanted the changelog for the vim package, for example, you would do: pacman -Qc vim.

like image 112
Ryan A. Avatar answered Sep 24 '22 19:09

Ryan A.


A better solution would be to use pacolog, which at least shows you the package commits, e.g.pacolog -l 3 vim

like image 44
ohli Avatar answered Sep 23 '22 19:09

ohli