LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash scripting rpm (http://www.linuxquestions.org/questions/linux-newbie-8/bash-scripting-rpm-883874/)

gremlin007 06-01-2011 02:32 AM

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

corp769 06-01-2011 02:44 AM

Hello,

I have reported your thread to be closed; Please try to refrain from posting duplicate threads - http://www.linuxquestions.org/questi...ckages-883871/

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.

Cheers,

Josh

T3RM1NVT0R 06-01-2011 02:48 AM

Reply
 
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

Tinkster 06-01-2011 02:13 PM

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.

http://www.linuxquestions.org/questi...ckages-883871/


All times are GMT -5. The time now is 01:43 AM.