2

Can any one suggest a command to download the package from the interent in the solaris box?

Thanks in advance.

user2400564
  • 4,619
  • 7
  • 24
  • 27

3 Answers3

2

See https://stackoverflow.com/a/14584664/141978 from RaamEE:

The wget command in Solaris 10 is somewhat hidden from sight.

You can find it here

/usr/sfw/bin/wget

This was checked on s10u10

Then use /usr/sfw/bin/wget <url>

Community
  • 1
  • 1
Mythica
  • 1,112
  • 10
  • 19
1

It's hard to tell as you provide few information but wget is a common tool to retrieve things from the Internet.

wget http://server/package.zip

If a Solaris package, pkgadd also supports URLs:

pkgadd -d http://server/package.pkg  
jlliagre
  • 29,783
  • 6
  • 61
  • 72
0

I once needed to get wget installed on old remote Solaris 8 server (there is no /usr/sfw/ on Solaris 8).

So, after some web surfing, I did the following:

  1. Downloaded wget-1.10.2-sol8-sparc-local.gz from http://download.nust.na/pub3/solaris/sparc/5.8/ to my Windows machine (where I always have 7-Zip installed)
  2. Extracted wget-1.10.2-sol8-sparc-local.gz
  3. Uploaded resulting package wget-1.10.2-sol8-sparc-local into Solaris server
  4. Under root user executed pkgadd -d wget-1.10.2-sol8-sparc-local

Right away you can start using it as wget <URL>.

RAM237
  • 903
  • 11
  • 17