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.2/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.2/AlmaLinux/$releasever/$basearch
enabled=1
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT
yum makecache
Debian/Ubuntu
If the commands below fail, ensure you have gnupg, wget and apt-transport-https packages installed and retry:
apt-get update
apt-get -y install gnupg wget apt-transport-https
First, add the repository signing GPG key on the Front-end by executing the following as user root:
If /etc/apt/keyrings does not exist, create it:
mkdir -p /etc/apt/keyrings
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.2/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.2/Debian/13 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update
Ubuntu 22.04
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.2/Ubuntu/22.04 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.2/Ubuntu/24.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.2/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.2/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/openSUSE_Leap_16.0/ science
zypper refresh
GIVE FEEDBACK
Was this resource helpful?
Glad to hear it
Sorry to hear that