LinuxQuestions.org
Register a domain and help support LQ
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, 05:13 PM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 30
Blog Entries: 1

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, 06:05 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
$ 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, 09:42 AM   #3
hnasr2001
Member
 
Registered: Nov 2012
Posts: 30
Blog Entries: 1

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, 10:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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, 10:03 AM   #5
hnasr2001
Member
 
Registered: Nov 2012
Posts: 30
Blog Entries: 1

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:43 PM
Does SUSE use rpms or Debian type packages? sofasurfer Suse/Novell 2 04-07-2007 05:11 AM
Problems with RPMs installation - conflicting packages iqbala Mandriva 7 09-18-2006 03:18 PM
"redhat-config-packages --isodir=/opt/linux/Fedora/rpms" does not work ch_abhishek Red Hat 0 09-23-2004 07:16 AM
Athlon rpms and packages jrwu Linux - Newbie 1 09-19-2003 03:05 AM


All times are GMT -5. The time now is 06:54 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration