<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dorsch</id>
	<title>Remeis-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dorsch"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php/Special:Contributions/Dorsch"/>
	<updated>2026-04-18T01:49:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3605</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3605"/>
		<updated>2025-02-16T14:38:30Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install libfile-slurp-perl&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
sudo pacman -S --noconfirm extra/texlive-fontsrecommended&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH or add it to the configure step with --with-png.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. This is not necessary if &amp;quot;libfile-slurp-perl&amp;quot; was already installed with apt. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl c_functions.o c_functions_glue.o c_functions_glue.c Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create or modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3481</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3481"/>
		<updated>2024-09-19T22:30:45Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install libfile-slurp-perl&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. This is not necessary if &amp;quot;libfile-slurp-perl&amp;quot; was already installed with apt. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl c_functions.o c_functions_glue.o c_functions_glue.c Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create or modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3480</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3480"/>
		<updated>2024-09-19T22:30:05Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install libfile-slurp-perl&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. This is not necessary if &amp;quot;libfile-slurp-perl&amp;quot; was already installed with apt. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl c_functions.o c_functions_glue.o c_functions_glue.c Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3479</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3479"/>
		<updated>2024-09-19T21:08:07Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install libfile-slurp-perl&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. This is not necessary if &amp;quot;libfile-slurp-perl&amp;quot; was already installed with apt. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3478</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3478"/>
		<updated>2024-09-19T21:07:04Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install libfile-slurp-perl&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3477</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3477"/>
		<updated>2024-09-19T13:05:59Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;, or wherever pgplot is installed.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3476</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3476"/>
		<updated>2024-09-19T12:53:09Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
% if s-lang is not in your $PATH&lt;br /&gt;
% add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3475</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3475"/>
		<updated>2024-09-19T12:48:38Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install curl&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
# add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3474</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3474"/>
		<updated>2024-09-19T12:45:12Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
# add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm ./*~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3473</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3473"/>
		<updated>2024-09-19T12:26:36Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install make&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
# add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3077</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3077"/>
		<updated>2023-11-14T22:27:30Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
# add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3076</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3076"/>
		<updated>2023-11-14T22:27:13Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
# add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3075</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3075"/>
		<updated>2023-11-14T22:26:55Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3074</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3074"/>
		<updated>2023-11-14T22:20:53Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3073</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3073"/>
		<updated>2023-11-14T22:20:43Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
# if s-lang is not in your $PATH&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/usr/local/share/slsh/local-packages:/usr/local/share/slsh&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3072</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3072"/>
		<updated>2023-11-14T21:54:55Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
# if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3071</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=3071"/>
		<updated>2023-11-14T21:54:20Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
or on Arch linux&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -S --noconfirm readline&lt;br /&gt;
sudo pacman -S --noconfirm curl&lt;br /&gt;
sudo pacman -S --noconfirm curl-gnutls&lt;br /&gt;
sudo pacman -S --noconfirm ncurses&lt;br /&gt;
sudo pacman -S --noconfirm libx11&lt;br /&gt;
sudo pacman -S --noconfirm gcc&lt;br /&gt;
sudo pacman -S --noconfirm gcc-fortran&lt;br /&gt;
sudo pacman -S --noconfirm perl&lt;br /&gt;
sudo pacman -S --noconfirm python&lt;br /&gt;
sudo pacman -S --noconfirm fig2dev&lt;br /&gt;
sudo pacman -S --noconfirm libpng&lt;br /&gt;
sudo pacman -S --noconfirm zlib&lt;br /&gt;
sudo pacman -S --noconfirm pcre&lt;br /&gt;
sudo pacman -S --noconfirm oniguruma&lt;br /&gt;
sudo pacman -S --noconfirm gsl&lt;br /&gt;
sudo pacman -S --noconfirm pgplot&lt;br /&gt;
sudo pacman -S --noconfirm cfitsio&lt;br /&gt;
sudo pacman -S --noconfirm wget&lt;br /&gt;
sudo pacman -S --noconfirm git&lt;br /&gt;
sudo pacman -S --noconfirm texlive-most&lt;br /&gt;
sudo pacman -S --noconfirm texlive-latexextra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
% if installing in linux using su&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/slang/v2/modules/&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2931</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2931"/>
		<updated>2023-08-28T19:01:28Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Known issues:&lt;br /&gt;
