Installing sage.lzma file

82 views
Skip to first unread message

A. Jorge Garcia

unread,
May 22, 2012, 1:15:58 PM5/22/12
to sage-edu
Hello everyone,

I recently downloaded the latest *.lzma file for 32bit Ubuntu and
renamed it sage.lzma. I copied it to /usr/local and extracted it with
this commandline:
tar --lzma -xvf sage.lzma
I renamed the new directory "sage" and added the path "/usr/local/
sage" to the /etc/environment file.

Now when I type "sage" in a terminal, I get all sorts of errors about
the installation having been moved. Does anyone know how to fix this?
I need this sort of install in a PC Lab without internet access and I
can't setup a local sage server right now.

TIA,
A. Jorge Garcia
Applied Math and CompSci
http;//shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009

MišoLietavec

unread,
May 22, 2012, 1:28:17 PM5/22/12
to sage...@googlegroups.com
Run sage as root for the first time.
This will fix the installation issues, in my experience.

Michal

2012/5/22 A. Jorge Garcia <calc...@aol.com>:
> --
> You received this message because you are subscribed to the Google Groups "sage-edu" group.
> To post to this group, send email to sage...@googlegroups.com.
> To unsubscribe from this group, send email to sage-edu+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.
>

A. Jorge Garcia

unread,
May 22, 2012, 1:37:01 PM5/22/12
to sage-edu
Thanx, I forgot about that! However, I did run ./sage as root and got
a ton of new errors!

On May 22, 1:28 pm, MišoLietavec <frca...@gmail.com> wrote:
> Run sage as root for the first time.
> This will fix the installation issues, in my experience.
>
> Michal
>
> 2012/5/22 A. Jorge Garcia <calcp...@aol.com>:

A. Jorge Garcia

unread,
May 22, 2012, 1:44:03 PM5/22/12
to sage-edu
Could it be that this *.lzma file is for 32bit Ubuntu 12.04 and I'm
trying to run it on 32bit Ubuntu 11.10 and 64bit Ubuntu 11.04?

When I run it on 32bit Ubuntu 11.10 I get:

| Sage Version 5.0, Release Date: 2012-05-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/
local/bin/sage-ipython", line 18, in <module>
import IPython
File "/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/
local/lib/python2.7/site-packages/IPython/__init__.py", line 58, in
<module>
__import__(name,glob,loc,[])
File "/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/
local/lib/python2.7/site-packages/IPython/ipstruct.py", line 17, in
<module>
from IPython.genutils import list2dict2
File "/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/
local/lib/python2.7/site-packages/IPython/genutils.py", line 28, in
<module>
import subprocess
File "/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/
local/lib/python/subprocess.py", line 429, in <module>
import select
ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.15' not
found (required by /usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-
i686-Linux/local/lib/python2.7/lib-dynload/select.so)

David Joyner

unread,
May 22, 2012, 1:47:37 PM5/22/12
to sage...@googlegroups.com
Is this a question for sage-support?

Keshav Kini

unread,
May 22, 2012, 2:57:30 PM5/22/12
to sage...@googlegroups.com
"A. Jorge Garcia" <calc...@aol.com> writes:

> Could it be that this *.lzma file is for 32bit Ubuntu 12.04 and I'm
> trying to run it on 32bit Ubuntu 11.10 and 64bit Ubuntu 11.04?

Yup, that is definitely the reason. Unfortunately we do not have a lot
of 32-bit systems to build on, so the only 32-bit Ubuntu-based binary we
have at the moment is for Ubuntu 12.04... Oddly, on the other hand, we
don't have any 64-bit Ubuntu-based binary for as recent an Ubuntu
version as 12.04, for some reason.

(And as David says, this thread would probably be better off in
sage-support :) )

-Keshav

A. Jorge Garcia

unread,
May 22, 2012, 2:44:40 PM5/22/12
to sage-edu
Sorry, I was not a member of that group. I will join it!

A. Jorge Garcia

unread,
May 23, 2012, 8:45:19 AM5/23/12
to sage-edu
I'm on sage-support now. However, I wonder if there's any ftpsite out
there with an older version of the lzma file? I don't need the latest
sage-5.0 version. I'm just using basic calculus features in a final
project for my AP Calculus BC students. Is there, say, a version
sage-4.8 for 32bit Ubuntu 11.10?

David Joyner

unread,
May 23, 2012, 9:23:23 AM5/23/12
to sage...@googlegroups.com
I would ask on sage-support if I were you.
This list is really more about using sage for teaching, than
about problems installing sage.
Reply all
Reply to author
Forward
0 new messages