Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-01-2011, 01:32 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
Bash scripting rpm

Hey guys

can someone please help me with this

Displays ONLY the description text for the RPM package

how can you do it , ive read online that

"# rpm -qi " gets you all the information
how can i just get description ?

any help will be most appreciated
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-01-2011, 01:44 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004

I have reported your thread to be closed; Please try to refrain from posting duplicate threads -

Me and evo2 already posted, and you have marked your thread as solved. If our solutions that we have provided worked for you, please let us know in that forum, and not this one. Thanks for understanding.


Old 06-01-2011, 01:48 AM   #3
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477

Hi there,

Yes you can get the information about the rpm package using -qi. What you need to do is as follows:

rpm -qi package_name

If you are not sure about the package name and suppose you want to get the information about vsftpd. Then you can do as follows:

rpm -qa | grep vsftpd

The above command will get you the package_name. -qa is for query all.

Once you got the package name you can then execute the command: rpm -qi package_name.

I hope this helps
Old 06-01-2011, 01:13 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
2 members found this post helpful.

Closed Thread

bash, rpm, shell

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
Bash shell scripting help ! RPM packages gremlin007 Linux - Newbie 24 06-01-2011 12:40 PM
scripting rpm/yum with --nodeps fw12 Programming 2 08-05-2009 12:28 PM
Reading a bash variable in bash scripting problem freeindy Programming 3 11-27-2008 02:29 AM
Need help with bash scripting Kleedrac Linux - Software 6 05-09-2006 02:55 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 PM.

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