Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

swinstall -s

Olebile
Frequent Advisor

swinstall -s

Guys,

where does this command intall my software

swinstall -s /tmp/perl-5.6.1.depot

I need to create links to my perl installation.

Thanks
Perfomance Monitoring is not always easy
5 REPLIES
T G Manikandan
Honored Contributor

Re: swinstall -s

It is getting installed at

/opt/perl5

you can modify the installation target
using

swinstall-->actions-->target install
option


Thanks
Stefan Farrelly
Honored Contributor

Re: swinstall -s


If you do; swlist -l file -s /tmp/perl-5.6.1.depot \*

It will list the files and which directories they install to. It should all go to /opt/perl
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: swinstall -s

You shouldnt go creating links for it. Once its installed it will add entries to /etc/PATH and /etc/MANPATH so that all future logins will have the perl binary directory automatically in their paths. At least it should add them automatically - if not vi these files and add them in yourself.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Bill Thorsteinson
Honored Contributor

Re: swinstall -s

Most scripts specify
#!/usr/bin/perl
or
#!/usr/local/bin/perl

You have a couple of options for these.
- create symbolic or hard links to /opt/perl
- edit the scripts to use the correct path.

The Programming perl book has a fixscripts program that
could be modified to edit your scripts to use a consistent
location for perl.
MANOJ SRIVASTAVA
Honored Contributor

Re: swinstall -s

Hi

The software is installed under /opt , but then you can install it using w/o the swinstall , perl itself has scripts to create links etc .


Manoj Srivastava