Skip to main content

RPM?

More
19 years 7 months ago #7692 by Codyjr86
RPM? was created by Codyjr86
So I downloaded some stuff and they are .rpm files. And I have no idea what to do with them...

Anyone help would be appreciatted, thanks.
More
19 years 7 months ago #7696 by sahirh
Replied by sahirh on topic Re: RPM?
RPM's are binary packages of programs for Linux based systems... the RPM format was created and made popular by Red Hat (its a shortform for Red Hat package management).. so that people didn't have to distribute and compile source code from scratch to install programs..

If you want to install an RPM package, drop to root and type

rpm -ivh <rpmname.rpm>

if you're upgrading some software with a new version,

rpm -uvh <rphname.rpm>

Read the man pages for rpm for more information..
However it is now considered one of the inferior package management systems as it cannot resolve dependencies... Debian's apt, and Gentoos ports system are considered far superior.


*If I got the rpm command syntax wrong, someone correct me, its been awhile since I used RPM or a 'hat box.

Cheers,

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
19 years 7 months ago #7711 by Codyjr86
Replied by Codyjr86 on topic Re: RPM?
I did rpm -ivh filename and it gave me a bunch of dependency errors...

is there anyway around this?
More
19 years 7 months ago #7713 by sahirh
Replied by sahirh on topic Re: RPM?
Haha I would have said "Yeah use Debian".. but lets try and help you out here...

First, try and get the dependency packages and install them.. otherwise you can get apt4rpm
apt4rpm.sourceforge.net/

That should resolve dependencies for you.

Is this Fedora / RH ?

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
19 years 7 months ago #7740 by Codyjr86
Replied by Codyjr86 on topic Re: RPM?
I just started using Slackware (and love it)
After this post I read how to use rpm2tgz and was able to:

installpkg packagename.tgz

and its worked great.

But I do love that APT, thanks for the link
(isnt it sort of ironic that apt4rpm comes as an rpm package?)
More
19 years 7 months ago #7741 by branac
Replied by branac on topic Re: RPM?
Hi Codyjr86,

Why don't you use Yast? It is native Slackware packet manager, capable of resolving dependencies and stuff.
Time to create page: 0.131 seconds