Download and install BRL-CAD from source (for ubuntu)

First install these dependencies on your system,

$sudo aptitude install build-essential make cmake
$sudo aptitude install sed byacc flex xsltproc
$sudo aptitude install libncursesw5-dev libfontconfig-dev 
$sudo aptitude install xserver-xorg-dev
$sudo aptitude install libx11-dev libxi-dev libxt-dev libxau-dev libxext-dev libxmu-dev libxmu-headers

Fire the terminal and run these commands:

$sudo apt-get install subversion
 (if not installed)
$svn co https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk brlcad
It will create a folder in home named "brlcad".  This is your source code.
$cd brlcad/
$mkdir .build
$cd .build
$cmake .. -DBRLCAD_BUNDLED_LIBS=ON
$time make          //note the time taken to compile
$make test
$sudo make install
$ls -la /usr/brlcad
$/usr/brlcad/*/bin/mged      //to execute the software

enjoy :)

When I was compiling its source code, it took this time:
time-brl-make

Note: Get updated for compilation steps from here: http://brlcad.org/wiki/Compiling

4 thoughts on “Download and install BRL-CAD from source (for ubuntu)

      1. Yes it is installed with errors! 😛
        But its running smoothly right now.. no problem or any glitches that I’ve come across so far!
        Actually after that 8 error display I ran the next command and the installation finished so I couldn’t do anything to resolve them. 😀

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.