How to install SageMath and LinBox C++ library on Amazon EC2 server

0

I would like to install SageMath on my AWS EC2 server, however when I type sudo yum install sagemath, I get the error that sagemath is not available, which was to be expected. How can I get around this?

Sage: http://www.sagemath.org/index.html

Also I'd like to install the C++ library called LinBox, which has dependencies on other C++ libraries: Givaro, FFLAS-FFPACK, and BLAS. So how would I install these?

LinBox: https://linalg.org/

P.S. I am quite new to cloud computing so please try to be as explicit as possible so that I may understand! Thank you!

KBari
질문됨 5년 전287회 조회
4개 답변
0

Not resolved*

KBari
답변함 5년 전
0

I am using Ubuntu server, so the commands will be sudo apt-get instead of yum

Edited by: KBari on Sep 4, 2019 10:22 PM

KBari
답변함 5년 전
0

These instructions are for EC2 running Ubuntu 18.04 with 20 GB EBS storage
How to install sage:

sudo su
apt install python
cd /opt
wget http://mirrors.mit.edu/sage/linux/64bit/sage-8.8-Ubuntu_18.04-x86_64.tar.bz2
tar -xjf *.tar.bz2
ln -s /opt/SageMath/sage /usr/local/bin/sage
sage

How to install LinBox C++

sudo apt-get update
sudo apt-get install liblinboxsage-dev

Hope this helps!
-randy

답변함 5년 전
0

Thanks!!

KBari
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