0

libhyperic-sigar-java: (System Information Gatherer And Reporter - Java bindings)

I know the way to install "libhyperic-sigar-java" in ubuntu to use

sudo apt-get install libhyperic-sigar-java

Now I want to install libhyperic-sigar-java in CentOS

How should I do ? Any RPM I can use ?

kevin5476
  • 5
  • 4

2 Answers2

1

If you are using java, take a look to Kamon Sigar Loader

Provides convenient self-contained Sigar classes with native library deployment and provisioning mechanism with JDK-only dependencies for the following common use cases:

  • Java Agent: automatic extract/load at JVM start time
  • Programmatically: embedded library extraction
  • Framework Contract: OSGI bundle activation

here the documentation.

Diego Parra
  • 131
  • 3
0

you should use yum. First search for the exact package name:

yum search java

then when you have found the exact name:

yum install libhyperic-sigar-java

(or whatever the exact package name might be)

Chris Maes
  • 35,025
  • 12
  • 111
  • 136
  • There's no any sigar package I can install, no matches found – kevin5476 Apr 13 '16 at 01:27
  • then there are two options: 1. you search the sigar rpm on the internet, download it and install it. 2. you search the sigar rpm on the internet, look what is the repository in which it is located and add that repository – Chris Maes Apr 13 '16 at 07:01
  • because I can't find out the rpm before so that I asked this question, finally I got the solution. I download sigar deb pkg and converted to rpm. probably It can work. thanks for your suggestion. – kevin5476 Apr 14 '16 at 08:05