I'm trying to install JDK on elementaryOS 0.3, but I'd like to do it in a FHS-compliant way. I've read a couple of answers about this topic, and a lot of them state that a program could be installed in /usr/local/
. I was going to create a java folder in /usr/local
, but before to do that, I started to read the FHS 3. It said the following:
4.9.2. Requirements
The following directories, or symbolic links to directories, must be in /usr/local
Directory Description
- bin Local binaries
- etc Host-specific system configuration for local binaries
- games Local game binaries
- include Local C header files
- lib Local libraries
- man Local online manuals
- sbin Local system binaries
- share Local architecture-independent hierarchy
- src Local source code
No other directories, except those listed below, may be in /usr/local after first installing a FHS-compliant system.
This means that I have to unzip the JDK file and put, for example, the JDK's bin folder inside of /usr/local/bin
, JDK's manuals in /usr/local/man
, and so on with the other folders?
/opt
directory which is FHS compliant... Each user gets their source code in a centralized location. – eyoung100 Jun 20 '15 at 01:07