Manual Installation - OpenNebula Repositories for Community Edition

The Community Edition of OpenNebula offers the full functionality of the Cloud Management Platform. You can configure the Community Edition repositories as follows:

AlmaLinux/RHEL

Some dependencies require enabling the CodeReady Linux Builder repository:

crb enable

To add the OpenNebula repositories, execute the following commands as user root:

RHEL 9, 10

cat << "EOT" > /etc/yum.repos.d/opennebula.repo
[opennebula]
name=OpenNebula Community Edition
baseurl=https://downloads.opennebula.io/repo/7.4/RedHat/$releasever/$basearch
enabled=1
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT
yum makecache

AlmaLinux 9, 10

cat << "EOT" > /etc/yum.repos.d/opennebula.repo
[opennebula]
name=OpenNebula Community Edition
baseurl=https://downloads.opennebula.io/repo/7.4/AlmaLinux/$releasever/$basearch
enabled=1
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT
yum makecache

Debian/Ubuntu

First, add the repository signing GPG key on the Front-end by executing the following as user root:

wget -q -O- https://downloads.opennebula.io/repo/repo2.key | gpg --dearmor --yes --output /etc/apt/keyrings/opennebula.gpg

Debian 12

echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.4/Debian/12 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Debian 13

echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.4/Debian/13 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Ubuntu 24.04

echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.4/Ubuntu/24.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Ubuntu 26.04

Ubuntu 26.04 ships Node.js 22 in its base repositories, but OpenNebula FireEdge requires Node.js 20, which is provided by the OpenNebula repository. Add an APT pin so that apt installs Node.js 20 from the OpenNebula repository instead of the newer version shipped by Ubuntu:

cat << "EOT" > /etc/apt/preferences.d/opennebula-nodejs
Package: nodejs
Pin: release o=OpenNebula
Pin-Priority: 600
EOT
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.4/Ubuntu/26.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

SUSE

SUSE Linux Enterprise Server 15 SP7

Execute the following commands as user root:

arch=$(uname -m)

SUSEConnect -p PackageHub/15.7/$arch
SUSEConnect -p sle-module-public-cloud/15.7/$arch
SUSEConnect -p sle-module-desktop-applications/15.7/$arch

rpm --import https://downloads.opennebula.io/repo/repo2.key

cat << "EOT" > /etc/zypp/repos.d/opennebula.repo
[opennebula]
name=OpenNebula Community Edition
enabled=1
autorefresh=1
baseurl=https://downloads.opennebula.io/repo/7.4/SLES/15/$basearch
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT

zypper refresh

openSUSE Leap 16.0

openSUSE Leap 16.0 requires the OpenNebula repository and the openSUSE Science repository for SciPy. Execute the following as user root:

rpm --import https://downloads.opennebula.io/repo/repo2.key

cat << "EOT" > /etc/zypp/repos.d/opennebula.repo
[opennebula]
name=OpenNebula Community Edition
enabled=1
autorefresh=1
baseurl=https://downloads.opennebula.io/repo/7.4/openSUSE/16/$basearch
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT

zypper ar -f https://download.opensuse.org/repositories/science/16.0/ science
zypper refresh

Next Steps

After configuring the OpenNebula Community Edition repositories, you can proceed to install the OpenNebula Front-end. Continue to the Single Front-end Installation Documentation to complete the installation.