Packaging to customers: Solaris pkgadd, pkgrm, pkginfo etc replacement
Dear experts: As we replace our embedded Sparcs running Solaris with some version of Linux, the question has been asked: What should replace our package management? I know next to nothing about rpm and apt. We release new software once a year or so. Any recommendations? TIA & Cheers
Pierre Patino wrote:
Dear experts:
As we replace our embedded Sparcs running Solaris with some version of Linux, the question has been asked: What should replace our package management? I know next to nothing about rpm and apt. We release new software once a year or so. Any recommendations? TIA & Cheers
At first, many years ago, I found rpm quite baffling, but a read of the manpage and some familiarisation, it's very easy. I've never found apt4rpm very cooperative, when you have updated packages installed, it seems to balk as it is expecting stuff that no longer exists, that may also be due to my lack of grasp of apt or something I used to do like a straight "make install", now I use make on sources that have no spec files, so e.g "rpmbuild -ta xxx.tar.gz" doesn't work, after exploding the tar.bz2/gz file and make is done, I use checkinstall to generate a rpm and "rpm -ivh xxx.i386.rpm" or "rpm -Uvh xxx.i386.rpm" if a lower level package is installed, to keep the rpm database in sync. On the subject of Solaris 10 SPARC, I not long ago downloaded the find package from www.solarisfreeware.com, file says it's a package stream, but pkgadd says it can't find a package ... "pkgadd -d ." of just pkgadd if it's in /var/spool/pkg. In my opinion, rpm gives you wider scope. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Pierre Patino wrote:
As we replace our embedded Sparcs running Solaris with some version of Linux, the question has been asked: What should replace our package management? I know next to nothing about rpm and apt. We release new software once a year or so. Any recommendations?
Depends on what version of Linux you intend to support. RPM is the most widely used packaging system. DEB, as used be Debian and derivates is also very popular. I am not very familiar in building DEBs, but the "Debian Binary Package Building HOWTO" at http://www.tldp.org/HOWTO/Debian-Binary-Package-Building-HOWTO/ might be a good starting point. For building RPMs, see the (slightly outdated) "Maximum RPM" book (also available as a PDF on http://www.rpm.org) and the "Creating Quality RPMs" courseware from Guru Labs: http://www.gurulabs.com/goodies/guru+guides.php Bye, LenZ - -- - ------------------------------------------------------------------ Lenz Grimmer <lenz@grimmer.com> -o) [ICQ: 160767607 | Jabber: LenZGr@jabber.org] /\\ http://www.lenzg.org/ V_V -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCmiU5SVDhKrJykfIRAu9EAJ95S3r4ER+pMyoqKJv3ipWxB5ys4gCff3po Xcj6gU/enNvTIHIEtpgAh70= =sm9w -----END PGP SIGNATURE-----
participants (3)
-
Lenz Grimmer
-
Pierre Patino
-
Sid Boyce