Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardinfo doesn't find software in /opt #701

Open
SKelem opened this issue Sep 15, 2023 · 1 comment
Open

Hardinfo doesn't find software in /opt #701

SKelem opened this issue Sep 15, 2023 · 1 comment

Comments

@SKelem
Copy link

SKelem commented Sep 15, 2023

A lot of software lives in /opt, particularly java:

├── docs
├── jdbc
├── jdk
├── jni
├── jre
├── junit
└── slf4j

The jdk looks like:

├── jdk-17.0.1
│   ├── bin
│   ├── conf
│   ├── include
│   ├── jmods
│   ├── legal
│   ├── lib
│   ├── LICENSE -> legal/java.base/LICENSE
│   ├── man
│   └── release
├── jdk-20.0.1
│   ├── bin
│   ├── conf
│   ├── include
│   ├── jmods
│   ├── legal
│   ├── lib
│   ├── LICENSE -> legal/java.base/LICENSE
│   ├── man
│   ├── README
│   └── release
├── latest -> jdk-17.0.1
└── old
    ├── jdk-12.0.2
    ├── jdk-16.0.2
    ├── jdk1.8.0_102
    ├── jdk1.8.0_144
    └── jdk1.8.0_191

Is there a way to get hardinfo to look in /opt?

@lpereira
Copy link
Owner

As long as binaries are in path (e.g. $PATH contains /opt/latest/bin in your case), HardInfo should be able to find things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants