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:16Desktopdirectory. It should have been in/optor/home/alcrespe... – George Udosen Apr 24 '17 at 17:21which casain the terminal and if it returns/usr/bin/casathen don't bother it's already at your disposal...Meaning you don't need thatsymbolic linkany more – George Udosen Apr 24 '17 at 17:26which casait 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 casaand tell me what it gives you... – George Udosen Apr 24 '17 at 17:30casaeven 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/casabefore trying that install option – George Udosen Apr 24 '17 at 17:36casato 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-64bto your~/.bashrcfile, and after didsource ~/.bashrc? – George Udosen Apr 24 '17 at 17:54casapynotcasafrom that link. Try that! – George Udosen Apr 24 '17 at 17:56casapy-30.0.9860-001-64bI typedcasa-prerelease-4.7.0-22.tar.gzbecause 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. Andcasapydoesn't work either... :( – Wild Feather Apr 24 '17 at 17:58