What are the steps to build and install a Slackware package from a RPM package?
Newbie needs help. :confused:
I know about sbopkg. But I want to be able to install manually from RPM packages. |
Hi,
You can run: Code:
rpm2tgz package.rpm |
http://www.slackware.com/config/packages.php
The information at the bottom of the page tells you how to convert an rpm to a slackware compatible package. |
Quote:
You can not install just any old RPM and have it work and there is a good chance you would also break your slackware install. There are a few 3rd party applications that are distributed in RPM as sort of a universal package but even these need special care to integrate with slackware. |
In my view it would be better to build a package using a slackbuild because you should make a slack-desc and might need a doinst.sh. You can look at the open office slackbuild on sbo for an idea: http://slackbuilds.org/slackbuilds/1...org.SlackBuild
The conversion bits: Code:
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done |
Quote:
|
rpm2cpio package.rpm | cpio -vidm
Assuming that you cannot find a slackbuild for your package, put rpm package in its own directory and cd to that directory, then
Code:
rpm2cpio package.rpm | cpio -vidm |
All times are GMT -5. The time now is 11:02 PM. |