On Monday, October 14, 2013 11:27:24 AM UTC-4, Jan Groenewald wrote:
>
> Hi Michael,
>
> Run this command (cut and paste it all on one line) to set an alias 
> permanently pointing at the rigth path:
>
> echo "alias 
> sage=$HOME/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage" >> 
> ~/.bashrc
>
> And read it into the current terminal with:
>
> source ~/.bashrc
>
> Regards,
> Jan
>
>
>
>
> On 14 October 2013 16:48, michael kaepernik <alienfe...@gmail.com<javascript:>
> > wrote:
>
>> sage 5.11 pre-compiled binary was downloaded onto ubuntu 13.04 but when 
>> the command 'sage' is entered in /home/kappy the error ~$ sage
>> No command 'sage' found, did you mean:
>>  Command 'page' from package 'tcllib' (universe)
>>  Command 'save' from package 'atfs' (universe)
>>  Command 'osage' from package 'graphviz' (main)
>> sage: command not found
>>
>> when i change directory to /home/sage and the command 'sage' is entered 
>> the error 
>> ~/sage$ sage
>> No command 'sage' found, did you mean:
>>  Command 'page' from package 'tcllib' (universe)
>>  Command 'save' from package 'atfs' (universe)
>>  Command 'osage' from package 'graphviz' (main)~/sage$ ls
>> sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux
>> sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux.tar.lzma
>> sage: command not found
>> mike@mike-1001PX:~/sage$ 
>>
>> is returned.  this is the contents of the directories:
>> ~/sage$ ls
>> sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux
>> sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux.tar.lzma
>>
>> and; 
>>
>> :~/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux$ ls
>> COPYING.txt  data  devel  local  Makefile  README.txt  sage  spkg 
>>  VERSION.txt
>>  
>> so it seems all of the files were extracted from the tarball (?).  any 
>> suggestions would help
>> -thanks
>>
>> -- 
>> 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 <javascript:>.
>> To post to this group, send email to sage-s...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
>   .~. 
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>


jan, 

thank you for your reply.  before you did however, i compiled sage from 
source and it has since worked fine. 
however, towards your suggestion i have tried to, i think, redefine the 
path variable (?) so that whenever i type sage in my terminal it would open 
sage.  right now, i have to cd directories and type the command ./sage.  no 
big deal, not a real problem.  but i did want to take your advice so that i 
could just type sage and call it up from any directory.  
so i followed your advice, copied and pasted and these were the results;

mike@mike-1001PX:~$ echo "alias 
sage=$HOME/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage" >> 
~/.bashrc
mike@mike-1001PX:~$ source ~/.bashrc
mike@mike-1001PX:~$ ./sage
bash: ./sage: No such file or directory

 mike@mike-1001PX:~$ alias 
sage=$HOME/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage
mike@mike-1001PX:~$ source ~/.bashrc
mike@mike-1001PX:~$ sage
bash: /home/mike/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage: 
No such file or directory

mike@mike-1001PX:~$ ./sage
bash: ./sage: No such file or directory

mike@mike-1001PX:~$ sage
bash: /home/mike/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage: 
No such file or directory

mike@mike-1001PX:~$ echo "alias 
sage=$HOME/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage" >> 
~/.bashrc
mike@mike-1001PX:~$ source ~/.bashrc
mike@mike-1001PX:~$ 
mike@mike-1001PX:~$ sage
bash: /home/mike/sage/sage-5.11-linux-32bit-ubuntu_13.04-i686-Linux/sage: 
No such file or directory

mike@mike-1001PX:~$ ./sage
bash: ./sage: No such file or directory

mike@mike-1001PX:~$ /.sage
bash: /.sage: No such file or directory


so what am i doing wrong?
thanks in advance

>
>  ^^-^^ 
>  

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to