Skip to content

installation on RedHat CentOS

mattben edited this page Oct 29, 2014 · 32 revisions

###Supporting RedHat6 / CentOS6 Current Stable Release 2.0


###System Requirements (Must be Root) You must have access to the EPEL Repos help link

sudo yum install cmake cmake-gui wget libpng-devel libxml2-devel libxslt-devel xorg* sqlite-devel bzip2 gdbm-devel libXt-devel openssl-devel gcc-gfortran libgfortran tcl-devel tk-devel libdbi-devel libicu-devel libXi-devel mesa-libGLU-devel mesa-libGL-devel PyQt4-devel gcc-c++ patch

###Qt

cd /
wget http://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.0.0/qt-CentOS-6.5-RedHat6-64bit-4.8.4.tar.bz2
tar xvjf qt-CentOS-6.5-RedHat6-64bit-4.8.4.tar.bz2
  • please add Qt to your path (example in bash) add this to your .bashrc

      export Qt=/usr/local/uvcdat/Qt/4.8.4/bin/
      export PATH=$PATH:$Qt
    

##Installing the Binaries (Strongly Suggested) You must be Root

sudo -s

From a bash shell

cd /
wget http://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.0.0/UV-CDAT-2.0.0-CentOS6.5-RedHat6-64bit.tar.gz
tar xvjf UV-CDAT-2.0.0-CentOS6.5-RedHat6-64bit.tar.gz
source /usr/local/uvcdat/2.0.0/bin/setup_runtime.sh
  • Bash users add source /usr/local/uvcdat/2.0.0/bin/setup_runtime.sh to your ~/.bashrc file
  • Csh users add source /usr/local/uvcdat/2.0.0/bin/setup_runtime.csh to your ~/.cshrc file

Skip to Running UV-CDAT GUI


##Building from Source (Any User) ###Building & Install From the command line using bash shell
Change YY-MM-DD to todays date
There are more command options

export GIT_SSL_NO_VERIFY=1
cd ~/
git clone --branch uvcdat-2.0.0 https://github.com/UV-CDAT/uvcdat.git
mkdir build-uvcdat
cd build-uvcdat
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
#repeat this line
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
make -j4
source /usr/local/uvcdat/YY-MM-DD/bin/setup_runtime.sh
  • Bash users add source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.sh to your ~/.bashrc file
  • Csh users add source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.csh to your ~/.cshrc file

###Testing Running the test suite

cd ~/uvcdat-build
ctest -j4

To post the results to the UV-CDAT Dashboard

ctest -D Experimental

###Running UV-CDAT GUI

uvcdat

alt text

Need help, view our tutorials

Clone this wiki locally