Installation on Linux

FreeHAL can either be compiled manually or by using a script. If you don't know how to compile software, the compile script is a probably easier way.

A) Easy Way: Compile Script

Please save the following file in your home directory by "Right Click -> Save as". Your home directory is /home/your-username.

http://freehal.org/code/hal2009/scripts/autocompile

Then open a shell/terminal and type in:
bash autocompile
After pressing the return key, Freehal will be installed. Please follow the instructions if necessary. When the setup is finished, you can run Freehal with the command:
freehal

B) Manual Compilation

To compile FreeHAL from the source repository, you need the following packages:

NamePackage: Ubuntu/Debian
gcc and g++build-essential
Subversion Clientsubversion
CMakecmake
Perl 5.10 + headerslibperl-dev
BOINC development filesboinc-dev
die BOOST-Libraries "system", "thread" und "iostreams"libboost-system-dev, libboost-thread-dev, libboost-iostreams-dev
Boost.Asio, at least version 1.2libasio-dev
Qt 4 Headers + Development Toolsqt4-dev-tools


Install the dependencies:

Ubuntu:
sudo apt-get install build-essential subversion cmake libperl-dev boinc-dev libboost-system-dev libboost-thread-dev libboost-iostreams-dev libasio-dev qt4-dev-tools


Download the source code:
svn co http://freehal.org/code/hal2009
Go to your source directory:
cd hal2009
Use CMake to generate the makefile:
./configure
Compile FreeHAL:
make hal2009-server
To compile the GUI, change into the GUI directory:
cd gui-qt
Use qmake to generate the GUI source code:
qmake
Compile the GUI:
make
The executable file for the GUI is now in the folder gui-qt/bin/ and is called freehal. If you do not want to start the GUI and server components separately, the GUI should be copied into the FreeHAL core, to be started from there:
cp bin/freehal ..
Switch back to your source directory:
cd ..
And finally, start FreeHAL:
./freehal
Back to Documentation
    

Comments

About   Supporters   Social Networks
Copyright © 2006 - 2011
Tobias Schulz and Contributors

The FreeHAL Software is distributed under the GNU GPL v3 license.

The FreeHAL Website (freehal.org and freehal.net) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
  Members from SETI.Germany and Planet 3DNow! are sponsoring one of our servers.

 
Elton Chung from ReactOS donates a BOINC download mirror.


I don't want to see social networks at freehal.org! Buchmessen
More information: our partners | funds | expenses and donors