$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Keras on Rocky Linux 9 – Step by step

September 22, 2025 | By the+gnu+linux+evangelist.

GNU/Linux Rocky 9 Keras Installation Guide

How to Install Keras on Rocky 9 GNU/Linux – Step by step Tutorial.

And Keras for Rocky Linux 9 is a High-level Neural Networks API, written in Python and capable of Running on Top of TensorFlow, CNTK, or Theano.

It was Developed with a focus on enabling Fast Experimentation. Being able to go from Idea to Result with the least possible Delay is key to doing Good Research.

Before installing Keras, please install one of its backend engines: TensorFlow, Theano, or CNTK. Here is shown How to Install Recommended TensorFlow backend.

Finally, this guide includes detailed instructions on Getting Started with Keras on Rocky Linux.

How to Install Keras on Rocky Linux 9 – Step by step
  1. 1. Installing PIP

    How to Install Python PIP on Rocky GNU/Linux

    PIP Rocky Linux Installation Guide
  2. 2. Installing Keras

    Then to Install Keras on Rocky Linux.

    Keras is a component of the TensorFlow suite and so it’s installed toghether with it…
    So now for TensorFlow Stable Release CPU-only execute:
    pip3 install --user tensorflow
    Again to install a Specific Version use:
    pip install -Iv --user tensorflow==[MYVERSION]
    Just Replace in the above Command [MYVERSION] with the choosen one, Eg. “2.10”. But for a Python 2 Setup Change pip3 in pip… For Nightly build CPU-only (unstable):
    pip3 install --user tf-nightly
    GPU package for CUDA-enabled GPU cards:
    pip3 install --user tensorflow-gpu
    Nightly build with GPU support (unstable):
    pip3 install --user tf-nightly-gpu
    Finally, if instead you want to Install Only Keras:
    pip3 install --user keras
  3. 3. cuDNN Installation

    (Recommended if you plan on running Keras on GPU)
    How to Install cuDNN on Rocky Linux

    NVIDIA cuDNN Installation Guide
  4. 4. HDF5 & h5py Installation

    (Required if you plan on Saving Keras models to disk)
    To Setup HDF5.

    sudo yum install hdf5
    The for h5py do:
    pip3 install --user h5py
  5. 5. graphviz & pydot Installation

    (Used by visualization utilities to plot model graphs)
    .

    sudo yum install graphviz
    Finally, for pydot:
    pip3 install --user pydot

Contents