1) On Ubuntu 22, xfig/fig2dev 3.2.8b are the standard. This contains a bug that will prevent correct labels. Fix this by compiling xfig/fig2dev 3.2.9 from source.&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2900</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2900"/>
		<updated>2023-07-23T21:46:46Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2899</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2899"/>
		<updated>2023-07-23T21:46:12Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libcfitsio-dev&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2898</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2898"/>
		<updated>2023-07-23T20:29:38Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2897</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2897"/>
		<updated>2023-07-23T20:29:17Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 5. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports or Homebrew ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] is installed. It is also possible to use [https://brew.sh/ Homebrew].&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
'''This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.'''&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory (--with-headas is not required for the stellar scripts)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
make check&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration setups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2896</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2896"/>
		<updated>2023-07-23T19:59:41Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, check that isis works by typing &amp;quot;isis&amp;quot;. If it there are errors, you have to fix them before proceeding. &lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2895</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2895"/>
		<updated>2023-07-23T17:32:21Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2894</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2894"/>
		<updated>2023-07-23T17:32:00Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
If you download slang as an archive, you may have to apply the correct permissions:&lt;br /&gt;
find . -name '*.sh' | xargs chmod +x&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2893</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2893"/>
		<updated>2023-07-23T17:29:54Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2892</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2892"/>
		<updated>2023-07-23T17:27:26Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of July 2023, there are some issues with slang 2.3.4 and isis; you may get this error when running isis: &lt;br /&gt;
&lt;br /&gt;
***Warning: Executable compiled against S-Lang 20303 but linked to 20304&lt;br /&gt;
&lt;br /&gt;
In that case you should use slang 2.3.3 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2891</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2891"/>
		<updated>2023-07-23T17:12:27Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install libx11-dev&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If pgplot5 fails to install, you may have to install it manually:&lt;br /&gt;
&lt;br /&gt;
https://guaix.fis.ucm.es/~ncl/howto/howto-pgplot&lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2815</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2815"/>
		<updated>2023-06-05T15:33:46Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 5. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports or Homebrew ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] is installed. It is also possible to use [https://brew.sh/ Homebrew].&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
'''This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.'''&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory (--with-headas is not required for the stellar scripts)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration setups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2814</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2814"/>
		<updated>2023-06-05T15:32:58Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 5. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports or Homebrew ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] is installed. It is also possible to use [https://brew.sh/ Homebrew].&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
'''This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.'''&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory (--with-headas is not required for the stellar scripts)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2813</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2813"/>
		<updated>2023-06-05T15:31:52Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install HEADAS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports or Homebrew ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] is installed. It is also possible to use [https://brew.sh/ Homebrew].&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
'''This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.'''&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2812</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2812"/>
		<updated>2023-06-05T15:28:46Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 2. Install Mac Ports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports or Homebrew ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] is installed. It is also possible to use [https://brew.sh/ Homebrew].&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2811</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2811"/>
		<updated>2023-06-05T15:26:19Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install packages with Mac Ports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] will be installed.&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc12&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-12&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-12&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-12&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2806</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2806"/>
		<updated>2023-05-30T11:46:54Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* (6. Install stellar_isisscripts) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] will be installed.&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc11&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-11&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-11&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-11&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-11&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure that the newest version of gcc-mp is used, e.g. gcc-mp-12. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2783</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2783"/>
		<updated>2023-02-18T22:33:58Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 2. Install HEASOFT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. Examples may be &amp;quot;ncurses&amp;quot;, &amp;quot;cfitsio&amp;quot;, &amp;quot;pgplot&amp;quot;, &amp;quot;gsl&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available and you can not install it, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2782</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2782"/>
		<updated>2023-02-18T16:22:19Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 2. Install HEASOFT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. One example may be &amp;quot;ncurses&amp;quot; and &amp;quot;cfitsio&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/lib/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/include/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2781</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2781"/>
		<updated>2023-02-18T16:21:29Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On HPCs without root access, configure may fail to find some libaries. In case they are not installed, you should install them from source, and then link them. One example may be &amp;quot;ncurses&amp;quot; and &amp;quot;cfitsio&amp;quot;. Add to your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/path/to/installation/folder/&lt;br /&gt;
export CPPFLAGS=-I/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no X window is available, use the &amp;quot;--disable-x&amp;quot; configure flag.&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2642</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2642"/>
		<updated>2022-08-27T16:08:01Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
sudo apt-get -y install texlive-latex-extra&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2641</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2641"/>
		<updated>2022-08-27T15:57:10Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2640</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2640"/>
		<updated>2022-08-27T15:48:17Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
