Instalation of IPS freeware SW into OpenSolaris or Indiana

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 ?

Comments:

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. :-)

Posted by Dennis Clarke on August 27, 2008 at 10:18 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Hands-on experience with Virtualization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today