Thursday, October 15, 2009

How to Install and configure pkg-get

1) Download to pkg-get from any one of the links.
http://www.opencsw.org/pkg-get
http://www.bolthole.com/solaris/pkg-get.html
2) Install the package using.
pkgadd -d installed_path_of_pkg-get_package
3) Export the proxy variable
export http_proxy=IP:port
or
edit the pkg-get.conf file and add the below line under the section
# if you are behind a firewall, set these as appropriate#ftp_proxy=http://your-proxy:8023#
or#http_proxy=http://your-proxy:8023#export http_proxy ftp_proxy
export http_proxy=IP:port
4) Try to install a package using pkg-get (i am trying to use mutt)
pkg-get install mutt
The above syntax can only used if you have installed pkg-get from http://www.opencsw.org/pkg-get site. If you use the other linke you have to use pkg-get -i mutt
pkg-get will install mutt with all the depended packages.

No comments:

Post a Comment