RPMs and packages
How can I find out what RPMs belong to which pakages?
For example, legacy-network-server is the package name; what are the rpms related to this package? |
$ yum grouplist
.. will list all groups, including "Legacy Network Server". I.e. "Legacy Network Server" is not a package, but a group of packages. $ yum groupinfo "Legacy Network Server" ... will list the packages in the group : rusers, rwho, xinetd, etc. ( That's for EL5.) - |
Thanks, I tried and it gave me the list of packages such as Default Packages:
rusers rwho xinetd and Optional Packages But now how correspond these name with rpms located in the client directory? I am trying to shrink the size of kickstart dvd I have and I want to delete sme of unwanted rpms. |
1) su <enter-password>
2) # yum remove <package-name> .... where package name is the short name, like 'firefox', 'rusers', etc. Creating an alphabetic package list, all installed packages : $ rpm -qa | sort > packages.txt .. And a list with install dates : $ rpm -qa --last > last-packages.txt Remark : Be careful when removing packages. Most cannot be removed ! And : Some are very small. Not worth the effort : rusers: 22kB, rusers-server: 26kB. http://ftp.scientificlinux.org/linux...ic/59/i386/SL/ ** Finding the package size : $ rpm -qi <name> | grep Size - |
I found the answer to my second question, rusers means all the rpms that start with rusers.
Thanks knudfl for your reply. |
All times are GMT -5. The time now is 04:28 PM. |