sudo apt-get -y install texlive-latex-base&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2639</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2639"/>
		<updated>2022-08-27T13:05:22Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2638</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2638"/>
		<updated>2022-08-27T12:54:13Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As of August 2022, there are some issues with slang 2.3.3 and isis in Ubuntu. You may want to use slang 2.3.2 instead:&lt;br /&gt;
&lt;br /&gt;
https://www.jedsoft.org/releases/slang/&lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2637</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2637"/>
		<updated>2022-08-27T12:42:19Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
make clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2636</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2636"/>
		<updated>2022-08-27T12:29:46Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install libgsl-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2635</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2635"/>
		<updated>2022-08-27T12:21:50Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;make&amp;quot; has an issue with pgplot, try setting using &amp;lt;tt&amp;gt;./configure --with-pgplot=/usr/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2634</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2634"/>
		<updated>2022-08-27T11:58:23Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 1. Install basic dependencies and general things */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install libpng-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2633</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2633"/>
		<updated>2022-08-27T11:57:45Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 3. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. See also &amp;quot;./configure --help&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;. This requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet (try &amp;lt;tt&amp;gt; find /usr/lib/ -name &amp;quot;*libpng*&amp;quot;&amp;lt;/tt&amp;gt;), you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2632</id>
		<title>Install ISIS on Mac</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Mac&amp;diff=2632"/>
		<updated>2022-08-26T13:14:37Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 5. Install slang / slang modules / isis / isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This instruction is intended for Mac OS X 11.6 (Big Sur) users to &amp;quot;completely&amp;quot; install ISIS including the modules for: gsl, xfig, isisscripts. It was tested on an Intel machine with both 11.6 (Big Sur) and 10.15 (Catalina). No tests were done with ARM machines.  &lt;br /&gt;
