[id='installing-openjdk'] = Installing OpenJDK To install OpenJDK from the Fedora repository: . Run the following command to list available versions: ---- $ dnf search openjdk ---- . Copy the version of OpenJDK you want to install. [NOTE] Various flavors of OpenJDK are available. For information about these options, search the link:http://openjdk.java.net/[OpenJDK web site]. * Run the following command to install OpenJDK: ---- # dnf install ---- For example: ---- # dnf install java-{1.8.0|11|latest}-openjdk.x86_64 ----