Virtual Guru's Blog – Home of Virtualization Workshops

May 5, 2008

Instalation of IPS freeware SW into OpenSolaris or Indiana

Filed under: amazon_aws, cloud, ips, opensolaris, pkg, Virtualization — natiku @ 6:01 am

New SUN IPS packaging with network based repositories simplify installation of third-party SW to OpenSolaris or Indiana, you don’t need any more to deal with Companion CD or manual packages + dependencies download, install. Great !

This entry is part of ‘OpenSolaris on Amazon EC2’ Workshop


1) There are two main proved my time sources for Free Solaris related stuff

2) Both popular sources also provide new IPS based repositories

3) Check if IPS repos are OK and what packages are there

Note: I will personally set up only one REPO, but here for demo purpose I will set up both.

Go to URLs with WEB browser, you will get IPS repository summary and latest IPS packages list, see following:

From SunFreware (Use IPSSF as IPS pkgs prefix)
  pkg server ok
Statistics
Number of packages: 686
Number of in-flight transactions: 10
Number of catalogs served: 133
Number of manifests served: 3596
Number of files served: 17
Number of flists requested: 1178
Number of files served by flist: 75784
Number of packages renamed: 0
Catalog
pkg:/IPSFWgcmn@0.5.11,5.11-2.15:20080215T052251Z
....
From BlastWave (Use IPS as IPS pkgs prefix)
 pkg server ok
Statistics
Number of packages: 49
Number of in-flight transactions: 59
Number of catalogs served: 27
Number of manifests served: 1019
Number of files served: 0
Number of flists requested: 1877
Number of files served by flist: 86341
Number of packages renamed: 0
Catalog
pkg:/IPSbzip2@0.5.11,5.11-2.11:20080220T042824Z
....

As you can see some packages are not converted yet to IPS, reason are dependencies. For example my favorite MC (Midnight Commander) is still missing 😦

4) Add Free repositories to your IPS / PKG tools configuration

pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware
pkg set-authority -O http://blastwave.network.com:10000 blastwave
pkg authority -H
blastwave                                 http://blastwave.network.com:10000/
sunfreeware                               http://pkg.sunfreeware.com:9000/
opensolaris.org (preferred)               http://pkg.opensolaris.org/
pkg refresh

5) Lets install some Free stuff

For example popular terminal SW screen (demonstrating dry-run and automatic selection of dependencies)

pkg search -r  screen
INDEX      ACTION    VALUE                     PACKAGE
basename   dir       opt/sfw/share/screen      pkg:/IPSFWscrn@0.5.11-2.15
pkg install -n -v IPSFWscrn
Before evaluation:
UNEVALUATED:
+pkg://sunfreeware/IPSFWscrn@0.5.11,5.11-4.29:20080430T013632Z
After evaluation:
None -> pkg://sunfreeware/IPSFWscrn@0.5.11,5.11-4.29:20080430T013632Z
None -> pkg://sunfreeware/IPSFWter@0.5.11,5.11-4.29:20080430T013329Z
None -> pkg://sunfreeware/IPSFWncur@0.5.11,5.11-4.29:20080430T013201Z
pkg install IPSFWscrn
DOWNLOAD                                    PKGS       FILES     XFER (MB)
IPSFWscrn                                   0/3       0/1726     0.00/7.26

6) Want more free stuff in IPS format and How you can help ?

Advertisements

1 Comment »

  1. Midnight Commander. OKay .. I hear you. I just need to get these Samba packages and Ruby packages and the new GCC 4.3.2 packages out the door and then I’ll get right on that. 🙂

    Comment by Dennis Clarke — August 27, 2008 @ 5:18 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: