stable-sources.md 2.38 KB
Newer Older
1
## Source installation on ubuntu-18.04 64 bit with ros-melodic
2

3
To install all the packages on ubuntu 18.04 LTS 64 bit, you should do the following steps:
4

5
  1. install ROS-melodic: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/melodic/Installation/Ubuntu).
6

7
8
9
  2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html).

  3. install by apt-get
10
  ```bash
11
12
13
14
15
16
17
18
    sudo apt-get install \
      g++ \
      cmake \
      doxygen \
      libboost-dev \
      liburdfdom-dev \
      libassimp-dev \
      libeigen3-dev \
19
      libgraphviz-dev \
20
      robotpkg-omniorb \
21
22
23
24
      robotpkg-qpoases+doc \
      robotpkg-roboptim-core \
      robotpkg-roboptim-trajectory \
      robotpkg-romeo-description \
25
      robotpkg-py36-omniorbpy \
26
      ros-melodic-xacro \
27
      libccd-dev \
28
29
30
31
      ros-melodic-octomap \
      ros-melodic-resource-retriever \
      ros-melodic-srdfdom \
      ros-melodic-pr2-description \
32
33
      git \
      libltdl-dev \
34
      python-omniorb \
35
36
37
38
39
40
41
42
      python-matplotlib \
      libxml2 \
      libtinyxml2-dev \
      qt4-dev-tools \
      libqt4-opengl-dev \
      libqtgui4 \
      libqtwebkit-dev \
      oxygen-icon-theme \
43
      robotpkg-openscenegraph \
44
      libpcre3-dev \
45
46
      wget \
      libcdd-dev
47
48
    ```

49
  4. Choose a directory on your file system and define the environment
50
51
52
53
     variable `DEVEL_HPP_DIR` with the full path to this directory.
     - the packages will be cloned into `$DEVEL_HPP_DIR/src`,
     - the packages will be installed in `$DEVEL_HPP_DIR/install`.
     It is recommanded to set variable `DEVEL_HPP_DIR` in your `.bashrc` for future use.
54

55
    ```bash
56
    mkdir -p $DEVEL_HPP_DIR/src
57
    ```
58
  5. Copy Config and Makefile
59
60

    ```bash
Guilhem Saurel's avatar
Guilhem Saurel committed
61
62
    wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-18.04-melodic.sh
    wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/stable.mk
63
64
    ```

65
  6. cd into `$DEVEL_HPP_DIR` and type
66
67

    ```bash
68
69
    cd ${DEVEL_HPP_DIR}
    source config.sh
70
71
    ```

72
  7. cd into `$DEVEL_HPP_DIR/src` and type
73
74

    ```bash
75
76
77
    cd ${DEVEL_HPP_DIR}/src
    source ../config.sh;
    make all
78
79
    ```

80
  8. open `$DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html` in a web brower and you
81
  will have access to the documentation of most packages.