packages installed

Rejy M Cyriac rcyriac at redhat.com
Thu Mar 14 15:42:51 UTC 2013


On 03/14/2013 06:39 PM, Reindl Harald wrote:
> and if you want a usefull list without version-numbers
> which are not helpful to install the same packages
> months later on another machine:
> 
> [root at rh:~]$ cat /usr/local/bin/packages
> #!/usr/bin/bash
> /bin/nice -n 19 /bin/rpm -qa --queryformat "%{name}\n" | sort | tee /root/packages.txt
> chmod 644 /root/packages.txt

I used to struggle to remove the version numbers from the names.

I have also wanted one of those. Thanks a lot for that.  :-)

-- 
Regards,

Rejy M Cyriac (rmc)


More information about the users mailing list