Installation

.Z file does not contain pkg file for Solaris 6.2.1

tmahfoudi
New Member

Hello,

I am trying to install splunk on Solaris. However, I don't see any pkg file from .z file although I extracted it. Where can I get 6.2.1 pkg file for Solaris?

Thanks,

Labels (1)
0 Karma

tmahfoudi
New Member

Hi @aljohnson_splunk,

Would you mind, can you provide me full link of wget URL 6.2.1 splunk?

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

Hi @tmahfoudi; you can generate your own on the right side of the download page

0 Karma

tmahfoudi
New Member

Hi @aljohnson_splunk

I think you don't fully understand my question. I am not asking whether I can't download .Z file or not. The link has pkg.Z file but when you hit the download button, it will download as .Z file instead of pkg.Z file. I think the link is pointing to wrong location.

From my testing with wget or direct link,

It will save the file as splunk-6.2.1-245427-solaris-10-sparc.z instead of splunk-6.2.1-245427-solaris-10-sparc.pkg.Z

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee
aljohnson@aljohnson-mbp15 :
~/test
$ wget -O splunk-6.2.1-245427-solaris-10-intel.pkg.Z 'http://www.sp... (truncated)
100%[=====================================================================================================================================>] 139,730,839 5.48MB/s   in 33s    

2015-01-09 11:23:04 (4.03 MB/s) - 'splunk-6.2.1-245427-solaris-10-intel.pkg.Z' saved [139730839/139730839]


aljohnson@aljohnson-mbp15 :
~/test
$ file splunk-6.2.1-245427-solaris-10-sparc.pkg.Z 
splunk-6.2.1-245427-solaris-10-sparc.pkg.Z: compress'd data 16 bits

aljohnson@aljohnson-mbp15 :
~/test
$ uncompress splunk-6.2.1-245427-solaris-10-sparc.pkg.Z 

aljohnson@aljohnson-mbp15 :
~/test
$ file splunk-6.2.1-245427-solaris-10-sparc.pkg 
splunk-6.2.1-245427-solaris-10-sparc.pkg: pkg Datastream (SVR4)
0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

On the download page, select the pkg.Z file:
alt text

As you mentioned, the first you thin you need to do is uncompress:
uncompress splunk-6.2.1.pkg.Z
The uncompressed file will have the same file name, minus the Z, in the same directory.

Secondly, you'll need to
pkgadd -d ./splunk-6.2.1.pkg

After that, a list of the available packages is displayed.

Select the packages you wish to process (the default is "all").
The installer then prompts you to specify a base installation directory.

To install into the default directory, /opt/splunk, leave this blank.

Documentation here

tmahfoudi
New Member

Basically Z file does not contain any PKG file.

0 Karma

ppablo
Retired

Hi @tmahfoudi

Please be sure when responding to @aljohnson_splunk, type in the "Add your comment..." box directly below his response. Right now you keep going to the very bottom of the page and typing in "Enter your answer here..." which is posting a brand new answer each time when you're really trying to leave a comment. This will maintain the proper flow of the conversation. Thanks!

0 Karma

tmahfoudi
New Member

Once I click the pkg.Z file, it will change to .Z file ans download as .Z instead of pkg.Z file. Can you try and download whether you can download as pkg.z file or not?

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

I tested it to make sure; the public link does indeed download a pkg.Z. What you might want to try is doing the wget option: alt text

0 Karma

tmahfoudi
New Member

The problem is that I did not see "splunk-6.2.1.pkg.Z" file from the Splunk download website. When I click the link for pkg.z file, it download as sparc.z file instead of pkg.z file.

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

Just download the pkg.Z file. I uploaded a screenshot. You can download Splunk for free !

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...