GlusterFS install on AlmaLinux

Hi! What is the preferred way to install Glusterfs-server. I used to use these commands, but now it not works,

yum install centos-release-gluster
yum install glusterfs-server

Thanks.

Hi @babazs Currently, you can install gluster using the extras repo from CentOS 8: CentOS Mirror

2 Likes

Hi Jack ,can you help me detail install gluster-server ? thanks

So You menat that I need to link repo from centOS to Alma linux 8.5? for install glusterfs-server ?

GlusterFS is not in RHEL 8. Therefore, it is not in Alma 8, nor it ever was in CentOS 8.

However, there are CentOS SIGs (special interest groups) that do build specific applications for EL. The CentOS SIGs
One of them is the Storage SIG: SpecialInterestGroup/Storage - CentOS Wiki

From Alma’s viewpoint the CentOS SIGs are third-party repos, just like EPEL and ELRepo.

The twist is that while Storage SIG did originally build for CentOS Linux 8, it did shift to building only for CentOS Stream 8 and not for EL8. Packages built for Stream may or may not function on EL8 (like Alma).

i’m not sure how wise it is (hasn’t everyone moved to ceph or just nfs4?) but you can rebuild the fedora38 srpm for alma9, i did it using mock as there’s a boatload of rpm’s to build and dependencies from epel, but it only takes 8mins:

# install mock:
sudo dnf install -y epel-release
sudo dnf install -y mock

# add user to mock group:
sudo usermod -aG mock <your username>
newgrp mock

# download fedora srpm:
curl -O https://kojipkgs.fedoraproject.org//packages/glusterfs/10.3/1.fc38/src/glusterfs-10.3-1.fc38.src.rpm

# setup chroot:
mock -r alma+epel-9-x86_64 --init

# rebuild:
mock -r alma+epel-9-x86_64 rebuild glusterfs-10.3-1.fc38.src.rpm 

Then you have this lot in /var/lib/mock/alma+epel-9-x86_64/result/

glusterfs-10.3-1.el9.src.rpm
glusterfs-10.3-1.el9.x86_64.rpm
glusterfs-cli-10.3-1.el9.x86_64.rpm
glusterfs-cli-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-client-xlators-10.3-1.el9.x86_64.rpm
glusterfs-client-xlators-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-cloudsync-plugins-10.3-1.el9.x86_64.rpm
glusterfs-cloudsync-plugins-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-debugsource-10.3-1.el9.x86_64.rpm
glusterfs-events-10.3-1.el9.x86_64.rpm
glusterfs-extra-xlators-10.3-1.el9.x86_64.rpm
glusterfs-extra-xlators-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-fuse-10.3-1.el9.x86_64.rpm
glusterfs-fuse-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-ganesha-10.3-1.el9.x86_64.rpm
glusterfs-geo-replication-10.3-1.el9.x86_64.rpm
glusterfs-geo-replication-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-resource-agents-10.3-1.el9.noarch.rpm
glusterfs-server-10.3-1.el9.x86_64.rpm
glusterfs-server-debuginfo-10.3-1.el9.x86_64.rpm
glusterfs-thin-arbiter-10.3-1.el9.x86_64.rpm
glusterfs-thin-arbiter-debuginfo-10.3-1.el9.x86_64.rpm
libgfapi0-10.3-1.el9.x86_64.rpm
libgfapi0-debuginfo-10.3-1.el9.x86_64.rpm
libgfapi-devel-10.3-1.el9.x86_64.rpm
libgfchangelog0-10.3-1.el9.x86_64.rpm
libgfchangelog0-debuginfo-10.3-1.el9.x86_64.rpm
libgfchangelog-devel-10.3-1.el9.x86_64.rpm
libgfrpc0-10.3-1.el9.x86_64.rpm
libgfrpc0-debuginfo-10.3-1.el9.x86_64.rpm
libgfrpc-devel-10.3-1.el9.x86_64.rpm
libgfxdr0-10.3-1.el9.x86_64.rpm
libgfxdr0-debuginfo-10.3-1.el9.x86_64.rpm
libgfxdr-devel-10.3-1.el9.x86_64.rpm
libglusterd0-10.3-1.el9.x86_64.rpm
libglusterd0-debuginfo-10.3-1.el9.x86_64.rpm
libglusterfs0-10.3-1.el9.x86_64.rpm
libglusterfs0-debuginfo-10.3-1.el9.x86_64.rpm
libglusterfs-devel-10.3-1.el9.x86_64.rpm
python3-gluster-10.3-1.el9.x86_64.rpm