Skip to content

Install on Ubuntu

David Lonie edited this page Jan 21, 2015 · 19 revisions

Supporting Ubuntu 13.x and 14.x

Current Stable Release 2.0


System Requirements

sudo apt-get install cmake cmake-curses-gui wget libqt4-dev libpng12-dev libxml2-dev libxslt1-dev xorg-dev sqlite3 libsqlite3-dev libbz2-dev libgdbm-dev libxt-dev libssl-dev gfortran g++ qt4-dev-tools tcl-dev tk-dev libgdbm-dev libdb-dev libicu-dev libxi-dev libglu1-mesa-dev libgl1-mesa-dev libqt4-opengl-dev libbz2-dev 

Installing the Binaries (Strongly Suggested)

You must be Root

sudo -s

From a bash shell

cd /
wget hhttp://sourceforge.net/projects/cdat/files/Releases/UV-CDAT/2.0.0/UV-CDAT-2.0.0-Ubuntu-14.04-64bit.tar.gz 
tar xvjf UV-CDAT-2.0.0-Ubuntu-14.04-64bit.tar.gz
source /usr/local/uvcdat/2.0.0/bin/setup_runtime.sh

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 -DGIT_PROTOCOL=git:// -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
make -j4
source ~/uvcdat-2.0.0/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

####Common Build Issue

Recent Ubuntu OpenGL packages have a bug in the glxext.h header. If you encounter an error such as

/usr/include/GL/glxext.h:480:143: error: 'GLintptr' has not been declared

during compliation, edit /usr/include/GL/glxext.h as root, and add the lines

typedef ptrdiff_t GLsizeiptr;
typedef ptrdiff_t GLintptr;

at line 480 and rerun make.


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

(Don't forget to source setup_runtime.sh)

uvcdat

alt text

Need help, view our tutorials

Clone this wiki locally