pkg-get quick install

CSW - pkg-get quick install page

source:http://www.opencsw.org/pkg-get

pkg-get is the original (and still going strong!) method of easily installing CSW pacakges. Once you install it, you will then be able to install the rest of our packages, as easily as doing
pkg-get install firefox
Also, see lower down for a summary of pkg-get commands
Short-cut for Solaris 10+ users:

 

# pkgadd -d http://www.opencsw.org/pkg_get.pkg 



You can then optionally edit /opt/csw/etc/pkg-get.conf to choose a mirror site that is better for you than the default. (you may also choose to instead create an override file, /etc/opt/csw/pkg-get.conf)

 

For users of earlier systems, please follow the instructions below


Solaris 8 and 9 users:

First, download the pkg-get package file.
md5sum is c7c34f5f92495c13ba5c72ae2291ac6e (version 4.2.1)
Don't forget to use "save as..." or shift-click, if you need to.
Install it with
pkgadd -d pkg_get.pkg

(older version 3.8.4 is still available: pkg_get-3.8.4-SunOS5.8-all-CSW.pkg: md5sum 4121665c56b38967124d618a379c45a2)

 

Next, if you dont have wget installed, grab either wget-i386.bin or wget-sparc.bin, save as "wget" somewhere in your $PATH, and dont forget to "chmod 0755 wget".
(If you have Solaris 9 or Solaris 10 then you probably already have it in /usr/sfw/bin)

You also need gzip "somewhere" in your PATH. Most people do these days, unless you did a minimalist "Core install" of Solaris.

Add /opt/csw/bin to root's PATH

You should now be able to run pkg-get as root, and install packages. But you might want to compare the configured url in /opt/csw/etc/pkg-get.conf, with what your nearest mirror site would be.

See the official package mirrors page for the list of mirrors, and instructions on how to use different mirror sites.


Patches needed

If you run into pkgadd problems, you will need to add sun's pkgadd patches:
Sparc: 110934
X86 : 110935
Solaris 9:
Sparc: 113713
X86 : 114568


Short summary of pkg-get usage mirrors page to try a site other than the default one.

pkg-get -a           (shows "available" packages)
pkg-get -c           ("compares" what you have installed, to mirror site)
pkg-get -i openldap  (installs openldap, and all libraries it depends on)
pkg-get -D open      (searches for software with 'open' in the description)
pkg-get -U -u        (upgrades all installed CSW packages to the latest)

If/when you get messages about packages not found, or unavailable, you probably want to just update your local copy of the catalog, with

pkg-get -U

For best download speed, see our

For more details details on what pkg-get can do, see the original pkg-get home page, at www.bolthole.com, and/or, "man pkg-get"

 

 

lynty.com

What is your Linux Desktop OS?











Who's Online+

  • [Bot]
Now online:
  • 1 robot
Total members: 0

Who's Online

We have 1 guest online

Statistics

Content View Hits : 6265