devel-sources.md 4.66 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
  2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html).

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
  3. install by apt-get
  ```bash
    sudo apt-get install \
      g++ \
      cmake \
      doxygen \
      libboost-dev \
      liburdfdom-dev \
      libassimp-dev \
      libeigen3-dev \
      libgraphviz-dev \
      robotpkg-omniorb \
      robotpkg-qpoases+doc \
      robotpkg-romeo-description \
      robotpkg-py36-omniorbpy \
      ros-melodic-xacro \
      libccd-dev \
      ros-melodic-octomap \
      ros-melodic-resource-retriever \
      ros-melodic-srdfdom \
      ros-melodic-pr2-description \
      git \
      libltdl-dev \
      python-omniorb \
      python-matplotlib \
      python3-catkin \
      libxml2 \
      libtinyxml2-dev \
      qt4-dev-tools \
      libqt4-opengl-dev \
      libqtgui4 \
      libqtwebkit-dev \
      oxygen-icon-theme \
      robotpkg-openscenegraph \
      libpcre3-dev \
      wget \
      libcdd-dev
46
    ```
47

48
49
50
51
52
  4. Choose a directory on your file system and define the environment
     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.
53

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

59
60
61
62
    ```bash
    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/devel.mk
    ```
63

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

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

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

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

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

82
## Source installation on ubuntu-20.04 64 bit with ros-noetic
83

84
To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the following steps:
85

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

88
89
90
  2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html).

  3. install by apt-get
91
  ```bash
92
93
94
95
96
97
98
99
    sudo apt-get install \
      g++ \
      cmake \
      doxygen \
      libboost-dev \
      liburdfdom-dev \
      libassimp-dev \
      libeigen3-dev \
100
      libgraphviz-dev \
101
      graphviz \
102
      robotpkg-omniorb \
103
104
      robotpkg-qpoases+doc \
      robotpkg-romeo-description \
105
106
      robotpkg-py38-omniorbpy \
      ros-noetic-xacro \
107
      libccd-dev \
108
109
110
111
      ros-noetic-octomap \
      ros-noetic-resource-retriever \
      ros-noetic-srdfdom \
      ros-noetic-pr2-description \
112
113
      git \
      libltdl-dev \
114
      python-omniorb \
115
116
117
118
119
      python3-matplotlib \
      qtbase5-private-dev \
      qtdeclarative5-dev \
      qtmultimedia5-dev \
      libqt5svg5-dev \
120
121
122
      libxml2 \
      libtinyxml2-dev \
      oxygen-icon-theme \
123
      robotpkg-openscenegraph \
124
      libpcre3-dev \
125
126
      wget \
      libcdd-dev
127
128
    ```

129
  4. Choose a directory on your file system and define the environment
130
131
132
133
     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.
134

135
    ```bash
136
    mkdir -p $DEVEL_HPP_DIR/src
137
    ```
138
  5. Copy Config and Makefile
139
140

    ```bash
141
    wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-20.04-noetic.sh
Guilhem Saurel's avatar
Guilhem Saurel committed
142
    wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/devel.mk
143
144
    ```

145
  6. cd into `$DEVEL_HPP_DIR` and type
146
147

    ```bash
148
149
    cd ${DEVEL_HPP_DIR}
    source config.sh
150
151
    ```

152
  7. cd into `$DEVEL_HPP_DIR/src` and type
153
154

    ```bash
155
156
157
    cd ${DEVEL_HPP_DIR}/src
    source ../config.sh;
    make all
158
159
    ```

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