CentOS/RedHat: How to list all packages I installed via yum?
My PC runs CentOS 6.4 64-bit. Is there an easy way to list all the packages I ever installed via YUM (the package manager for RedHat-like systems)?
|
To retrieve a full list of the installed packages
Code:
rpm -qa Code:
/var/log/yum.log |
you can also use "yum list installed"
|
I should clarify, or re-clarify. What I want is the list of packages that I manually installed via yum, not the list of all installed packages.
Why? I might have to re-install CentOS on my machine since the memory cache is growing too large and that prevents my apps from running. Before I do so, I'd like to know what packages I installed via yum so I can more easily duplicate the previous state. |
Quote:
|
You can try
Code:
yum list installed | grep -v 'anaconda\|updates' |
Another way to find out what packages you have installed is
Find the date when you have installed the OS Code:
# ls -l /root/install.log Code:
# cat /root/install.log Code:
# rpm -qa --last > new_list But still i insist, to use the one i mentioned in previous post. |
Listing packages alphabetically :
$ rpm -qa | sort > installed-rpms.txt |
All times are GMT -5. The time now is 06:57 PM. |