Last active
June 27, 2019 07:12
-
-
Save julian-garrido/9919359 to your computer and use it in GitHub Desktop.
Install gipsy in ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -q -y options in apt-get install will assume “yes” to everything (and do it quietly). v.g. sudo apt-get -q -y install <package_name> | |
sudo apt-get update | |
sudo apt-get install tcsh | |
sudo apt-get install gfortran | |
sudo apt-get install xaw3dg-dev | |
sudo apt-get install xaw3dg | |
sudo apt-get install libxt6 | |
sudo apt-get install libxt-dev | |
sudo apt-get install x11-common | |
sudo apt-get install libxau-dev | |
sudo apt-get install libxau6 | |
sudo apt-get install libxaw7 | |
sudo apt-get install libxaw7-dev | |
sudo apt-get install libx11-6 | |
sudo apt-get install libx11-dev | |
sudo apt-get install x11-utils | |
sudo apt-get install libx11-data | |
sudo apt-get install libncurses5-dev | |
sudo apt-get install ncurses-term | |
sudo apt-get install libncurses5 | |
sudo apt-get install libncursesw5 | |
sudo apt-get install libncursesw5-dev | |
sudo apt-get install ncurses-base | |
sudo apt-get install build-essential | |
sudo apt-get install python-scipy | |
sudo apt-get install python-pyfits | |
sudo apt-get install python-pip | |
#install kapteyin following the instructions at | |
#http://www.astro.rug.nl/software/kapteyn/intro.html | |
cd ~ | |
mkdir kapteyn | |
cd kapteyn | |
wget http://www.astro.rug.nl/software/kapteyn/kapteyn-2.2.tar.gz | |
tar -xzf kapteyn-2.2.tar.gz | |
cd kapteyn-2.2 | |
sudo python setup.py install | |
cd ~ | |
wget ftp://ftp.astro.rug.nl/gipsy/gipsy_install.csh | |
chmod +x gipsy_install.csh | |
mkdir gipsy | |
./gipsy_install.csh | |
#you have to provide the gipsy installation folder e.g. /home/ubunyu/gipsy | |
#graphic libraries are not resolved | |
#According to installation guide lines: http://www.astro.rug.nl/~gipsy/installation/installation.html | |
#Se up the environment: | |
vim ~/.cshrc | |
#insert: | |
#setenv gip_root <PATH_TO_GIPSY_ROOT_DIRECTORY> | |
#source $gip_root/sys/gipenv.csh | |
#use tcsh to run gipsy |
Hola,
el archivo .cshrc está en el home folder de tu usuario. Si no existe, tienes que crearlo. Ten en cuenta que este tipo de archivos están normalmente ocultos desde el explorador de carpetas. Lo mejor es que uses una terminal para ver si existe y editarlo.
si abres una terminal, teclea los siguientes comandos.
cd ~ (para entrar en home)
vi .cshrc (con esto entras a editar el archivo si existe, y si no existe lo crea).
Si no sabes usar vi, aquí tienes las instrucciones básicas: https://linuxzone.es/how-to-manual-basico-de-uso-del-editor-vi/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hola Julian.
Mi nombre es Edgar Sandoval y soy estudiante de Astrofísica el IPN en México.
He intentado instalar GISPY sobre Ubuntu 16 siguiendo las instrucciones de la página oficial de GIPSY pero me encuentro en un problema cuando me solicita crear el environment. Me pide modificar el archivo .cshrc pero no localizo el archivo. Cabe mencionar que tengo muy poca experiencia en Ubuntu. Alguna recomendación o ayuda que puedas proporcinarme estaré muy agradecido.