Compiling and installing ROOT on Ubuntu
- First you need to download the source code package.
- Uncompress the source code package.
- Enter the folder
- Now you need to install the required packages
sudo apt-get install build-essential libx11-dev libxft2-dev xorg-dev
- Here you start with configuration, there are many compilation options. You can check them by entering
./configure --help
- I used the following command, the python parameter is to instruct the compiler to compile the python interface
-
./configure --enable-opengl --prefix=/usr/local --enable-python --enable-debug<br />
-
- Now the making
sudo make
- The installing
sudo make install
- Now go to
gedit /etc/ld.so.conf.d/libc.conf
- Add the following line, do not forget to replace $ROOT by the path to the root directory on your computer
$ROOT/lib
- Save the changes to the file and then enter
sudo ldconfig
This worked for me.
ENJOY!
Groups:
- mstftsm's blog
- Login or register to post comments