Skip to main content

IDL Aliases

Adding Aliases

note that the latest version is located at:

/home/itt/idl

older versions can be found in /home/itt/ if needed. 

The following are needed only for those running IDL / IDLDE on CentOS and Ubuntu 

IDL one liner
echo 'if [[ -f /etc/os-release ]]; then . /etc/os-release; if [[ "$ID" == "ubuntu" && $(echo "$VERSION_ID >= 22.04" | bc -l) -eq 1 ]]; then alias idl="env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libglapi.so.0 /home/itt/idl"; else alias idl="/home/itt/idl"; fi; fi' >> ~/.bash_profile
IDLDE one liner
echo 'if [[ -f /etc/os-release ]]; then . /etc/os-release; if [[ "$ID" == "ubuntu" && $(echo "$VERSION_ID >= 22.04" | bc -l) -eq 1 ]]; then alias idlde="env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libglapi.so.0 /home/itt/idlde"; else alias idlde="/home/itt/idlde"; fi; fi' >> ~/.bash_profile

IDL Manual entry

alias idl='/home/itt/idl'

if [[ -f /etc/os-release ]]; then
. /etc/os-release
if [[ "$ID" == "ubuntu" && $(echo "$VERSION_ID >= 22.04" | bc -l) -eq 1 ]]; then
alias idl='env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libglapi.so.0 /home/itt/idl'
fi
fi
IDLDE Manual Entry
alias idl='/home/itt/idlde'

if [[ -f /etc/os-release ]]; then
. /etc/os-release
if [[ "$ID" == "ubuntu" && $(echo "$VERSION_ID >= 22.04" | bc -l) -eq 1 ]]; then
alias idlde='env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libglapi.so.0 /home/itt/idlde'
fi
fi