LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12: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 1188 Comments 0 hi2arun is offline
Old

RPM commands

Posted 06-03-2011 at 03:41 AM by blue_print
Updated 06-03-2011 at 04: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 1771 Comments 0 blue_print is offline

  



All times are GMT -5. The time now is 05:25 AM.

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
Open Source Consulting | Domain Registration