Can't Open SageMath Program on Lxde

36 views
Skip to first unread message

Joshua Meadowcroft

unread,
May 27, 2020, 11:52:14 PM5/27/20
to sage-support
I downloaded SageMath 9.1 on Linux Ubuntu Lxde.  Than this on command prompt:
'tar jxvf sage-9.1-ubuntu_18.04-x86_64.tar.bz2

Unpacked files. Unable to locate folder directory for SagthMath program.  Unable to open program.

Jan Groenewald

unread,
May 28, 2020, 5:42:41 AM5/28/20
to sage-support
Hi

Try

cd SageMath
./sage
 
Regards,
Jan


--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

Joshua Meadowcroft

unread,
May 28, 2020, 11:47:23 AM5/28/20
to sage-support
Hi Jan.
I ran "cd SageMath ./sage" per your suggestion.  The terminal response was "bash: cd: too many arguments".

Jan Groenewald

unread,
May 28, 2020, 11:52:41 AM5/28/20
to sage-support
Hi

On Thu, 28 May 2020 at 13:47, Joshua Meadowcroft <jmeadow...@gmail.com> wrote:
Hi Jan.
I ran "cd SageMath ./sage" per your suggestion.  The terminal response was "bash: cd: too many arguments".

It should be on two separate lines

cd SageMath

./sage

Regards,
Jan

Joshua Meadowcroft

unread,
May 28, 2020, 12:04:03 PM5/28/20
to sage-support
It's saying  "bash: cd: Sagemath: No such file or directory" now.  Same issue as yesterday.  We definitely unpacked the files.  It's just not finding the directory.

Dima Pasechnik

unread,
May 28, 2020, 12:58:42 PM5/28/20
to sage-support


On Thu, 28 May 2020, 13:04 Joshua Meadowcroft, <jmeadow...@gmail.com> wrote:
It's saying  "bash: cd: Sagemath: No such file or directory" now.  Same issue as yesterday.  We definitely unpacked the files.  It's just not finding the directory.

case matters - it is

SageMath

not

Sagemath


On Thursday, May 28, 2020 at 7:52:41 AM UTC-4, Jan Groenewald wrote:
Hi

On Thu, 28 May 2020 at 13:47, Joshua Meadowcroft <jmeadow...@gmail.com> wrote:
Hi Jan.
I ran "cd SageMath ./sage" per your suggestion.  The terminal response was "bash: cd: too many arguments".

It should be on two separate lines

cd SageMath

./sage

Regards,
Jan


--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/24aae5c8-1c2e-492c-87ef-ca9977bd4da8%40googlegroups.com.

Joshua Meadowcroft

unread,
May 28, 2020, 1:33:22 PM5/28/20
to sage-support
Just tried it with cap M.  Same result.   No such file or directory



On Thursday, May 28, 2020 at 8:58:42 AM UTC-4, Dima Pasechnik wrote:


On Thu, 28 May 2020, 13:04 Joshua Meadowcroft, <jmeadow...@gmail.com> wrote:
It's saying  "bash: cd: Sagemath: No such file or directory" now.  Same issue as yesterday.  We definitely unpacked the files.  It's just not finding the directory.

case matters - it is

SageMath

not

Sagemath


On Thursday, May 28, 2020 at 7:52:41 AM UTC-4, Jan Groenewald wrote:
Hi

On Thu, 28 May 2020 at 13:47, Joshua Meadowcroft <jmeadow...@gmail.com> wrote:
Hi Jan.
I ran "cd SageMath ./sage" per your suggestion.  The terminal response was "bash: cd: too many arguments".

It should be on two separate lines

cd SageMath

./sage

Regards,
Jan


--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

--
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-s...@googlegroups.com.

Dima Pasechnik

unread,
May 28, 2020, 2:17:25 PM5/28/20
to sage-support
try running

find / -name sage

and post the output

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/066494ad-44b1-4cf5-844f-3f2a39c0f1cd%40googlegroups.com.

Joshua Meadowcroft

unread,
May 28, 2020, 2:38:38 PM5/28/20
to sage-support
Ran it.  A bunch scrolled in the terminal.  The final two lines ultimately read, as most of the lines ended that scrolled:

find: ‘/lost+found’: Permission denied
find: ‘/root’: Permission denied

Jan Groenewald

unread,
May 28, 2020, 2:43:41 PM5/28/20
to sage-support
SageMath not sagemath

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/4d6ed3e6-7eb0-47b3-9ed8-3f46f405264f%40googlegroups.com.

Joshua Meadowcroft

unread,
May 28, 2020, 2:46:09 PM5/28/20
to sage-support
So, it's there right? but the user privileges aren't allowing the info?  What's the command to run as admin? 

Dima Pasechnik

unread,
May 28, 2020, 3:46:50 PM5/28/20
to sage-support
oh, sorry, better version:

find / -name sage | grep sage
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/4d6ed3e6-7eb0-47b3-9ed8-3f46f405264f%40googlegroups.com.

Joshua Meadowcroft

unread,
May 28, 2020, 4:12:57 PM5/28/20
to sage-support
See attached picture.  When I run cd usr is still says there's no file or directory.  
IMG_2381.jpg

Dima Pasechnik

unread,
May 28, 2020, 4:17:21 PM5/28/20
to sage-support
On Thu, May 28, 2020 at 5:13 PM Joshua Meadowcroft
<jmeadow...@gmail.com> wrote:
>
> See attached picture. When I run cd usr is still says there's no file or directory.
Because you need

cd /usr

and not

cd usr

But this is not relevant.

it seems that you have a system-wide installation of Sage on your
machine, which has nothing to do with
the one that is supposed to be in the tarfile.

Anyhow, what is the output of
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/5873421f-f922-4935-9341-daaeefcd245e%40googlegroups.com.

Jan Groenewald

unread,
May 28, 2020, 4:17:26 PM5/28/20
to sage-support
It's /usr not usr, but you don't need to cd (change directory) to there.

Since you have /usr/bin/sage, you have a sage installed from apt, not from your download / untar.

Just type sage in a terminal.

Or sage --notebook for a GUI interface in a browser.

Regards,
Jan

Regards,
Jan

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/5873421f-f922-4935-9341-daaeefcd245e%40googlegroups.com.

Joshua Meadowcroft

unread,
May 28, 2020, 6:39:54 PM5/28/20
to sage-support
just typing sage worked.  Thanks all.
Reply all
Reply to author
Forward
0 new messages