1820136 Members
3428 Online
109619 Solutions
New Discussion юеВ

Linux Packaging

 
Allison1
Occasional Contributor

Linux Packaging

Hello,

My name is Allison, how are you doing?

We are migrating some HP-UX servers to Linux 3.0 32 bit, and Linux 4.0 64 bit, there are lots of HP-UX packages to be recreated in Linux, I have several questions.
. I am not familiar with Linux package commands, is there a comparing CLI list for HP-UX Vs Linux
HP-UX Linux
checkinstall ???
request ???
postinstall ???
checkremove ???
preremove ???
postremove ???

2. For same third-party software, do I need to create one package on Linux 3.0 32bit, another for Linux 4.0 64 bit, or I can just develop one pkg on either OS, and will work for both?

If you can advise when you get a chance, I would appreciate it.

Thank you in advance,

Fanglin
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Linux Packaging

Shalom Allison,

checkinstall ???
request ???
postinstall ???
checkremove ???
preremove ???
postremove ???

No direct corresonding programs.

You are not entirely precise on what you mean by Linux. It may be assumed you mean Red Hat, but that is not certain. Please add detail.

Red Hat Linux works with three major installation formats besides good old fashioned tar files.

rpm (built in, reasonable command set)
yum (built in to fedora, wish it was in RH)
apt (Very good, may some day be the standard)

HP-UX uses SD/UX and that is proprietary and does not work on other platforms, hence my earlier answer.

2. You have choices. You can create 1 32 bit package that will run on both platforms unless there are certain portions of you code which won't work that way. 32 bit programs do suffer from memory limitation which may inspire you to have two different code sets. True answer: it depends.

Posting your email address to one of the places that spam is farmed is ill advised. I suggest you ask the moderators to amend your post and remove the address.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1023646

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Allison1
Occasional Contributor

Re: Linux Packaging

Thank you very much for information.

I forgot to mention that we are going to use RedHat Linux 3.0 (32bit) and RedHat Linux 4.0 (64bit), will use "rpmbuild" to create pakcage on Linux.
Hopefully there is a comparing CLI list for HP-UX Vs Linux
HP-UX Linux
checkinstall ???
request ???
postinstall ???
checkremove ???
preremove ???
postremove ???

Again, thank you in advance.
Vitaly Karasik_1
Honored Contributor

Re: Linux Packaging

RHEL, as many other linuxes, works with RPM package format.
I suggest you to start with "Maximum RPM" from http://www.rpm.org/ in order to learn about RPM.

Rgds,
Vitaly
Florian Heigl (new acc)
Honored Contributor

Re: Linux Packaging

*pssst*

SD/UX actually is not proprietary, but POSIX compliant, it's just noone else is using it :)

The debian people discussed it a bit in '99.
yesterday I stood at the edge. Today I'm one step ahead.
Allison1
Occasional Contributor

Re: Linux Packaging

I am not able to find solution to this question on this site.