Decompressing sage version

202 views
Skip to first unread message

avi kaur

unread,
Jun 6, 2015, 3:55:59 PM6/6/15
to sage-s...@googlegroups.com
hello


I am facing problem while installing sagemath. I am unable to decompress this "Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar.lrz" version of ubuntu. Which command i need to run to decompress the file.


Avi kaur

Vincent Delecroix

unread,
Jun 6, 2015, 3:57:37 PM6/6/15
to sage-s...@googlegroups.com
this should work

tar xf THE_FILE.tar.XYZ

Vincent

John Cremona

unread,
Jun 6, 2015, 3:58:38 PM6/6/15
to SAGE support
Did you try Googling

ubuntu decompress lrz

?
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

avi kaur

unread,
Jun 6, 2015, 4:33:48 PM6/6/15
to sage-s...@googlegroups.com

still I am unable to run the command. What should i write properly? Can you help me Vdelecronix?

avi kaur

unread,
Jun 6, 2015, 4:36:26 PM6/6/15
to sage-s...@googlegroups.com
Did you try Googling

ubuntu decompress lrz

?


Sorry John I don't know What is this? I am totally new to this environment.

Vincent Delecroix

unread,
Jun 6, 2015, 4:38:33 PM6/6/15
to sage-s...@googlegroups.com
Do you know what is a console?

avi kaur

unread,
Jun 6, 2015, 4:43:05 PM6/6/15
to sage-s...@googlegroups.com

Yes  Vdelecroix
I feel It is "ctrl+alt+f1".

Vincent Delecroix

unread,
Jun 6, 2015, 4:50:43 PM6/6/15
to sage-s...@googlegroups.com
Nope. There should be an application called "console" or "terminal". It
would be better if you find somebody that explain that to you in live.
You can also have a look here

https://help.ubuntu.com/community/UsingTheTerminal

Vincent

avi kaur

unread,
Jun 6, 2015, 5:00:16 PM6/6/15
to sage-s...@googlegroups.com
Ok terminal from where we install packages by typing sudo apt-get install <package_name>

--
You received this message because you are subscribed to a topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/xOd7eYcncNM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-support...@googlegroups.com.

Vincent Delecroix

unread,
Jun 6, 2015, 5:29:08 PM6/6/15
to sage-s...@googlegroups.com
Yes. This is where you have to type commands.

avi kaur

unread,
Jun 6, 2015, 5:31:01 PM6/6/15
to sage-s...@googlegroups.com
Ok
I got you
What should I have to type to decompress the file.

Vincent Delecroix

unread,
Jun 6, 2015, 5:31:57 PM6/6/15
to sage-s...@googlegroups.com
As I said already:

$ tar xf NAME_OF_THE_FILE

avi kaur

unread,
Jun 6, 2015, 5:36:43 PM6/6/15
to sage-s...@googlegroups.com
avi@avi-HP-G42-Notebook-PC:~$ tar xf Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar.lrz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
avi@avi-HP-G42-Notebook-PC:~$


I am receiving this message.

calc...@gmail.com

unread,
Jun 6, 2015, 5:43:52 PM6/6/15
to sage-s...@googlegroups.com, sage-s...@googlegroups.com
Actually you can open a shell on Ubuntu with ctrl alt f1 combo.


Sent from Mailbox


You received this message because you are subscribed to the Google Groups "sage-support" group.

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

Alexander Lindsay

unread,
Jun 6, 2015, 5:46:49 PM6/6/15
to sage-s...@googlegroups.com
Also ctrl-alt-t

Sent from my iPhone

avi kaur

unread,
Jun 6, 2015, 5:53:23 PM6/6/15
to sage-s...@googlegroups.com
Ok
I am going to try this one, too on ctrl+alt+f1 or t.
But how i would exit from this mode?
All developers are very helpful

Thank you
Avi kaur
328.png

calc...@gmail.com

unread,
Jun 6, 2015, 5:56:47 PM6/6/15
to sage-s...@googlegroups.com, sage-s...@googlegroups.com
Actually ctrl alt f7 converts the whole desktop to a terminal. Then you have to login. When done ctrl alt f7 toggles back to a GUI desktop. It takes a moment.


Sent from Mailbox

avi kaur

unread,
Jun 6, 2015, 5:59:09 PM6/6/15
to sage-s...@googlegroups.com
Ok I try
Thank you :)

Jorge Garcia

unread,
Jun 6, 2015, 6:09:34 PM6/6/15
to SAGE support

tar --lzma -xvf sage...tar.gz

Jorge Garcia

unread,
Jun 6, 2015, 6:11:03 PM6/6/15
to SAGE support

ctrl alt t opens a terminal with GUI desktop unaffected.

avi kaur

unread,
Jun 6, 2015, 6:21:09 PM6/6/15
to sage-s...@googlegroups.com
Sir It displays that It is not a tar file. Moreover, The version I want to install has ".lrz" extension.

On Sun, Jun 7, 2015 at 3:41 AM, Jorge Garcia <calc...@gmail.com> wrote:

ctrl alt t opens a terminal with GUI desktop unaffected.

--

calc...@gmail.com

unread,
Jun 6, 2015, 6:29:44 PM6/6/15
to sage-s...@googlegroups.com, sage-s...@googlegroups.com
Did you do a chksum on your download? Maybe download another copy. Sounds like a corrupt file.


Sent from Mailbox


You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

avi kaur

