Ceph devel packages

Latest response

How do I download the Ceph devel packages from the Red Hat Ceph repos? I have RHCS subscriptions and am not clear on which repo's I need to enable to download devel packages to build ceph.
Thanks.
Bruce

Responses

Bruce,

Do you mean the Ceph source RPM? Would you like to rebuild it on your system? If so, it's in a repository whose name is similar to the one from which you can download/install the binary RPM but ends with -source-rpms. Anyway, the actual command that should take care of everything is:

yumdownloader --source ceph

Note that the source RPM may build-requires some packages that aren't shipped in RHEL. For example, I know that yasm is needed but it's only in EPEL. (In other words, Ceph Storage is not a self-hosting product when it comes to package rebuilds.)

Bruce,

Unfortunately I can't find the ceph-devel packages in repo's I have access to as I don't have a Ceph subscription, but you may have more luck looking in the Customer Portal using your subscription:

Downloads -> RPM Package Search

It would be unfortunate if they weren't included as they are available for RHEL 6 and RHEL 7 (CentOS) direct from upstream's repo http://download.ceph.com/rpm-giant/

I guess if you're rolling your own.. using the CentOS versions might not be an issue if there are no other options.

There's no ceph-devel as of ceph version 0.94, AFAIK. Maybe you're looking for librados2-devel?

# rpm -q --obsoletes librados2-devel
ceph-devel

Depends on what you're trying to achieve. You certainly don't need that package in order to rebuild ceph; that would be a chicken-and-egg problem.

Thank you for the pointer to "yumdownloader --source ceph" I'll see how that works on the next build server I setup. I was able to download everything required to build Ceph on a registered RHEL 7.1 system by enabling the following the following optional and supplemental rhel-7 repo's and the fedora EPEL repo: subscription-manager repos --enable rhel-7-server-optional-rpms subscription-manager repos --enable rhel-7-server-supplementary-rpms EPEL: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm OR rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

After enabling these repo's the Ceph "install-deps.sh" script runs to completion without error and I was able to build Ceph.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.