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
>  ^^-^^ 
>


actually, nm.  i figured it out.  now i can call up sage in any directory 
using just the command sage.  if anyone else was not sure how this worked, 
this is what i did 

  alias sage= /home/mike/sage-5.12/./sage 

the alias command assigns an alias, here i decided to use sage, or sets it 
rather to the command that i am abreviating.  that is instead of typing 

 /home/mike/sage-5.12/./sage

after defining 'sage' with the alias, now my bash sees them as equivalent. 
 forest through the trees.  thanks all

-- 
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