unread,
Jun 6, 2015, 11:32:42 PM6/6/15
to sage-s...@googlegroups.com
Not yet.
I will try it , too.

Dominique Laurain

unread,
Jun 7, 2015, 3:31:15 AM6/7/15
to sage-s...@googlegroups.com

A "console" is HMI for UNIX or linux computer ... long time ago, the "console" was software handling what you type at keyboard and displaying on a screen the result.

Nowadays computers handle many users and there are more than one "window" displayed on physical screen : software handling requests are now named "terminal" ..."console" is the main "terminal", handling HMI of the main user and usually displaying internal computer messages.

If your computer is a Linux PC (operating system Ubuntu?) then the "console" is running, sometimes in text non graphics mode, or you can have it on you desktop graphic display....usually type some magic keyboard keys to pop it up.

If your computer is a PC with internet browser and you have remote access to the actual computer where is your file (for example sage cloud) then the "console" is running on the remote computer....and you have on meu in the browser window to start a "terminal".

I think your computer is Linux PC because you want (in your 1st post) to download and install sagemath.

1. start a terminal on your computer, home-directory of user
2. check if you have "lrzip" using terminal commands : simply "lrzip" or "which lrzip"
3. if you don't have, download and install "lrzip"...source is at  https://github.com/ckolivas/lrzip..and browsing the web a little you can find binary distribution for you computer (I suppose 32 bits because of 686 in flename .lr...,  your computer can be 64 bits too)
4. change directory, and unzip with "lrzip -d Ubuntu_14.04_LTS_sage-6.7-
i686-Linux.tar.lrz"
5. follow the sagemath install hints

Dominique


gerard razafimanantsoa

unread,
Jun 7, 2015, 6:05:05 AM6/7/15
to sage-s...@googlegroups.com
sudo apt-get install lrzip

lrzuntar -d file.tar.lrz    or lrztar -d file.tar.lrz

HTH

Harald Schilly

unread,
Jun 7, 2015, 6:12:39 AM6/7/15
to sage-s...@googlegroups.com, kaura...@gmail.com
The download page itself tells you to

1. install lrzip:
$ sudo apt-get install lrzip
(or via synaptic)

2. $ lrzuntar *.tar.lrz

Hope this helps, Harald

avi kaur

unread,
Jun 7, 2015, 9:37:39 AM6/7/15
to sage-s...@googlegroups.com
I am fed up with that. I run the lrzuntar -d. It displays the following:


avi@avi-HP-G42-Notebook-PC:~$ lrzuntar -d Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar.lrz
Decompressing...
Partial read!? asked for 186274378 bytes but got 0
Failed to read_stream in unzip_literal
Inappropriate ioctl for device
Fatal error - exiting

tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
avi@avi-HP-G42-Notebook-PC:~$


I tried this one also "lrzip -d" but still :(

avi@avi-HP-G42-Notebook-PC:~$ lrzip -d Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar.lrz
Output filename is: Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar
Failed to create Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar
File exists
Fatal error - exiting
avi@avi-HP-G42-Notebook-PC:~$

and tried this also "lrzuntar *.tar.lrz. It shows:

avi@avi-HP-G42-Notebook-PC:~$ lrzuntar *.tar.lrz
Decompressing...
Partial read!? asked for 186274378 bytes but got 0
Failed to read_stream in unzip_literal
Inappropriate ioctl for device
Fatal error - exiting

tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
avi@avi-HP-G42-Notebook-PC:~$

--

Dominique Laurain

unread,
Jun 7, 2015, 9:55:32 AM6/7/15
to sage-s...@googlegroups.com

Maybe you are "fed up" but ...nobody except you can read with your eyes :

avi@avi-HP-G42-Notebook-PC:~$ lrzip -d Ubuntu_14.04_LTS_sage-6.7-
i686-Linux.tar.lrz
Output filename is: Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar
Failed to create Ubuntu_14.04_LTS_sage-6.7-i686-Linux.tar
File exists
Fatal error - exiting
avi@avi-HP-G42-Notebook-PC:~$

...and guess what ? .... the fileUbuntu_14.04_LTS_sage-6.7-i686-Linux.tar  exists

Then please, remove it (I hope you know the "rm" command)...and try again.

I guess other commands failed because lrzuntar has same parameters than tar, mainly -f specifying you want unzip and extract from a file rather a device.....please again, RTFM (aka 'use man") for command (new for you).

Dominique.



avi kaur

unread,
Jun 7, 2015, 11:38:39 AM6/7/15
to sage-s...@googlegroups.com


I will follow you, Sir
Thank you :)
--
Avi kaur

avi kaur

unread,
Jun 7, 2015, 12:19:09 PM6/7/15
to sage-s...@googlegroups.com
Success
It has started working.
Thank you all the developers who helped me in starting Sage and Thank you for your time given to me :) :)

avi@avi-HP-G42-Notebook-PC:~$ cd sage-6.7-x86_64-Linux
avi@avi-HP-G42-Notebook-PC:~/sage-6.7-x86_64-Linux$ ./sage
find: `/home/avi/sage-6.7-x86_64-Linux/local/var/lib/sage/installed': No such file or directory
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 6.7, Release Date: 2015-05-17                    
│ Type "notebook()" for the browser-based notebook interface.       
│ Type "help()" for help.                                           
└────────────────────────────────────────────────────────────────────┘

Reply all
Reply to author
Forward
0 new messages