Thursday, August 24, 2006

rpm options

Hello EB,

rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.

Now most of famous distribution used rpm packages like redhat, suse and even lot free distributions like white box.

Following are some but basic option for rpm command -

rpm {-i--install} [install-options] PACKAGE_FILE ...
rpm {-U--upgrade} [install-options] PACKAGE_FILE ...

  • Sometimes you want to know which library uses which rpm packages or vice versa one rpm packages installs which libraries

#rpm -qf /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
compat-libstdc++-7.3-2.96.128

#rpm -ql compat-libstdc++-296-2.96-132.7.2
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.2-2.so.3

  • Most of time you want to uninstall some rpm packages and you use rpm -e but it says there multiple packages are exist use

rpm -e --allmatches {rpm name}

Let me know if you have any queries with rpm commands,

hope these information will help you.

Thanks

5 comments:

Anonymous said...

goygoygoioi
lkljlkролдрод момпромпорм пл
ромрммп

Anonymous said...

Thank you for sharing your thoughts. I truly appreciate your efforts
and I will be waiting for your next write ups thanks once
again.

Also visit my web site ... binary options trading system

Anonymous said...

Spot on with this write-up, I truly believe this website needs far
more attention. I'll probably be back again to read through more, thanks for the info!

Have a look at my homepage; future trading

Anonymous said...

Great website you have here but I was wondering if you knew of any
message boards that cover the same topics discussed in this article?
I'd really like to be a part of community where I can get feedback from other knowledgeable individuals that share the same interest. If you have any suggestions, please let me know. Thank you!

My page ... forex trading Strategy

Anonymous said...

Wonderful beat ! I would like to apprentice while you amend your web
site, how could i subscribe for a blog web site? The account helped me a acceptable deal.
I had been tiny bit acquainted of this your broadcast provided bright clear concept

Here is my web blog - vps server