Operating System - HP-UX
1830241 Members
6667 Online
109999 Solutions
New Discussion

How do I install multiple versions of sw (emacs)

 
SOLVED
Go to solution
Andreas D. Skjervold
Honored Contributor

How do I install multiple versions of sw (emacs)

I have a hp-ux 11.00 system with emacs 20.3 installed. (in /opt/emacs)
Now some of my users want 20.7 installed, but still like to access the old version.
How do I accomplish this?
Will running swinstall straight forward overwrite the old version?

Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
5 REPLIES 5
Rainer_1
Honored Contributor
Solution

Re: How do I install multiple versions of sw (emacs)

you could rename the old version

mv /opt/emacs /opt/emacs_20.3

and then swinstall your 20.7 version with will be under /opt/emacs

To get the old version user must use /opt/emacs_20.3/bin/emacs
CHRIS_ANORUO
Honored Contributor

Re: How do I install multiple versions of sw (emacs)

If you install on the newer version of 2.07, definitely it will over write the older version 2.03. What you might do is try installing on a different directory if it will not default to the /opt directory on installation.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Stefan Schulz
Honored Contributor

Re: How do I install multiple versions of sw (emacs)

As the depot files are actually tar files, you could extract them "by hand" and copy the necessary files to any location you like.

But of course you cant use swlist or swremove with this "by hand" installation.
No Mouse found. System halted. Press Mousebutton to continue.
Darrel Louis
Honored Contributor

Re: How do I install multiple versions of sw (emacs)

Before you start with the installation of the new version make an copy of the old one, emacs20.3

But aren't there any libraries linked which are version specific.
Check that out, otherwise the old-version still won't work.
Andreas D. Skjervold
Honored Contributor

Re: How do I install multiple versions of sw (emacs)

Darrel: Thanks, I checked the libraries and you're right, I got an error stating some missing libraries, but now, somehow the message has disapered...
I'll just wait for the users to complain and be prepared to reverse the operation.

Thanks everyone!
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!