PDA

View Full Version : installed pkgs from rpmfusion.org listed ?


oystercatcher
18th September 2010, 09:41 PM
greetings

Installed the fc14 beta this morning and now I would like to install a list of pkgs from rpmfusion.org
hopefully streamlining the pkg add process a bit.

I have done some testing this morning and was able to install mplayer, etc. using the rawhide
repository.

I have another system running fc12 that has most of the pkgs which interest me and I was
wondering if anyone has a script/method to figure out just the added pkgs from rpmfusion.
perhaps by looking at /var/log/yum.log, although there doesn't seem to be any way to
filter just the rpmfusion pkgs.

thanks

PabloTwo
18th September 2010, 09:55 PM
Try this command in F12,
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH} %{VENDOR}\n" | grep "RPM Fusion" | sort

oystercatcher
18th September 2010, 10:01 PM

thank you PabloTwo that worked

PabloTwo
18th September 2010, 10:04 PM
To get only the names of the packages from the rpmfusion repo's into a file, do:
rpm -qa --queryformat "%{NAME} %{VENDOR}\n" | grep "RPM Fusion"|sort > rpmfusion-list
sed -i 's/ RPM Fusion//' rpmfusion-list