Solaris: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
Line 9: Line 9:
* [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.
* [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).
** [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)
** [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.
** Packages install mostly in /usr/local and /usr/local/bin should be in the path.


Line 22: Line 22:
# Become root
# Become root
# Type:
# Type:
  pkgadd -d <filename>
pkgadd -d <filename>
E.g.
E.g.
  pkgadd libpng-1.2.32-sol10-sparc-local
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:
There can only be one version of a package. This means that you may have to remove old ones:
Line 30: Line 30:
<pre>
<pre>
The following packages are available:
The following packages are available:
  1  SMClibpng    libpng
1  SMClibpng    libpng
                  (sparc) 1.2.32
(sparc) 1.2.32
</pre>
</pre>
* Else, you can find a package that is installed by typing:
* Else, you can find a package that is installed by typing:
  pkginfo | grep <part_of_the_package_name>
pkginfo | grep <part_of_the_package_name>
* Then think hard if you could damage something by removing it. E.g. look at details first:
* Then think hard if you could damage something by removing it. E.g. look at details first:
<pre>
<pre>
pkginfo -l SMClibpng
pkginfo -l SMClibpng
  PKGINST:  SMClibpng
PKGINST:  SMClibpng
      NAME:  libpng
NAME:  libpng
  CATEGORY:  application
CATEGORY:  application
      ARCH:  sparc
ARCH:  sparc
  VERSION:  1.2.12
VERSION:  1.2.12
  .....
.....
</pre>
</pre>
* Then remove it
* Then remove it
  pkgrm <packagename>
pkgrm <packagename>
E.g.
E.g.
  pkgrm  SMClibpng
pkgrm  SMClibpng


== HELP ==
* [http://sunsolve.sun.com/ SunSolve] The "official" knowledge destination for troubleshooting advice & best practices. It has the official handbooks.
** [http://docs.sun.com/app/docs/prod/solaris.10 solaris 10 docs]
* [http://www.bolthole.com/ Bolthole.com] is a mix of Solaris info, Java programming, and other techie tips
* [http://www.sunhelp.org/ sunhelp.org] Independent news, reviews, and reference information for users of Sun Microsystems' hardware and software products
* [http://www.uwsg.indiana.edu/usail/ Unix System Administration Independent Learning] (last updated 2006)
=== Specialized topics ===
(such stuff might be moved to a generic Unix page some day ...)
* [http://www.oregontechsupport.com/samba/ The Unofficial Samba HOWTO] by David Lechnyr.
* [http://xwinman.org/ Window Managers for X]


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

Revision as of 17:08, 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

HELP

Specialized topics

(such stuff might be moved to a generic Unix page some day ...)