I have installed the astronomy software CASA in my computer, and I would like to be able to run it from any directory just by typing casa
in the Ubuntu terminal. What should I change so that this is possible? I've tried the following:
sudo ln -s ./home/alcrespe/Desktop/casa-prerelease-4.7.0-22/bin/casa ./usr/bin/casa
... but it doesn't work. I'm no expert in Ubuntu, how can I fix this? As the previous line suggests, so far I can only access the program CASA in the following location:
./home/alcrespe/Desktop/casa-prerelease-4.7.0-22/bin/casa
.
before each path and you should be fine. – George Udosen Apr 24 '17 at 17:15sudo ln -s /home/alcrespe/Desktop/casa-prerelease-4.7.0-22/bin/casa /usr/bin/casa
– George Udosen Apr 24 '17 at 17:16Desktop
directory. It should have been in/opt
or/home/alcrespe
... – George Udosen Apr 24 '17 at 17:21which casa
in the terminal and if it returns/usr/bin/casa
then don't bother it's already at your disposal...Meaning you don't need thatsymbolic link
any more – George Udosen Apr 24 '17 at 17:26which casa
it simply doesn't do anything. How is this possible? If I try to run the program by typingcasa
, it says "no command casa found". – Wild Feather Apr 24 '17 at 17:28ls /usr/bin | grep casa
and tell me what it gives you... – George Udosen Apr 24 '17 at 17:30casa
even if I'm in the right directory, so I'm not sure if that would work. – Wild Feather Apr 24 '17 at 17:30/usr/bin/casa
before trying that install option – George Udosen Apr 24 '17 at 17:36casa
to test it and it said again that it's not defined. I just want to burn my laptop, please help! I need it for a project and I can't even manage to get this simple task right... What could I have done wrong? – Wild Feather Apr 24 '17 at 17:53export PATH=$PATH:/usr/local/bin/CASA/casapy-30.0.9860-001-64b
to your~/.bashrc
file, and after didsource ~/.bashrc
? – George Udosen Apr 24 '17 at 17:54casapy
notcasa
from that link. Try that! – George Udosen Apr 24 '17 at 17:56casapy-30.0.9860-001-64b
I typedcasa-prerelease-4.7.0-22.tar.gz
because that's the name of the file I downloaded. And when I typedsource ~/.bashrc
, nothing showed on the terminal... However, the directory is created and both the tar.gz file and the extracted one are there, I checked. Andcasapy
doesn't work either... :( – Wild Feather Apr 24 '17 at 17:58