# Installations on laptops * [**IDL**](#idl-v90) * [**IRAF**](#iraf) * [**Latex**](#latex) * [**DS9**](#ds9) * [**Python3**](#python3) * [**Mathematica**](#mathematica) * [**Intel Compilers**](#intel-compilers) * [**SuperMongo**](#supermongo) * [**Starlink**](#starlink) * [**LibreOffice**](#libreoffice) ```{warning} The installation of the above packages requires full sudo/root permissions on your laptop. If not available, get in touch with us. ``` ## IDL (v9.0) ```{note} The current version is 9.0. Earlier versions are not supported. Also, we have no experience with [IDL under Windows](#idl-on-windows). **Do not install IDL v9.1 or later**, as we do not have a license for them. ``` ### 1) Obtain the file Download from: [https://cloud.iac.es/index.php/s/29t3RQ9qFoHp82F](https://cloud.iac.es/index.php/s/29t3RQ9qFoHp82F) **Note:** * Mac Intel → `x86_64` * Mac ARM (M1–M3) → `arm64` Mac users must also install **XQuartz**: [https://www.xquartz.org/](https://www.xquartz.org/) ### 2a) Linux Uncompress: ```bash tar -zxvf idl90-linux.tar.gz ``` Install (as root or with sudo): ```bash sudo ./install.sh ``` Recommended answers: * Install path: `/usr/local/nv5` * IDL Help files? → **Yes** * Create symbolic links? → **Yes** * Run License Administrator? → **No** ### 2b) Mac Run the installer package and answer **No** when asked about running the License Wizard. If macOS blocks the installer ("cannot check for malicious software"), see: [https://support.apple.com/guide/mac-help/apple-cant-check-app-for-malicious-software-mchleab3a043/12.0/mac/12.0](https://support.apple.com/guide/mac-help/apple-cant-check-app-for-malicious-software-mchleab3a043/12.0/mac/12.0) ### 3a) Enable access to IAC floating licenses Licensing for IDL 8.9/9.0 has changed relative to IDL 8.8. While connected to IAC network (or VPN), go to the license directory: * Linux: `/usr/local/nv5/license/` * Mac: `/Applications/NV5/license/` Create the file `lic_server.dat` containing: ``` https://zuko:40443 ``` If needed, try `zuko.ll.iac.es`. From outside the IAC, use VPN: [https://www.iac.es/en/user/login?destination=/en/intranet/applications-and-services/computing/remote-vpn-connection](https://www.iac.es/en/user/login?destination=/en/intranet/applications-and-services/computing/remote-vpn-connection) ```{warning} License borrowing is no longer supported. ``` ### 3b) Node locked license If you have a node-locked license, contact: **[sinfin@iac.es](mailto:sinfin@iac.es)**. ### 4) (Mac only) Define aliases (check paths before using): ```bash alias idl='/Applications/NV5/idl90/bin/idl' alias idlde='/Applications/NV5/idl90/bin/idlde' ``` ### 5) Complete installation You may need to log out or reboot to finalize installation. --- ## IDL on Windows Basic guidance only (no full support provided): 1. Download Windows installer: [https://cloud.iac.es/index.php/s/pr6MbcWjRRT4ott](https://cloud.iac.es/index.php/s/pr6MbcWjRRT4ott) 2. Install normally. 3. Enable floating licenses following: [https://www.l3harrisgeospatial.com/docs/license-activate-online.html](https://www.l3harrisgeospatial.com/docs/license-activate-online.html) (section **Connect a Client to the License Server**) Use server info from section **3a** above. --- ## IRAF ### Linux Cloud folder with installer + README: [https://cloud.iac.es/index.php/s/gfjkTTK2q7Qwtk5](https://cloud.iac.es/index.php/s/gfjkTTK2q7Qwtk5) ### Mac (up to Mojave) Follow: [https://research.iac.es/sieinvens/siepedia/pmwiki.php?n=HOWTOs.IrafMacOSX](https://research.iac.es/sieinvens/siepedia/pmwiki.php?n=HOWTOs.IrafMacOSX) ### Mac (Catalina and later) IRAF v2.18 runs natively on Mac (Intel & ARM). Install from: [https://iraf.noirlab.edu/](https://iraf.noirlab.edu/) --- ## Latex ### Mac Install MacTex: [https://tug.org/mactex/](https://tug.org/mactex/) ### Linux (Ubuntu) ```bash sudo apt install texlive-full texmaker ``` --- ## DS9 (Mac & Linux) Download from: [https://sites.google.com/cfa.harvard.edu/saoimageds9/download](https://sites.google.com/cfa.harvard.edu/saoimageds9/download) (Mac users: choose **Aqua** version) --- ## Python3 ### Linux (Ubuntu) Install system packages: ```bash sudo apt install python3-dev python3-pip python3-numpy python3-scipy python3-matplotlib python3-astropy ``` However, these may be outdated. **Recommended: use a virtual environment**: ```bash mkdir -p ${HOME}/py310_virtualenvs cd ${HOME}/py310_virtualenvs/ python3.10 -m venv main source main/bin/activate pip install --upgrade pip wheel pip install numpy scipy matplotlib astropy pandas scikit-image ``` Activate later with: ```bash source ${HOME}/py310_virtualenvs/main/bin/activate ``` Deactivate with: ```bash deactivate ``` ### Mac Options: * **MacPorts** (supported) → [https://www.macports.org/](https://www.macports.org/) * **HomeBrew** → [https://brew.sh/](https://brew.sh/) * **Anaconda** → [https://www.anaconda.com/products/individual](https://www.anaconda.com/products/individual) Using MacPorts (recommended): ```bash sudo port install python310 py310-pip py310-virtualenv ``` Then create/use venv as in Linux. --- ## Mathematica Installer: [https://cloud.iac.es/index.php/s/xjMcr5t3D3esZA6](https://cloud.iac.es/index.php/s/xjMcr5t3D3esZA6) ### macOS Install via package. ### Linux ```bash sudo sh Mathematica_14.0.0_BNDL_LINUX.sh ``` ### Floating license In Mathematica: **Help → Enter Activation Key → Other ways to activate → Connect to a network license server** Server name: `zuko` Requires IAC network or VPN. --- ## Intel Compilers Install free **Intel oneAPI toolkit**: [https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html) Install at least the **Base Toolkit**, optionally **HPC Toolkit**. Instructions: [https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html](https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html) --- ## SuperMongo SuperMongo is very old; consider switching to modern tools (e.g., matplotlib). ### macOS 1. Download `sm-2.4.36-dbl_macOS.run`: [https://cloud.iac.es/index.php/s/HwWCj7ERr2zQJf5](https://cloud.iac.es/index.php/s/HwWCj7ERr2zQJf5) 2. Install: ```bash sudo sh sm-2.4.36-dbl_macOS.run ``` 3. Download `.sm_opt_sm` (rename to `.sm`), place in home directory. Run with: ```bash sm ``` Requires **XQuartz**. ### Linux 1. Download `sm-2.4.36-dbl.run` and `.sm`: [https://cloud.iac.es/index.php/s/HwWCj7ERr2zQJf5](https://cloud.iac.es/index.php/s/HwWCj7ERr2zQJf5) 2. Follow README instructions. Run with: ```bash sm ``` --- ## Starlink Download Starlink 2023A: [https://starlink.eao.hawaii.edu/starlink/2023ADownload](https://starlink.eao.hawaii.edu/starlink/2023ADownload) Follow installation instructions provided there. --- ## LibreOffice ### Linux (Ubuntu) ```bash sudo apt install libreoffice ``` ### macOS Follow: [https://www.libreoffice.org/get-help/install-howto/macos/](https://www.libreoffice.org/get-help/install-howto/macos/)