Thank you sir.

Yesterday night, I followed instructions from these two sites:

Firstly, I installed miniconda and activated automatically initialization
of conda using this site:
https://deeplearning.lipingyang.org/2018/12/24/install-miniconda-on-centos-7-redhat-7/
.
Then, I installed sage using commands from this site:
https://huyle84.github.io/2021-04-06-install-sagemath-on-linux-using-miniconda/
. And to launch the sagemath in centos, I used the instructions from this
site: https://doc.sagemath.org/html/en/installation/launching.html.
And yes now its working fine.

Thank you very much sir.
But I am providing all commands here, in case if any other user needs it.

*Step 1:* Open a Terminal window, type

$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

*Step2: * Run the following bash script to install it

$ sh Miniconda3-latest-Linux-x86_64.sh

*Step3:* To make the changes take effect, close the terminal and open a new
Terminal window.

*Step 4:* Test conda

In the newly open Terminal window, type the following

$ conda -V

# If you see something like the following, it means Miniconda is
successfully installed on your Linux OS.

conda 4.5.11

*Step 5:* Using Conda to install Mamba (This way is recommended to get a
better speed) as follows:

       $ conda install mamba -c conda-forge

*Step 6:* Using Mamba to install SageMath

       $ mamba create -n sage sage -c conda-forge

*Step 7:* Every time we use SageMath, we activate SageMath in Conda by the
command (in Terminal):

       $ conda activate sage

*Step 7:* Launch Sagemath using any of the given two command:

       $ sage -n jupyter
       $ sage -n jupyter --port 8899


Best wishes,
Jyoti


On Wed, Feb 28, 2024 at 4:25 AM Matthias Koeppe <matthiaskoe...@gmail.com>
wrote:

