Install SageMath in Red Hat Enterprise Linux Server

369 views
Skip to first unread message

SAMANTA

unread,
Feb 3, 2022, 12:55:14 PM2/3/22
to sage-devel
Hi all,
I want to use SageMath on my Red Hat Enterprise Linux Server (version 7.9). The mentioned binaries (in http://ftp.riken.jp/sagemath/linux/64bit/index.html ) are for Ubuntu and Debian, but there is no such option for Red Hat. Could you suggest which distribution and packages I should install for SageMath in my server? Or is there any need for the installation of some additional packages?
The details of my server, along with its gcc version, are written in the attached file.

Thanks
Details_Red Hat Enterprise Linux Server.txt

Isuru Fernando

unread,
Feb 3, 2022, 1:12:20 PM2/3/22
to sage-devel

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/9887c5ca-740d-4fae-a166-bb87656ce3den%40googlegroups.com.

SUSANTA SAMANTA

unread,
Feb 3, 2022, 1:45:09 PM2/3/22
to sage-devel
Is there any other option without using conda? Like installation in Ubuntu by some binaries.

Dima Pasechnik

unread,
Feb 3, 2022, 1:50:19 PM2/3/22
to sage-devel
RedHat 7.9 is quite old, we don't build binaries for it. Conda would
be a quick installation too, by the way.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAN3kT1KdYh%3DyLPQW_cVRrq%2B-EqZVTak0g6R3chQc1eGUEZyu6Q%40mail.gmail.com.

SUSANTA SAMANTA

unread,
Feb 3, 2022, 2:08:54 PM2/3/22
to sage-devel
Thanks Isuru and Dima.
I would like to know whether there is any binary for the latest version of Red Hat.

Dima Pasechnik

unread,
Feb 3, 2022, 2:22:58 PM2/3/22
to sage-devel
On Thu, Feb 3, 2022 at 7:08 PM SUSANTA SAMANTA
<susantas...@gmail.com> wrote:
>
> Thanks Isuru and Dima.
> I would like to know whether there is any binary for the latest version of Red Hat.

I don't think there are any (there could be some more on the,
currently down, server files.sagemath.org, but it's just a guess).

You'd have to build from source - I suppose you'd start by installing
sufficiently modern development tools,
if you don't have them yet, see
https://developers.redhat.com/HW/gcc-RHEL-7
(otherwise it looks like you'd have to build them anyway).

Using conda would be a much easier task.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAN3kT1JW11uCsHqF2gbr7nw0J%2B2vcyPSO2SN3Muwv3xatdQsMw%40mail.gmail.com.

Matthias Koeppe

unread,
Feb 3, 2022, 2:31:05 PM2/3/22
to sage-devel
Adding to this: The SageMath project does not provide binaries for Redhat and its variants.
However, the Fedora project does maintain a SageMath package. See https://repology.org/project/sagemath/versions

RedHat has a process for users to request Fedora packages to be added to EPEL (Extra Packages for Enterprise Linux), see https://docs.fedoraproject.org/en-US/epel/ and https://docs.fedoraproject.org/en-US/epel/epel-package-request/

SUSANTA SAMANTA

unread,
Feb 3, 2022, 2:42:04 PM2/3/22
to sage-devel
Thanks to all.
I have installed SageMath using conda and it was easy.🙂

Reply all
Reply to author
Forward
0 new messages