Difference between revisions of "Install dx"

From relax wiki
Jump to navigation Jump to search
m (removed Category:Op; added Category:OpenDX using HotCat)
 
(17 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
== Linux ==
 
== Linux ==
See http://pkgs.org/download/dx or http://pkgs.org/centos-6/epel-i386/dx-4.4.4-11.el6.3.i686.rpm.html
+
See http://pkgs.org/download/dx
  
 
Download the latest epel-release rpm from
 
Download the latest epel-release rpm from
 
<source lang="Bash">
 
<source lang="Bash">
 +
sudo yum install epel-release
 +
sudo yum install dx
 +
 +
# OR
 
cd $HOME/Downloads
 
cd $HOME/Downloads
curl http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm -o epel-release-6-8.noarch.rpm
+
# RHEL/CentOS 6 64-Bit ##
rpm -Uvh epel-release*rpm
+
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum install dx
+
sudo rpm -Uvh epel-release-6*.rpm
 +
sudo yum install dx
 
</source>
 
</source>
  
<source lang="Bash">
+
== Dockerfile ==
cd $HOME/Downloads
+
If you know how to run Docker, see the devel directory:
curl http://springdale.math.ias.edu/data/puias/computational/7/x86_64/dx-4.4.4-33.sdl7.x86_64.rpm -o dx-4.4.4-33.sdl7.x86_64.rpm
+
 
</source>
+
{{relax url|path=devel_scripts/Docker/Ubuntu_16_04_OpenDX}}
  
 +
Here is a screencast for how it is working: '''youtu.be/vbJP21lebLE'''
  
 +
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
  
Build: https://sourceforge.net/p/opendx/code/HEAD/tree/trunk/
 
<source lang="Bash">
 
cd $HOME/Downloads
 
svn checkout https://svn.code.sf.net/p/opendx/code/trunk opendx-code
 
  
cd opendx-code
+
Consider to add these to your .bash_profile
make
+
alias dxdocker='open -a /Applications/Docker.app/Contents/MacOS/Docker'
</source>
+
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'
  
 
== MAC ==
 
== MAC ==
Buy for 25$ from http://www.vizsolutions.com.<br>
+
Download from http://www.vizsolutions.com.<br>
When you pay by Paypal, you get a mail with instructions to install. That mail will probably end-up in a spam filter. Remember to check there.
 
  
 
After installing, in your home .bash_profile, add this
 
After installing, in your home .bash_profile, add this
Line 40: Line 47:
  
 
Then you can open dx files from terminal
 
Then you can open dx files from terminal
 +
 +
NOTE: A test try Oct. 2017 did not work on a macOS Sierra. <br>
 +
Instead installing Docker for mac, and running [[Install_dx#Dockerfile | Dockerfile]] worked instead.
  
 
== See also ==
 
== See also ==
 
[[Dx map]]
 
[[Dx map]]
[[Category:Software]]
+
[[Category:OpenDX]]

Latest revision as of 16:28, 21 October 2020

About

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.

Linux

See http://pkgs.org/download/dx

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 ##
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm
sudo yum install dx

Dockerfile

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

https://sourceforge.net/p/nmr-relax/code/ci/master/tree/devel_scripts/Docker/Ubuntu_16_04_OpenDX

Here is a screencast for how it is working: youtu.be/vbJP21lebLE

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/Docker.app/Contents/MacOS/Docker'
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'

MAC

Download from http://www.vizsolutions.com.

After installing, in your home .bash_profile, add this

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

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