The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Поиск:  Каталог документации

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 http://www.sunfreeware.com/pkgadd.html


Next Previous Contents


Спонсоры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру