How do I install solaris software?



  • # pkgadd -d . "name_of_package"
    

    The -d is the destination of the packages, if the packages are in the default location /var/spool/pkg then you do not need the -d, the above command had destination and "dot" the current directory
    For example, let's say the package SUNWsneep was in a directory /var/tmp, do the following:

    # cd /var/tmp
    # pkgadd -d . SUNWsneep
    

    To install a package from a single file, not a package made from a directory structure, install excluding the "dot"
    For example SUNWscat come in the format SUNWscat4.1.pkg.gz, to install this do the following:
    Change directory to where the file is.

    # gzip -d SUNWscat4.1.pkg.gz
    # pkgadd -d SUNWscat4.1.pkg
    
    The following packages are available:
      1  SUNWscat     Solaris Crash Analysis Tool (4.1 Build 526)
                      (sparc) 4.1
    
    Select package(s) you wish to process (or 'all' to process
    all packages). (default: all) [?,??,q]:
    

Log in to reply
 

© Lightnetics 2024