Solaris: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 5: Line 5:
== Open source packages for Solaris ==
== Open source packages for Solaris ==


* [http://www.sunfreeware.com/ Sunfreeware.com]
Packages do not always install in the same way. It's probably best to work with only one of these friendly providers ...
* [ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/ Solaris Freeware] (at the Swiss Switch mirror).
 
* [http://www.sunfreeware.com/ Sunfreeware.com]. Read the [http://www.sunfreeware.com/download.html Download and Installation Instructions] first. This archive is the one we are using at TECFA mostly.
** [ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/ Solaris Freeware] (FTP at the Swiss Switch mirror).
** [http://mirror.switch.ch/ftp/mirror/solaris-freeware/ (HTTP at the Swiss Switch mirror)
** Packages install mostly in /usr/local and /usr/local/bin should be in the path.
 
* [http://www.ibiblio.org/pub/packages/solaris/sparc/ Solaris Package Archive]. Read the [http://mirror.switch.ch/mirror/solaris-binaries/sparc/html/00README.packages.html Readme file] for more information.
* [http://www.ibiblio.org/pub/packages/solaris/sparc/ Solaris Package Archive]. Read the [http://mirror.switch.ch/mirror/solaris-binaries/sparc/html/00README.packages.html Readme file] for more information.
** [http://mirror.switch.ch/mirror/solaris-binaries/sparc/ Mirror at Switch] (Switzerland)
** [http://mirror.switch.ch/mirror/solaris-binaries/sparc/ Mirror at Switch] (Switzerland)
* [http://www.blastwave.org/ Open Source Software for Solaris] (Blastwave). See the [http://www.blastwave.org/howto.html HowTo file]
* [http://www.blastwave.org/ Open Source Software for Solaris] (Blastwave). See the [http://www.blastwave.org/howto.html HowTo file]
=== How to use the packaging system ===
# Gunzip the file
# Become root
# Type:
  pkgadd -d <filename>
E.g.
  pkgadd libpng-1.2.32-sol10-sparc-local
There can only be one version of a package. This means that you may have to remove old ones:
* Find it first. pkadd will tell you the name.
<pre>
The following packages are available:
  1  SMClibpng    libpng
                  (sparc) 1.2.32
</pre>
* Else, you can find a package that is installed by typing:
  pkginfo | grep <part_of_the_package_name>
* Then think hard if you could damage something by removing it. E.g. look at details first:
<pre>
pkginfo -l SMClibpng
  PKGINST:  SMClibpng
      NAME:  libpng
  CATEGORY:  application
      ARCH:  sparc
  VERSION:  1.2.12
  .....
</pre>
* Then remove it
  pkgrm <packagename>
E.g.
  pkgrm  SMClibpng 


[[Category: Installation tips]]
[[Category: Installation tips]]
[[Category: Technologies]]
[[Category: Technologies]]

Revision as of 16:56, 27 September 2008

Solaris pointers

This page includes a a few pointers for the Solaris operating system.

Open source packages for Solaris

Packages do not always install in the same way. It's probably best to work with only one of these friendly providers ...

How to use the packaging system

  1. Gunzip the file
  2. Become root
  3. Type:
 pkgadd -d <filename>

E.g.

 pkgadd libpng-1.2.32-sol10-sparc-local

There can only be one version of a package. This means that you may have to remove old ones:

  • Find it first. pkadd will tell you the name.
The following packages are available:
  1  SMClibpng     libpng
                   (sparc) 1.2.32
  • Else, you can find a package that is installed by typing:
 pkginfo | grep <part_of_the_package_name>
  • Then think hard if you could damage something by removing it. E.g. look at details first:
pkginfo -l SMClibpng
   PKGINST:  SMClibpng
      NAME:  libpng
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.2.12
  .....
  • Then remove it
 pkgrm <packagename>

E.g.

 pkgrm  SMClibpng