Installing on Linux

147 views
Skip to first unread message

Anna

unread,
Jan 26, 2025, 1:48:28 PMJan 26
to sage-devel

Hi,


I am not very experienced with installing software and dependencies so forgive me if I ask questions that appear trivial or communicate ineffectively.


I am running Ubuntu 24.04.1 LTS on a Lenovo ideapad 330S-14IKB, and trying to install SageMath so that I can use the SageMath Enchanced Python package.


I have downloaded a tar file from https://repology.org/project/sagemath/versions and after unzipping it run ./configure


when I then use the make command I get the following result:



And the error log that is referenced in my screenshot tells me to contact the development team, as I am now. 


I will attach the two files referenced in the error log.


Thanks in advance for any help or advice,

Anna

gfortran-14.2.0.log
config.log

Dima Pasechnik

unread,
Jan 26, 2025, 2:21:11 PMJan 26
to sage-...@googlegroups.com
Please install gfortran system-wide; something like (I assume you are on a Debian/Ubuntu-like distro, as I gather from the config.log)

sudo apt-get install gfortran

and try again.

In general, please run ./configure, and pay attention to the list of system-wide packages it asks/recommends to be installed.

HTH
Dima


--
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 visit https://groups.google.com/d/msgid/sage-devel/5d2cc5aa-4c14-4e70-84e9-c14db9b1d1c3n%40googlegroups.com.

Dima Pasechnik

unread,
Jan 26, 2025, 11:56:27 PMJan 26
to sage-...@googlegroups.com
by the way, it's not clear what version you downloaded. The URL you posted lists a lot of different ones.


we recommend getting sources from GitHub using git.

Eric Gourgoulhon

unread,
Jan 27, 2025, 5:36:05 AMJan 27
to sage-devel
Hi,

Le lundi 27 janvier 2025 à 05:56:27 UTC+1, dim...@gmail.com a écrit :


we recommend getting sources from GitHub using git.


Here are some simplified instructions to install the latest stable version of SageMath (10.5) via git under Ubuntu 24.04:
They are known to work (*).

Eric.

the sudo apt-get install ... in the section "Prerequisites" fails with Ubuntu 24.04


Reply all
Reply to author
Forward
0 new messages