Popular Posts

Showing posts with label package. Show all posts
Showing posts with label package. Show all posts

May 10, 2018

Install Expect and Tcl package on Solaris 10

Install Expect and Tcl package on Solaris 10

APPLIES TO : Solaris 10

ISSUE : By default Solaris 10 OS will not have expect and TCL package installed, 

GOAL :  Install expect package and TCL package in Solaris 10,

SOLUTION : Download the latest expect and TCL package from sourceforge site or the version expect5.45.3  tcl8.6.8

1.     Download the expect and tcl packages
                    expect - sourceforge -  Download  
                    tcl - tcslsite - Download

2.     Unzip the gz files
                    gzip -d expect5.45.3.tar.gz
                    gzip -d tcl8.6.8-src.tar.gz

3.     Extract the tar files
                    tar -xvf tcl8.6.8-src.tar
                    tar -xvf expect5.45.3.tar

4.     Add /usr/sfw/bin, /usr/local/bin and /usr/ccs/bin to your path, and export it

5.     Set the CC environment variable to the value gcc and export it

6.     Configure and Installing Tcl binary, cd to the extracted directory and into the directory name unix
                    cd /var/tmp/tcl8.6.8-src/unix
                    ./configure
                    make
                    make test       # To check that the build is worked
                    make install   # Install the Tcl package in place, Installed command will be available under /usr/local/bin/tclsh8.4

7.     Configure and Installing expect binary, cd to the extracted directory
                    cd /var/tmp/expect5.45.3
                    ./configure
                    make expect    # Does the build.
                    make install    # Install the expect package, The command is under /usr/local/bin/expect

8.     Verify the command availability
                    which expect
                   /usr/local/bin/expect 


~Judi~
install expect in solaris
download expect package for solaris 10
how to install expect package on solaris 10
solaris 10 packages download
expect command in solaris
how to check if expect is installed in solaris
expect download for solaris
expect package for solaris 11
how to install expect on solaris
expect package on sun solaris 10
Installing expect



Dec 20, 2016

pkg administration in solaris 11

pkg administration in solaris 11



1. To view Solaris 11 package version
    A package called entire is the primary incorporation package that determines the overall state of a system.
     pkg info entire

Table 1. FMRI elements
FMRI SegmentValueDescription
publishersolarisPublisher
nameentirePackage name
component_version0.5.11Component version
release5.11Release version, for example, Oracle Solaris 11
branch_version0.175.3.14.0.6.0Branch version
timestamp20161110T164958ZPackage time stamp (ISO 8601 UTC format)


OR

2. Determining Oracle Solaris 11 OS Package Update Version (Kernel Version)
      pkg info kernel

3. Update a Solaris 11 server from repository with latest SRU
     pkg update --accept

4. To view the configured publishers (repo servers)
      pkg publisher

5. To determine whether the installadm package is already installed on this system
      pkg list installadm

6. Make sure your IPS package repository contains the installadm package
     pkg list -a installadm

7. Install a package from repository
     pkg install install/installadm

8. To view the details of a package
      pkg info installadm

9. To list content or associated files of a package
      pkg contents nano

10. To uninstall a package from solaris 11 server
        pkg uninstall editor/nano


11. Upgrade the packages by relaxing the version lock
        pkg list | grep "network/ntp"
        pkgrepo list -s http://192.168.1.10 | grep "network/ntp"
        pkg update service/network/ntp@4.2.8.9,5.11-0.175.3.17.0.1.0
        pkg contents -m userland-incorporation | grep "service/network/ntp"
        pkg change-facet facet.version-lock.service/network/ntp=false
        pkg update service/network/ntp@4.2.8.9,5.11-0.175.3.17.0.1.0   OR
        pkg update service/network/ntp

12. Set Package publisjer
        pkg set-publisher -G '*' -M '*' -g http://10.192.168.10 solaris

~
pkg administration in solaris 11;
install package in solaris 11;
solaris 11 package installation;
pkg update solaris 11
pkg info entire

info pkg
~

Popular Posts