Install dx

From relax wiki
Jump to: navigation, search


OpenDX is a uniquely powerful, full-featured software package for the visualization of scientific, engineering and analytical data: Its open system design is built on familiar standard interface environments. And its sophisticated data model provides users with great flexibility in creating visualizations.



Download the latest epel-release rpm from

sudo yum install epel-release
sudo yum install dx
# OR
cd $HOME/Downloads
# RHEL/CentOS 6 64-Bit ##
sudo rpm -Uvh epel-release-6*.rpm
sudo yum install dx


If you know how to run Docker, see the devel directory:

Here is a screencast for how it is working:

You can get dx working on a mac as easy as:

open -a XQuartz
xhost + `ipconfig getifaddr en1`
docker run -ti --rm -e DISPLAY=$(ipconfig getifaddr en1):0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/developer/work --name ubuntu_dx opendx

Consider to add these to your .bash_profile

alias dxdocker='open -a /Applications/'
alias dxx='open -a XQuartz; xhost + `ipconfig getifaddr en1`'
alias dx='docker run -ti --rm -e DISPLAY=$(ipconfig getifaddr en1):0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/developer/work --name ubuntu_dx opendx'
alias dxbash='docker exec -it ubuntu_dx bash'


Download from

After installing, in your home .bash_profile, add this

# Use OpenDX/usr/local/bin
alias dx='open -a /Applications/OpenDX-4.4.4/'

Then you can open dx files from terminal

NOTE: A test try Oct. 2017 did not work on a macOS Sierra.
Instead installing Docker for mac, and running Dockerfile worked instead.

See also

Dx map