Binary installation on Ubuntu 24.04 64 bit
To install HPP packages on Ubuntu 24.04 LTS 64 bit, follow these steps.
1. Install basic tools
sudo apt-get install git cmake curl doxygen lsb-release make wget
2. Install robotpkg
Install robotpkg by following the robotpkg installation website.
3. Install HPP
pyver=312
sudo apt-get install robotpkg-py${pyver}-hpp-python \
robotpkg-py${pyver}-qt5-hpp-gepetto-viewer
4. Install optional extra packages for demonstrations
Tutorials
sudo apt-get install robotpkg-py${pyver}-hpp-tutorial
Robot descriptions
sudo apt-get install robotpkg-py${pyver}-hpp-environments \
robotpkg-romeo-description
Documentation
sudo apt-get install robotpkg-hpp-doc
5. Setup environment variables
Add the following lines to your .bashrc file, after source /opt/ros/jazzy/setup.bash if you use ROS 2:
export PATH=/opt/openrobots/bin${PATH:+:}${PATH}
export LD_LIBRARY_PATH=/opt/openrobots/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
export PYTHONPATH=/opt/openrobots/lib/python3.12/site-packages${PYTHONPATH:+:}${PYTHONPATH}
export ROS_PACKAGE_PATH=/opt/openrobots/share${ROS_PACKAGE_PATH:+:}${ROS_PACKAGE_PATH}
export AMENT_PREFIX_PATH=/opt/openrobots${AMENT_PREFIX_PATH:+:}${AMENT_PREFIX_PATH}
export CMAKE_PREFIX_PATH=/opt/openrobots${CMAKE_PREFIX_PATH:+:}${CMAKE_PREFIX_PATH}
export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
6. Documentation access
Open:
/opt/openrobots/share/doc/hpp-doc/index.html
in a web browser to access the documentation of most HPP packages.
Binary installation on Ubuntu 22.04 64 bit
To install HPP packages on Ubuntu 22.04 LTS 64 bit, follow these steps.
1. Install robotpkg
Install robotpkg by following the robotpkg installation website.
2. Install HPP
pyver=310
sudo apt-get install robotpkg-py${pyver}-hpp-python \
robotpkg-py${pyver}-qt5-hpp-gepetto-viewer
3. Install optional extra packages for demonstrations
Tutorials
sudo apt-get install robotpkg-py${pyver}-hpp-tutorial
Robot descriptions
sudo apt-get install robotpkg-py${pyver}-hpp-environments \
robotpkg-romeo-description
Documentation
sudo apt-get install robotpkg-hpp-doc
4. Setup environment variables
Add the following lines to your .bashrc file (adjust the Python version if necessary):
export PATH=/opt/openrobots/bin${PATH:+:}${PATH}
export LD_LIBRARY_PATH=/opt/openrobots/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
export PYTHONPATH=/opt/openrobots/lib/python3.10/site-packages${PYTHONPATH:+:}${PYTHONPATH}
export ROS_PACKAGE_PATH=/opt/openrobots/share${ROS_PACKAGE_PATH:+:}${ROS_PACKAGE_PATH}
export CMAKE_PREFIX_PATH=/opt/openrobots${CMAKE_PREFIX_PATH:+:}${CMAKE_PREFIX_PATH}
export PKG_CONFIG_PATH=/opt/openrobots${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}
5. Documentation access
Open:
/opt/openrobots/share/doc/hpp-doc/index.html
in a web browser to access the documentation of most HPP packages.