Chapter 2. Installation

Table of Contents

2.1. Installation notes
2.2. Qt
2.3. Python
2.4. SIP
2.5. PyQt
2.6. pyRXP
2.7. MySQL
2.8. MySQL-python
2.9. pyOpenSSL
2.10. PyDADL

2.1. Installation notes

This chapter describes the installation procedure of PyDADL and all required packages. This is not a universal procedure, experienced users can adapt the procedure to their own system and needs. It's also possible to use the packages shipped with your distribution and install only the missed ones.

In order to build the PyDADL environment, you need to have some elements present on your system :

  • Compilation tools (gcc, make, ...) and libraries for C and C++
  • wget
  • openssl library and devel files

In order to download the sources, you need to be connected to the Internet during the installation process.

We'll assume that PyDADL environment will be installed in /usr/local/pydadl and sources will be downloaded in ~/pydadl_install. Create those directories :

mkdir ~/pydadl_install
mkdir /usr/local/pydadl

You need root privileges to create the installation directory. If you cannot be root on your system, change this directory and adapt the rest of the procedure to reflect the change.


If you want to build the environment using a regular user account, change the ownership of the installation directory before starting the build process.

The next sections describes the build procedure of each component of PyDADL environment.