> That's normal. In Sage we only maintain one list of packages for the whole
> family of distributions (CentOS, CentOS stream, RHEL, Fedora).
> Only the newest versions of Fedora have all the packages.
>
> However, likely on your system you will not be able to build Sage.
> We test centos-7 only on a configuration with updated compilers,
> "devtoolset-gcc_11".
> See the file build/pkgs/gcc/SPKG.rst for details.
>
> On Tuesday, February 27, 2024 at 5:30:06 AM UTC-8 Jyoti Prajapati wrote:
>
>> Dear sir,
>> Hope you are doing well!
>> I am trying to follow the instruction to install sagemath in centos7
>> using the given commands for centos provided in the link :
>>
>> https://doc.sagemath.org/html/en/installation/source.html#fedora-redhat-centos-package-installation
>>
>> But most of the packages are not available.
>>
>> Please guide me so that I can install sagemath in centos properly without
>> any error.
>>
>> Thank you,
>> Best wishes
>> Jyoti
>>
>> code: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> Loading mirror speeds from cached hostfile
>> epel/x86_64/metalink                                            | 5.4 kB
>>  00:00:00
>>  * centos-sclo-rh: bd.mirror.vanehost.com
>>  * centos-sclo-sclo: bd.mirror.vanehost.com
>>  * epel: mirror.nyist.edu.cn
>> Package Cython-0.19-5.el7.x86_64 already installed and latest version
>> No package L-function available.
>> No package L-function-devel available.
>> No package Singular available.
>> No package Singular-devel available.
>> No package arb available.
>> No package arb-devel available.
>> Package babel-0.9.6-8.el7.noarch already installed and latest version
>> Package binutils-2.27-34.base.el7.x86_64 already installed and latest
>> version
>> Package boost-devel-1.53.0-27.el7.x86_64 already installed and latest
>> version
>> No package brial available.
>> No package brial-devel available.
>> Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
>> Package bzip2-devel-1.0.6-13.el7.x86_64 already installed and latest
>> version
>> No package cddlib available.
>> No package cliquer available.
>> No package cliquer-devel available.
>> Package cmake-2.8.12.2-2.el7.x86_64 already installed and latest version
>> Package curl-7.29.0-51.el7.x86_64 already installed and latest version
>> Package diffutils-3.3-4.el7.x86_64 already installed and latest version
>> No package ecl available.
>> No package eclib available.
>> No package eclib-devel available.
>> No package fflas-ffpack-devel available.
>> Package 1:findutils-4.5.11-6.el7.x86_64 already installed and latest
>> version
>> No package flint available.
>> No package flint-devel available.
>> Package gc-7.2d-7.el7.x86_64 already installed and latest version
>> Package gc-devel-7.2d-7.el7.x86_64 already installed and latest version
>> Package gcc-4.8.5-36.el7.x86_64 already installed and latest version
>> Package gcc-c++-4.8.5-36.el7.x86_64 already installed and latest version
>> Package gcc-gfortran-4.8.5-36.el7.x86_64 already installed and latest
>> version
>> Package gd-2.0.35-26.el7.x86_64 already installed and latest version
>> Package gd-devel-2.0.35-26.el7.x86_64 already installed and latest version
>> Package gengetopt-2.23-1.el7.x86_64 already installed and latest version
>> Package gf2x-1.1-5.el7.x86_64 already installed and latest version
>> Package gf2x-devel-1.1-5.el7.x86_64 already installed and latest version
>> No package gfan available.
>> No package giac available.
>> No package giac-devel available.
>> No package givaro available.
>> No package givaro-devel available.
>> Package glpk-4.52.1-2.el7.x86_64 already installed and latest version
>> Package glpk-devel-4.52.1-2.el7.x86_64 already installed and latest
>> version
>> Package glpk-utils-4.52.1-2.el7.x86_64 already installed and latest
>> version
>> Package 1:gmp-6.0.0-15.el7.x86_64 already installed and latest version
>> Package 1:gmp-devel-6.0.0-15.el7.x86_64 already installed and latest
>> version
>> No package gmp-ecm available.
>> No package gmp-ecm-devel available.
>> Package gsl-1.15-13.el7.x86_64 already installed and latest version
>> Package gsl-devel-1.15-13.el7.x86_64 already installed and latest version
>> Package iml-1.0.5-32.el7.x86_64 already installed and latest version
>> Package iml-devel-1.0.5-32.el7.x86_64 already installed and latest version
>> Package info-5.1-5.el7.x86_64 already installed and latest version
>> Package python-ipython-3.2.3-1.el7.noarch already installed and latest
>> version
>> No package libatomic_ops available.
>> Package libatomic_ops-devel-7.2d-7.el7.x86_64 already installed and
>> latest version
>> Package libbraiding-1.1-9.el7.x86_64 already installed and latest version
>> Package libcurl-devel-7.29.0-51.el7.x86_64 already installed and latest
>> version
>> Package libffi-3.0.13-18.el7.x86_64 already installed and latest version
>> Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest
>> version
>> No package libfplll available.
>> No package libfplll-devel available.
>> No package libhomfly-devel available.
>> Package libmpc-1.0.1-3.el7.x86_64 already installed and latest version
>> Package libmpc-devel-1.0.1-3.el7.x86_64 already installed and latest
>> version
>> No package linbox available.
>> No package lrcalc-devel available.
>> Package m4-1.4.16-10.el7.x86_64 already installed and latest version
>> No package m4ri-devel available.
>> No package m4rie-devel available.
>> Package 1:make-3.82-23.el7.x86_64 already installed and latest version
>> Package meson-0.55.1-1.el7.noarch already installed and latest version
>> Package mpfr-devel-3.1.1-4.el7.x86_64 already installed and latest version
>> No package nauty available.
>> Package ncurses-devel-5.9-14.20130511.el7_4.x86_64 already installed and
>> latest version
>> Package ninja-build-1.10.2-3.el7.x86_64 already installed and latest
>> version
>> No package ntl-devel available.
>> Package openblas-devel-0.3.3-2.el7.x86_64 already installed and latest
>> version
>> Package 1:openssl-1.0.2k-16.el7.x86_64 already installed and latest
>> version
>> Package 1:openssl-devel-1.0.2k-16.el7.x86_64 already installed and latest
>> version
>> No package palp available.
>> No package pari-devel available.
>> No package pari-elldata available.
>> No package pari-galdata available.
>> No package pari-galpol available.
>> No package pari-gp available.
>> No package pari-seadata available.
>> Package patch-2.7.1-10.el7_5.x86_64 already installed and latest version
>> Package patchelf-0.12-1.el7.x86_64 already installed and latest version
>> Package 4:perl-5.16.3-293.el7.x86_64 already installed and latest version
>> Package perl-ExtUtils-MakeMaker-6.68-3.el7.noarch already installed and
>> latest version
>> Package 1:perl-IPC-Cmd-0.80-4.el7.noarch already installed and latest
>> version
>> No package pkg-config available.
>> No package planarity available.
>> No package planarity-devel available.
>> No package ppl available.
>> No package ppl-devel available.
>> No package primecount available.
>> No package primecount-devel available.
>> No package primesieve available.
>> No package primesieve-devel available.
>> No package python-argon2-cffi-bindings available.
>> Package python-beautifulsoup4-4.4.1-2.el7.noarch already installed and
>> latest version
>> Package python-bleach-1.4.1-2.el7.noarch already installed and latest
>> version
>> Package python2-certifi-2018.10.15-5.el7.noarch already installed and
>> latest version
>> No package python-cvxopt available.
>> No package python-cycler available.
>> Package python-dateutil-1.5-7.el7.noarch already installed and latest
>> version
>> Package python-decorator-3.4.0-3.el7.noarch already installed and latest
>> version
>> No package python-fastjsonschema available.
>> No package python-furo available.
>> Package python-gmpy2-2.0.5-1.el7.x86_64 already installed and latest
>> version
>> No package python-hatch-fancy-pypi-readme available.
>> No package python-hatch-vcs available.
>> Package python-idna-2.4-1.el7.noarch already installed and latest version
>> No package python-importlib-metadata available.
>> No package python-ipykernel available.
>> Package python-jinja2-2.7.2-2.el7.noarch already installed and latest
>> version
>> Package python2-jsonschema-2.5.1-4.el7.noarch already installed and
>> latest version
>> No package python-jupyter-sphinx available.
>> Package python-matplotlib-1.2.0-15.el7.x86_64 already installed and
>> latest version
>> No package python-meson-python available.
>> Package python2-mpmath-1.0.0-2.el7.x86_64 already installed and latest
>> version
>> Package python-networkx-1.8.1-12.el7.noarch already installed and latest
>> version
>> No package python-numpy available.
>> Package python2-packaging-16.8-6.el7.noarch already installed and latest
>> version
>> No package python-pandocfilters available.
>> No package python-pexpect available.
>> No package python-pickleshare available.
>> Package python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64 already installed
>> and latest version
>> Package python2-pip-8.1.2-14.el7.noarch already installed and latest
>> version
>> Package python2-pkgconfig-1.1.0-8.el7.noarch already installed and latest
>> version
>> No package python-pluggy available.
>> No package python-pplpy available.
>> No package python-prompt-toolkit available.
>> Package python2-ptyprocess-0.5.1-7.el7.noarch already installed and
>> latest version
>> Package python-py-1.4.32-1.el7.noarch already installed and latest version
>> Package python-pygments-1.4-10.el7.noarch already installed and latest
>> version
>> Package pytz-2016.10-2.el7.noarch already installed and latest version
>> Package python2-zmq-14.7.0-11.el7.x86_64 already installed and latest
>> version
>> Package python-requests-2.6.0-1.el7_1.noarch already installed and latest
>> version
>> No package python-scipy available.
>> Package python-setuptools-0.9.8-7.el7.noarch already installed and latest
>> version
>> No package python-setuptools_scm available.
>> Package python-six-1.9.0-2.el7.noarch already installed and latest version
>> Package python-sphinx-1.1.3-11.el7.noarch already installed and latest
>> version
>> No package python-sphinx-basic-ng available.
>> No package python-sphinx-copybutton available.
>> No package python-sphinxcontrib-applehelp available.
>> No package python-sphinxcontrib-devhelp available.
>> No package python-sphinxcontrib-htmlhelp available.
>> No package python-sphinxcontrib-jsmath available.
>> No package python-sphinxcontrib-qthelp available.
>> No package python-sphinxcontrib-serializinghtml available.
>> No package python-sphinxcontrib-websupport available.
>> No package python-sympy available.
>> No package python-tinycss2 available.
>> No package python-trove-classifiers available.
>> No package python-typing-extensions available.
>> Package python-tzlocal-1.2-3.el7.noarch already installed and latest
>> version
>> Package python-urllib3-1.10.2-5.el7.noarch already installed and latest
>> version
>> No package python-webencodings available.
>> Package python2-wheel-0.29.0-2.el7.noarch already installed and latest
>> version
>> No package python-widgetsnbextension available.
>> No package python3 available.
>> No package python3-devel available.
>> Package qhull-2003.1-20.el7.x86_64 already installed and latest version
>> Package qhull-devel-2003.1-20.el7.x86_64 already installed and latest
>> version
>> Package readline-devel-6.2-10.el7.x86_64 already installed and latest
>> version
>> No package rw-devel available.
>> Package sqlite-3.7.17-8.el7.x86_64 already installed and latest version
>> Package sqlite-devel-3.7.17-8.el7.x86_64 already installed and latest
>> version
>> Package suitesparse-4.0.2-10.el7.x86_64 already installed and latest
>> version
>> Package suitesparse-devel-4.0.2-10.el7.x86_64 already installed and
>> latest version
>> No package symmetrica-devel available.
>> No package sympow available.
>> No package tachyon available.
>> No package tachyon-devel available.
>> Package 2:tar-1.26-35.el7.x86_64 already installed and latest version
>> Package texinfo-5.1-5.el7.x86_64 already installed and latest version
>> No package tox available.
>> Package which-2.20-7.el7.x86_64 already installed and latest version
>> Package xz-5.2.2-1.el7.x86_64 already installed and latest version
>> Package xz-devel-5.2.2-1.el7.x86_64 already installed and latest version
>> Package zeromq-4.1.4-6.el7.x86_64 already installed and latest version
>> Package zeromq-devel-4.1.4-6.el7.x86_64 already installed and latest
>> version
>> Package zlib-devel-1.2.7-18.el7.x86_64 already installed and latest
>> version
>> Nothing to do
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/4db814f2-2c80-45d7-93bd-dd3ade5d8dcdn%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/4db814f2-2c80-45d7-93bd-dd3ade5d8dcdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAA1ENwg2euGguKuHSXMyJu3zFZUkYFS81ixcwSwU1tj666QoUQ%40mail.gmail.com.

Reply via email to