LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-11-2013, 04:13 PM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Rep: Reputation: Disabled
Smile 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?
 
Old 02-11-2013, 05:05 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
$ 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.)

-
 
1 members found this post helpful.
Old 02-12-2013, 08:42 AM   #3
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-12-2013, 09:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

-
 
Old 02-12-2013, 09:03 AM   #5
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
I found the answer to my second question, rusers means all the rpms that start with rusers.
Thanks knudfl for your reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make RPMs with dependencies (meta-packages?) crontab Linux - Software 9 04-23-2009 04:43 PM
Does SUSE use rpms or Debian type packages? sofasurfer SUSE / openSUSE 2 04-07-2007 04:11 AM
Problems with RPMs installation - conflicting packages iqbala Mandriva 7 09-18-2006 02:18 PM
"redhat-config-packages --isodir=/opt/linux/Fedora/rpms" does not work ch_abhishek Red Hat 0 09-23-2004 06:16 AM
Athlon rpms and packages jrwu Linux - Newbie 1 09-19-2003 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration