From 9c5f8ac2bbec205c9eacc3509cf6cd5bfd4b7db7 Mon Sep 17 00:00:00 2001 From: Florent Lamiraux Date: Tue, 7 Jan 2025 12:18:04 +0000 Subject: [PATCH] [instructions] Add instruction for ubuntu-24.04. Remove instructions for ubuntu-18.04. --- instructions/devel-sources.md | 103 +++++++++++++-------------------- instructions/stable-sources.md | 65 +++++++++++++++++++-- 2 files changed, 100 insertions(+), 68 deletions(-) diff --git a/instructions/devel-sources.md b/instructions/devel-sources.md index fcf90571..beebe3f4 100644 --- a/instructions/devel-sources.md +++ b/instructions/devel-sources.md @@ -1,6 +1,6 @@ -## Source installation on ubuntu-22.04 64 bit +## Source installation on ubuntu-24.04 64 bit -To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the following steps: +To install all the packages on ubuntu 24.04 LTS 64 bit, you should do the following steps: 2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html). @@ -20,8 +20,8 @@ To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the follow python3-pydot python3-pyqt5 python3-scipy python3-setuptools \ python3-sip-dev python3-sphinx python3-yaml python3-pip python-is-python3 \ qtbase5-private-dev qtmultimedia5-dev robotpkg-openscenegraph \ - robotpkg-py310-omniorbpy robotpkg-qpoases robotpkg-qt5-osgqt \ - texlive-latex-extra + robotpkg-py312-omniorbpy robotpkg-qpoases robotpkg-qt5-osgqt \ + texlive-latex-extra wget ``` 4. Choose a directory on your file system and define the environment @@ -36,7 +36,7 @@ To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the follow 5. Copy Config and Makefile ```bash - wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-22.04.sh + wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-24.04.sh wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/devel.mk ``` @@ -51,58 +51,36 @@ To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the follow ```bash cd ${DEVEL_HPP_DIR}/src - source ../config.sh; make all ``` 8. open `$DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html` in a web brower and you will have access to the documentation of most packages. -## Source installation on ubuntu-20.04 64 bit with ros-noetic - -To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the following steps: +## Source installation on ubuntu-22.04 64 bit - 1. install ROS-noetic: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/noetic/Installation/Ubuntu). +To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the following steps: 2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html). 3. install by apt-get ```bash sudo apt-get install \ - g++ \ - cmake \ - doxygen \ - libboost-dev \ - liburdfdom-dev \ - libassimp-dev \ - libeigen3-dev \ - libgraphviz-dev \ - graphviz \ - robotpkg-omniorb \ - robotpkg-qpoases+doc \ - robotpkg-romeo-description \ - robotpkg-py38-omniorbpy \ - ros-noetic-xacro \ - libccd-dev \ - ros-noetic-octomap \ - ros-noetic-resource-retriever \ - ros-noetic-srdfdom \ - ros-noetic-pr2-description \ - git \ - libltdl-dev \ - python-omniorb \ - python3-matplotlib \ - qtbase5-private-dev \ - qtdeclarative5-dev \ - qtmultimedia5-dev \ - libqt5svg5-dev \ - libxml2 \ - libtinyxml2-dev \ - oxygen-icon-theme \ - robotpkg-openscenegraph \ - libpcre3-dev \ - wget \ - libcdd-dev + assimp-utils cmake coinor-libipopt-dev coinor-libipopt1v5 cython3 doxygen \ + git ffmpeg gcovr gfortran graphviz libassimp-dev libboost-all-dev \ + libbullet-dev libccd-dev libcdd-dev libconsole-bridge-dev libeigen3-dev \ + libglpk-dev libgraphviz-dev libgtest-dev liblapack-dev liblog4cxx-dev \ + libltdl-dev liboctomap-dev libopencv-dev libpcl-dev libqt5svg5-dev \ + libqt5xmlpatterns5-dev libtinyxml2-dev libtinyxml-dev libtool-bin \ + liburdfdom-dev liburdfdom-headers-dev libyaml-cpp-dev llvm m4 \ + oxygen-icon-theme pkg-config psmisc pyqt5-dev python3-defusedxml \ + python3-dev python3-empy python3-gnupg python3-matplotlib \ + python3-netifaces python3-nose python3-numpy python3-paramiko \ + python3-pydot python3-pyqt5 python3-scipy python3-setuptools \ + python3-sip-dev python3-sphinx python3-yaml python3-pip python-is-python3 \ + qtbase5-private-dev qtmultimedia5-dev robotpkg-openscenegraph \ + robotpkg-py310-omniorbpy robotpkg-qpoases robotpkg-qt5-osgqt \ + texlive-latex-extra wget ``` 4. Choose a directory on your file system and define the environment @@ -117,7 +95,7 @@ To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the follow 5. Copy Config and Makefile ```bash - wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-20.04-noetic.sh + wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-22.04.sh wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/devel.mk ``` @@ -132,18 +110,17 @@ To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the follow ```bash cd ${DEVEL_HPP_DIR}/src - source ../config.sh; make all ``` 8. open `$DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html` in a web brower and you will have access to the documentation of most packages. -## Source installation on ubuntu-18.04 64 bit with ros-melodic +## Source installation on ubuntu-20.04 64 bit with ros-noetic -To install all the packages on ubuntu 18.04 LTS 64 bit, you should do the following steps: +To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the following steps: - 1. install ROS-melodic: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/melodic/Installation/Ubuntu). + 1. install ROS-noetic: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/noetic/Installation/Ubuntu). 2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html). @@ -158,27 +135,27 @@ To install all the packages on ubuntu 18.04 LTS 64 bit, you should do the follow libassimp-dev \ libeigen3-dev \ libgraphviz-dev \ + graphviz \ robotpkg-omniorb \ robotpkg-qpoases+doc \ robotpkg-romeo-description \ - robotpkg-py36-omniorbpy \ - ros-melodic-xacro \ + robotpkg-py38-omniorbpy \ + ros-noetic-xacro \ libccd-dev \ - ros-melodic-octomap \ - ros-melodic-resource-retriever \ - ros-melodic-srdfdom \ - ros-melodic-pr2-description \ + ros-noetic-octomap \ + ros-noetic-resource-retriever \ + ros-noetic-srdfdom \ + ros-noetic-pr2-description \ git \ libltdl-dev \ python-omniorb \ - python-matplotlib \ - python3-catkin \ + python3-matplotlib \ + qtbase5-private-dev \ + qtdeclarative5-dev \ + qtmultimedia5-dev \ + libqt5svg5-dev \ libxml2 \ libtinyxml2-dev \ - qt4-dev-tools \ - libqt4-opengl-dev \ - libqtgui4 \ - libqtwebkit-dev \ oxygen-icon-theme \ robotpkg-openscenegraph \ libpcre3-dev \ @@ -198,7 +175,7 @@ To install all the packages on ubuntu 18.04 LTS 64 bit, you should do the follow 5. Copy Config and Makefile ```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/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-20.04-noetic.sh wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/devel.mk ``` @@ -213,10 +190,8 @@ To install all the packages on ubuntu 18.04 LTS 64 bit, you should do the follow ```bash cd ${DEVEL_HPP_DIR}/src - source ../config.sh; make all ``` 8. open `$DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html` in a web brower and you will have access to the documentation of most packages. - diff --git a/instructions/stable-sources.md b/instructions/stable-sources.md index f33f28c4..e186cb9d 100644 --- a/instructions/stable-sources.md +++ b/instructions/stable-sources.md @@ -1,3 +1,62 @@ +## Source installation on ubuntu-24.04 64 bit + +To install all the packages on ubuntu 24.04 LTS 64 bit, you should do the following steps: + + 2. install robotpkg: follow [the robotpkg installation website](http://robotpkg.openrobots.org/debian.html). + + 3. install by apt-get + ```bash + sudo apt-get install \ + assimp-utils cmake coinor-libipopt-dev coinor-libipopt1v5 cython3 doxygen \ + git ffmpeg gcovr gfortran graphviz libassimp-dev libboost-all-dev \ + libbullet-dev libccd-dev libcdd-dev libconsole-bridge-dev libeigen3-dev \ + libglpk-dev libgraphviz-dev libgtest-dev liblapack-dev liblog4cxx-dev \ + libltdl-dev liboctomap-dev libopencv-dev libpcl-dev libqt5svg5-dev \ + libqt5xmlpatterns5-dev libtinyxml2-dev libtinyxml-dev libtool-bin \ + liburdfdom-dev liburdfdom-headers-dev libyaml-cpp-dev llvm m4 \ + oxygen-icon-theme pkg-config psmisc pyqt5-dev python3-defusedxml \ + python3-dev python3-empy python3-gnupg python3-matplotlib \ + python3-netifaces python3-nose python3-numpy python3-paramiko \ + python3-pydot python3-pyqt5 python3-scipy python3-setuptools \ + python3-sip-dev python3-sphinx python3-yaml python3-pip python-is-python3 \ + qtbase5-private-dev qtmultimedia5-dev robotpkg-openscenegraph \ + robotpkg-py312-omniorbpy robotpkg-qpoases robotpkg-qt5-osgqt \ + texlive-latex-extra wget + ``` + + 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. + + ```bash + mkdir -p $DEVEL_HPP_DIR/src + ``` + 5. Copy Config and Makefile + + ```bash + wget -O $DEVEL_HPP_DIR/config.sh https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/doc/config/ubuntu-24.04.sh + wget -O $DEVEL_HPP_DIR/src/Makefile https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/stable/makefiles/stable.mk + ``` + + 6. cd into `$DEVEL_HPP_DIR` and type + + ```bash + cd ${DEVEL_HPP_DIR} + source config.sh + ``` + + 7. cd into `$DEVEL_HPP_DIR/src` and type + + ```bash + cd ${DEVEL_HPP_DIR}/src + make all + ``` + + 8. open `$DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html` in a web brower and you + will have access to the documentation of most packages. + ## Source installation on ubuntu-22.04 64 bit To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the following steps: @@ -18,10 +77,10 @@ To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the follow python3-dev python3-empy python3-gnupg python3-matplotlib \ python3-netifaces python3-nose python3-numpy python3-paramiko \ python3-pydot python3-pyqt5 python3-scipy python3-setuptools \ - python3-sip-dev python3-sphinx python3-yaml python3-pip python-is-python3\ + python3-sip-dev python3-sphinx python3-yaml python3-pip python-is-python3 \ qtbase5-private-dev qtmultimedia5-dev robotpkg-openscenegraph \ robotpkg-py310-omniorbpy robotpkg-qpoases robotpkg-qt5-osgqt \ - texlive-latex-extra + texlive-latex-extra wget ``` 4. Choose a directory on your file system and define the environment @@ -51,7 +110,6 @@ To install all the packages on ubuntu 22.04 LTS 64 bit, you should do the follow ```bash cd ${DEVEL_HPP_DIR}/src - source ../config.sh; make all ``` @@ -132,7 +190,6 @@ To install all the packages on ubuntu 20.04 LTS 64 bit, you should do the follow ```bash cd ${DEVEL_HPP_DIR}/src - source ../config.sh; make all ```