LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

How to see what is in an RPM without installing it?

Posted 08-31-2011 at 01:18 AM by hi2arun

Datz simple!
1. Create a temp directory
Code:
# mkdir x
2. Change directory
Code:
# cd x
3. Now extract the RPM
Code:
# rpm2cpio /path/of/ur/RPM/file.rpm | cpio -dmi
There u go! Now you have ur RPM xtractd in directory 'x'
Member
Posted in Uncategorized
Views 619 Comments 0 hi2arun is offline
Old

RPM commands

Posted 06-03-2011 at 04:41 AM by blue_print
Updated 06-03-2011 at 05:23 AM by blue_print

RPM package is a powerful utility to manage the software in all major Linux distributions. RPMs can be used to,
  • Install packages
  • Remove packages
  • Upgrade packages
  • Verify packages

Here are some useful command to manage RPM packages,



1. Getting detailed information about the package httpd

Code:
rpm -qi httpd
2. Determining which package installed the file /etc/httpd/conf.d/httpd-portal.conf,

Code:
rpm
...
Member
Posted in Linux Basics
Views 670 Comments 0 blue_print is offline

  



All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement

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