I’m doing an offline install of CSWlsof for Solaris 11
You need 3 packages, the package itself and the dependencies
lsof
common
isaexec
Download from one of the mirrors
https://reflector.westga.edu/repos/OpenCSW/stable/sparc/5.11/
Install the packages
common
root@solaris:/tmp/lsof_solaris # pkgadd -d common-1.5\,REV\=2010.12.11-SunOS5.8-sparc-CSW.pkg
The following packages are available:
1 CSWcommon common – common files and dirs for CSW packages
(sparc) 1.5,REV=2010.12.11
Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1
Processing package instance from </tmp/lsof_solaris/common-1.5,REV=2010.12.11-SunOS5.8-sparc-CSW.pkg>
common – common files and dirs for CSW packages(sparc) 1.5,REV=2010.12.11
http://www.opencsw.org/ packaged for CSW by Philip Brown
## Executing checkinstall script.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing common – common files and dirs for CSW packages as
## Installing part 1 of 1.
/opt/csw/bin/sparc
/opt/csw/doc
/opt/csw/info
/opt/csw/lib/32
/opt/csw/lib/64
/opt/csw/lib/locale
/opt/csw/lib/sparc
/opt/csw/lib/sparcv8
/opt/csw/man
/opt/csw/share/locale/locale.alias
[ verifying class ]
Installation of was successful.
isaexec
root@solaris:/tmp/lsof_solaris # pkgadd -d isaexec-0.2\,REV\=2009.03.26-SunOS5.8-all-CSW.pkg
The following packages are available:
1 CSWisaexec isaexec – sneaky wrapper around Sun isaexec
(all) 0.2,REV=2009.03.26
Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1
Processing package instance from </tmp/lsof_solaris/isaexec-0.2,REV=2009.03.26-SunOS5.8-all-CSW.pkg>
isaexec – sneaky wrapper around Sun isaexec(all) 0.2,REV=2009.03.26
This interesting packaging hack is copyrighted by Philip Brown,
phil@bolthole.com
You may copy, install, and otherwise redistribute this package as you like,
without having to pay any fee, so long as it remain unchanged, and this notice
remain intact as the copyright notice.
## Processing package information.
## Processing system information.
2 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of [y,n,?] y
Installing isaexec – sneaky wrapper around Sun isaexec as
## Installing part 1 of 1.
[ verifying class ]
## Executing postinstall script.
Copying /usr/lib/isaexec to /opt/csw/bin/isaexec
Installation of was successful.
lsof
root@solaris:/tmp/lsof_solaris # pkgadd -d lsof-4.87\,REV\=2013.03.28-SunOS5.11-sparc-CSW.pkg
The following packages are available:
1 CSWlsof lsof – List open files
(sparc) 4.87,REV=2013.03.28
Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1
Processing package instance from </tmp/lsof_solaris/lsof-4.87,REV=2013.03.28-SunOS5.11-sparc-CSW.pkg>
lsof – List open files(sparc) 4.87,REV=2013.03.28
Please see /opt/csw/share/doc/lsof/license for license information.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
The following files are being installed with setuid and/or setgid
permissions:
/opt/csw/bin/sparcv8plus/lsof
/opt/csw/bin/sparcv9/lsof
Do you want to install these as setuid/setgid files [y,n,?,q] y
Installing lsof – List open files as
## Installing part 1 of 1.
/opt/csw/bin/sparcv8plus/lsof
/opt/csw/bin/sparcv9/lsof
/opt/csw/share/doc/lsof/license
/opt/csw/share/man/man8/lsof.8
[ verifying class ]
/opt/csw/bin/lsof
Installation of was successful.
Creating a link on /usr/sbin to the binary that was installed under /opt/csw
root@solaris:/usr/sbin # ln -s /opt/csw/bin/lsof lsof
Like this:
Like Loading...