unix

How do I install a package from SunFreeware.com?

To install a package from SunFreeware.com, you need to perform the following steps:

Go to sunfreeware.com and choose the appropriate processor and OS.

i.e. x86/Solaris 10

Navigate through the list of packages until you find the one you are looking for.  In this example, we’re going to install the wget package.

Since wget is not yet installed on your server, you can download it to your PC and scp it to your server using a tool like PuTTY’s pscp or a number of other tools.

To scp the downloaded file to your server, type the following command:

pscp /path/to/local/file username@server:/tmp

That will copy the local file you downloaded to your server.

ssh to your server and gunzip the package.

cd /tmp
gunzip wget-1.12-sol10-x86-local.gz
pkgadd -d wget-1.12-sol10-x86-local

It will prompt you to confirm you want to install the package.  Once you accept it, you’re done.

One thing to note is that packages at sunfreeware.com sometimes have dependencies, so you may need to install several other packages first.

wget for example says the following:

wget-1.12-sol10-x86-local.gz GNU Wget is a freely available network utility to retrieve files from the World Wide Web using HTTP and FTP – installs in /usr/local. Dependencies: openssl-1.0.0a, libiconv, libidn, libintl, and /usr/local/lib/libgcc_s.so.1 and /usr/local/lib/libstdc++.so.6 need to exist by installing libgcc-3.4.6 or gcc-3.4.6.

So if you didn’t have all of the dependencies wget won’t work as expected.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top