&lt;br /&gt;
Assuming a fresh Mac OS X 11.6 installation (alternatively make sure that /usr/local/ or the prefix path of the installation is empty).&lt;br /&gt;
&lt;br /&gt;
== 1. Install Xcode (latest version) and Xquartz ==&lt;br /&gt;
To check whether Xcode is installed execute: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xcode-select -p&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
on command line&lt;br /&gt;
&lt;br /&gt;
If you see &amp;lt;code&amp;gt;/Applications/Xcode.app/Contents/Developer&amp;lt;/code&amp;gt; it should be installed.&lt;br /&gt;
Use the App Store to update or install Xcode&lt;br /&gt;
&lt;br /&gt;
Execute &amp;lt;code&amp;gt;xcode-select --install&amp;lt;/code&amp;gt;&lt;br /&gt;
on command line to install the Xcode command line tools&lt;br /&gt;
&lt;br /&gt;
Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. X11 is also no longer available from Apple directly, but has to be obtained from the [http://xquartz.macosforge.org/landing/ web]. Download X11 and install it. Note: if this link is out of date, search the Web for &amp;quot;OS X Xquartz&amp;quot;.&lt;br /&gt;
After installation the X11 libraries should now be available in &amp;lt;code&amp;gt;/opt/X11/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install Mac Ports ==&lt;br /&gt;
Fink could also work, the differences should be some package names and the location of some libraries which should be &amp;lt;code&amp;gt; /opt/local/&amp;lt;/code&amp;gt; for Mac Ports or &amp;lt;code&amp;gt;/sw/local/ &amp;lt;/code&amp;gt; for Fink.&lt;br /&gt;
&lt;br /&gt;
This instruction assumes that [https://www.macports.org/install.php Mac Ports] will be installed.&lt;br /&gt;
&lt;br /&gt;
== 3. Install packages with Mac Ports ==&lt;br /&gt;
There are several packages including their dependencies to be installed. I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. You can also use homebrew. First update port and all packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port selfupdate&lt;br /&gt;
sudo port upgrade outdated # repeat this until it does nothing&lt;br /&gt;
sudo port install gcc11&lt;br /&gt;
sudo port install gsl&lt;br /&gt;
sudo port install fig2dev&lt;br /&gt;
sudo port install z&lt;br /&gt;
sudo port install git&lt;br /&gt;
sudo port install texlive # only if latex is not available yet&lt;br /&gt;
sudo port install texlive-latex-extra # if sltikz will be used&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. To make sure that the proper compilers are used (and not &amp;lt;code&amp;gt;/usr/bin/gcc&amp;lt;/code&amp;gt;, which is a only &amp;quot;frontend&amp;quot; that can parse gcc), set the following in your &amp;lt;code&amp;gt;~/.bash_profile&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export GCC=&amp;quot;/opt/local/bin/gcc-mp-11&amp;quot;&lt;br /&gt;
export CC=&amp;quot;/opt/local/bin/gcc-mp-11&amp;quot;&lt;br /&gt;
export CXX=&amp;quot;/opt/local/bin/g++-mp-11&amp;quot;&lt;br /&gt;
export FC=&amp;quot;/opt/local/bin/gfortran-mp-11&amp;quot; # mac ports gfortran compiler&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then type &amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in the terminal.&lt;br /&gt;
&lt;br /&gt;
== 4. Install HEADAS ==&lt;br /&gt;
This is not necessary if only the &amp;quot;stellar_isisscripts&amp;quot; will be used.&lt;br /&gt;
* Download the latest version of [https://heasarc.gsfc.nasa.gov/lheasoft/download.html HEASOFT (source)]&lt;br /&gt;
* Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode. As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. You don't need to set anything to do that, but if you have old compiler flags set to &amp;quot;-m32&amp;quot;, remove them!&lt;br /&gt;
* create a directory in your $HOME called Software&lt;br /&gt;
* unpack the HEADAS tar file in this directory&lt;br /&gt;
* Install HEASOFT from source but use the following configurations&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --x-libraries=/opt/X11/lib --x-includes=/opt/X11/include&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your ~/.bash_profile (change this according to your terminal type and username)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=&amp;quot;/Users/username/path/to/heasoft/&amp;quot;&lt;br /&gt;
alias heainit=&amp;quot;source $HEADAS/headas-init.sh&lt;br /&gt;
heainit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The HEADAS path could/should look something like this: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$HEADAS=/Users/chgross/Software/heasoft-6.16/x86-apple-darwin14.1.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* apply the new settings to your terminal by either closing the current terminal windows and open a new terminal or by writing&lt;br /&gt;
&amp;lt;code&amp;gt;source ~/.bash_profile&amp;lt;/code&amp;gt; in your command line&lt;br /&gt;
&lt;br /&gt;
== 5. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-png=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install isis. Go to the isis directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS and you can instead do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install wget&lt;br /&gt;
sudo port install pgplot&lt;br /&gt;
sudo port install cfitsio &lt;br /&gt;
./configure --with-pgplot=/opt/local/ --with-cfitsio=/opt/local/ --with-x=/opt/X11/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib --with-gsl=/opt/local/&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== (6. Install stellar_isisscripts) ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change these two lines to read:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SLANGINC        = -I/usr/local/include -I/opt/local/include&lt;br /&gt;
SLANGLIB        =  -L/usr/local/lib -L/opt/local/lib -lslang &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /opt/local/bin  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 7. Possible problems with other software ==&lt;br /&gt;
=== XMM SAS ===&lt;br /&gt;
The XMM SAS resets part of your $PATH variable and uses its some of its own libraries. This might break some programs of HEASOFT when the SAS is loaded. As our &amp;lt;tt&amp;gt;xmmscripts&amp;lt;/tt&amp;gt; rely on the &amp;lt;tt&amp;gt;ftools&amp;lt;/tt&amp;gt;, this behavior is highly inconvenient. &lt;br /&gt;
As a workaround install the HEASOFT wrapper by following the instructions [http://heasarc.gsfc.nasa.gov/lheasoft/hwrap.html here].&lt;br /&gt;
&lt;br /&gt;
This will create a new directory with the executables of HEASOFT. Add this directory to  your &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; variable (in front of the rest of &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt;)!&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2545</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2545"/>
		<updated>2022-06-05T14:13:47Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 2. Install HEASOFT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation location by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure  commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;, which requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet, you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2544</id>
		<title>Install ISIS on Linux</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Linux&amp;diff=2544"/>
		<updated>2022-06-05T14:09:45Z</updated>

		<summary type="html">&lt;p&gt;Dorsch: /* 4. Install stellar_isisscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These instructions were tested for Debian 10, Ubuntu 20.04, and openSUSE 15.3. They should help you to install both the X-ray isisscripts as well as the &amp;quot;stellar_isisscripts&amp;quot;, but will focus on the latter. It also assumes that you use the bash shell. Using the csh requires minor changes.&lt;br /&gt;
&lt;br /&gt;
If you prefer an easy way to run the X-ray isisscripts (without the &amp;quot;stellar_isisscripts&amp;quot;), you can use the singularity container:&lt;br /&gt;
&lt;br /&gt;
https://www.sternwarte.uni-erlangen.de/wiki/index.php/Isis_tutorial_installing&lt;br /&gt;
&lt;br /&gt;
== 1. Install basic dependencies and general things ==&lt;br /&gt;
&lt;br /&gt;
If you don't have root access, you might have to build some things from source, e.g. pgplot, cfitsio, or libpng. &lt;br /&gt;
However, it might be easier to rely on HEASOFT in this case.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install libreadline-dev&lt;br /&gt;
sudo apt-get -y install libcurl4&lt;br /&gt;
sudo apt-get -y install libcurl4-gnutls-dev&lt;br /&gt;
sudo apt-get -y install libncurses5-dev&lt;br /&gt;
sudo apt-get -y install xorg-dev&lt;br /&gt;
sudo apt-get -y install gcc g++ gfortran&lt;br /&gt;
sudo apt-get -y install perl-modules-5*&lt;br /&gt;
sudo apt-get -y install python3-dev&lt;br /&gt;
sudo apt-get -y install fig2dev&lt;br /&gt;
sudo apt-get -y install libpng-dev &lt;br /&gt;
sudo apt-get -y install zlib1g-dev&lt;br /&gt;
sudo apt-get -y install libpcre3-dev&lt;br /&gt;
sudo apt-get -y install libonig-dev&lt;br /&gt;
sudo apt-get -y install pgplot5&lt;br /&gt;
sudo apt-get -y install wget&lt;br /&gt;
sudo apt-get -y install git&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You have to define some things in your ~/.bashrc:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export CC=/usr/bin/gcc&lt;br /&gt;
export CXX=/usr/bin/g++&lt;br /&gt;
export FC=/usr/bin/gfortran&lt;br /&gt;
export PERL=/usr/bin/perl&lt;br /&gt;
export PYTHON=/usr/bin/python3&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Install HEASOFT ==&lt;br /&gt;
&lt;br /&gt;
This is ''not'' required for the &amp;quot;stellar_isisscripts&amp;quot; and can be skipped if you only want to install these. That is, unless you have no other way to install pgplot and cfitsio. HEASOFT seems to be required to run the X-ray isisscripts properly. To download HEASOFT, go to:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/lheasoft/download.html&lt;br /&gt;
&lt;br /&gt;
unpack the download, and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd heasoft-6.29/BUILD_DIR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before I could run the configure script I had to make many files executable, &lt;br /&gt;
so it seems easiest to make all of them executable (this is not good practice):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find .. -name '*' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Building HEASOFT will take a while (~&amp;gt;30min). If you don't want to use root, set a different installation locations by using ./configure with &amp;lt;tt&amp;gt;'''--prefix=/path/to/installation/folder/'''&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
find .. -name 'headas-init.sh' | xargs chmod +x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you need to define $HEASOFT. For me, this meant editing ~/.bashrc to &lt;br /&gt;
include the two following lines. You need to adjust the path of course:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export HEADAS=/home/matti/programs/heasoft-6.29/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.sh&lt;br /&gt;
# or&lt;br /&gt;
# . $HEADAS/headas-init.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for csh, use instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv HEADAS /home/volans/mdorsch/isis/heasoft/installation/x86_64-pc-linux-gnu-libc2.31&lt;br /&gt;
. $HEADAS/headas-init.csh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
# or source ~/.cshrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Install slang / slang modules / isis / isisscripts ==&lt;br /&gt;
&lt;br /&gt;
First get the latest versions of slang / jed/ slgsl / slxfig / slirp / isis / isisscripts. &lt;br /&gt;
A scripted installation of slang and isis is possible, following the MIT guide:&lt;br /&gt;
&lt;br /&gt;
https://space.mit.edu/cxc/isis/install.html#XI&lt;br /&gt;
&lt;br /&gt;
However, I recommend using the git repositories. Go to the Software directory in your terminal and clone the repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/houckj/isis&lt;br /&gt;
git clone git://git.jedsoft.org/git/slang.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slxfig.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slgsl.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/jed.git&lt;br /&gt;
git clone git://git.jedsoft.org/git/slirp.git&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/git.public/isisscripts &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The following will assume you want to use root access. If that is not the case, you can use use the option&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--prefix=/path/to/installation/folder/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the ./configure  commands. It seems to work to install all of them to the same &amp;quot;--prefix&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Install slang. Go to the slang directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that all necessary standard modules are installed, including &amp;quot;png&amp;quot;, which requires &amp;quot;libpng16&amp;quot; to be installed. &lt;br /&gt;
If &amp;quot;libpng16&amp;quot; is not installed yet, you can easily build it from source:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/libpng/files/&lt;br /&gt;
&lt;br /&gt;
and then add its installation folder to $PATH.&lt;br /&gt;
&lt;br /&gt;
Install isis. Go to the isis directory, here with HEADAS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure --with-headas=$HEADAS&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your aim is to install the &amp;quot;stellar_isisscripts&amp;quot;, you don't need HEADAS, but may have to install fitsio:&lt;br /&gt;
&lt;br /&gt;
https://heasarc.gsfc.nasa.gov/fitsio/&lt;br /&gt;
&lt;br /&gt;
Then go to the isis directory and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;tt&amp;gt;'''--with-slang=/path/to/slang'''&amp;lt;/tt&amp;gt; to the following configuration set ups in case you installed slang in a different path other than &amp;lt;tt&amp;gt;/usr/local/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install jed. Go to the jed directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
make xjed&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slgsl. Go to the slgsl directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slxfig. Go to the slxfig directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install slirp. Go to the slirp directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before building the isisscripts, install the &amp;quot;SLURP&amp;quot; perl module. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo perl -MCPAN -e shell&lt;br /&gt;
install CPAN&lt;br /&gt;
reload cpan&lt;br /&gt;
install File::Slurp&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go to the isisscripts directory and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create / modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/isisscripts/share/&amp;quot;);&lt;br /&gt;
define ris() { require(&amp;quot;isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This allows the easy access to &amp;lt;tt&amp;gt;require(&amp;quot;isisscripts&amp;quot;)&amp;lt;/tt&amp;gt; in isis.&lt;br /&gt;
&lt;br /&gt;
== 4. Install stellar_isisscripts ==&lt;br /&gt;
&lt;br /&gt;
Get the newest version of the stellar_isisscripts from git.&lt;br /&gt;
If you have a Remeis/gitlab account and are at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you have a Remeis/gitlab account and are not at the Remeis observatory, do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://www.sternwarte.uni-erlangen.de/gitlab/irrgang/stellar.git&lt;br /&gt;
mv stellar stellar_isisscripts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Otherwise ask Matti Dorsch. Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts&lt;br /&gt;
make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now compile some necessary C functions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd stellar_isisscripts/slirp&lt;br /&gt;
slirp -make -lm -lgsl -lgslcblas -lpthread c_functions.h c_functions.o&lt;br /&gt;
sed -i -e 's/^CFLAGS[[:space:]]*= -g -O2/CFLAGS = -g -Ofast -Wall -Wextra/g' Makefile &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
rm c_functions-test.sl ; rm c_functions.o ; rm c_functions_glue.o ; rm c_functions_glue.c ; rm Makefile ; rm *~ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create modify the [[ISIS auto start (.isisrc)|.isisrc]] file in your &amp;lt;tt&amp;gt;$HOME&amp;lt;/tt&amp;gt; directory and add the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add_to_isis_load_path(&amp;quot;/Path/To/stellar_isisscripts/share/&amp;quot;);&lt;br /&gt;
define rmy() { require(&amp;quot;stellar_isisscripts&amp;quot;); };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use all functions, you need the stilts tool, which is related to TOPCAT. You can install it as a package:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install stilts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only if this does not work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir stilts; cd stilts&lt;br /&gt;
wget http://www.star.bris.ac.uk/~mbt/stilts/stilts.jar&lt;br /&gt;
wget 'http://www.star.bris.ac.uk/~mbt/stilts/stilts'&lt;br /&gt;
chmod +x stilts&lt;br /&gt;
sudo cp * /usr/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without root, you can add the folder that contains stilts to your $PATH in ~/.bashrc or ~/.cshrc.&lt;br /&gt;
&lt;br /&gt;
To test if the scripts work, try for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&lt;br /&gt;
rmy;&lt;br /&gt;
s = query_photometry (&amp;quot;HZ44&amp;quot;);&lt;br /&gt;
s.print();&lt;br /&gt;
help query_photometry&lt;br /&gt;
q&lt;br /&gt;
exit;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dorsch</name></author>
	</entry>
</feed>