forked from lenkd/avogadro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
64 lines (42 loc) · 1.83 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Requirements
============
-- CMake 2.8.9 or later (2.8.11 recommended)
-- Qt 4.6.0 or later (4.8.5 recommended)
-- OpenBabel 2.3.x or later (development version from
http://github.com/openbabel/openbabel is recommended)
-- Eigen 2.0.x or later (3.x also supported)
Basic Installation
==================
These instructions give a very basic overview of how to configure, compile and
install Avogadro on most systems. If you are using unique install locations
and/or libraries are not automatically detected please consult the 'Advanced'
section.
1. Create a 'build' directory in the package source directory.
mkdir build
cd build
2. Configure the build system
cmake ../
3. Compile
make -j2
4. Install
sudo make install
Advanced
========
The build system (CMake) provides mechanisms for specifying non-standard
installation locations.
-DCMAKE_INSTALL_PREFIX : specify the installation prefix
(default /usr/local)
-DLIB_INSTALL_DIR : specify the install location for libraries
(default ${CMAKE_INSTALL_PREFIX}/lib)
-DOPENBABEL2_LIBRARIES : specify the OpenBabel2 libraries
-DOPENBABEL2_INCLUDE_DIR : specify the OpenBabel2 include directory
-DEIGEN2_INCLUDE_DIR : specify the Eigen include directory
-DENABLE_PYTHON : specify whether to build Boost.Python interpreter
(default = TRUE)
-DENABLE_UPDATE_CHECKER : Enable checking for new Avogadro versions over the
network - Linux distributions may want to disable.
For more information please consult the CMake documentation.
Avogadro uses a few environment variables to find things at runtime. If Avogadro
is installed to the location specified at compile time none of these variables
need to be set.
AVOGADRO_TRANSLATIONS - the location of the translation files.