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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...