Next Previous Contents

9. Convert RPM to Solaris Package rpm2pkg

After building and installing all the RPMs on Solaris (or any Unix), you can convert those programs to Solaris (or any Unix) packages.

To convert Redhat rpm to Solaris package do:

bash# mkdir -p  $HOME/tmp/myprogram-1.4/usr/local
bash# cd $HOME/tmp/myprogram-1.4/usr/local
bash# rpm2cpio rpm-4.0.2-8.sparc64.rpm | cpio -dimv 
bash# tar -xvf rpm*.tar.gz
bash# make_package

And run the perl script make_package given at

Next Previous Contents