How To Install liborocos-kdl1.4 on Ubuntu 20.04

In this tutorial we learn how to install liborocos-kdl1.4 on Ubuntu 20.04. liborocos-kdl1.4 is Kinematics and Dynamics Library runtime Kinematics and Dynamics Library runtime

Introduction

In this tutorial we learn how to install liborocos-kdl1.4 on Ubuntu 20.04.

What is liborocos-kdl1.4

liborocos-kdl1.4 is:

Orocos project to supply RealTime usable kinematics and dynamics code, it contains code for rigid body kinematics calculations and representations for kinematic structures and their inverse and forward kinematic solvers. This package contains the library itself.

Package: liborocos-kdl1.4 Architecture: amd64 Version: 1.4.0-7build2 Priority: optional Section: universe/libs Source: orocos-kdl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Science Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 782 Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2) Filename: pool/universe/o/orocos-kdl/liborocos-kdl1.4_1.4.0-7build2_amd64.deb Size: 226348 MD5sum: 8db78d8eb7020e0c71954530f3f2583a SHA1: 342bc00aa38654988911ca695c600ae2b9a50a89 SHA256: b030b2b68d79c7f6141ce997ff3d3aa34a91dbcd82e2a8c50c4e6e6e8e34902e Homepage: http://www.orocos.org/kdl Description-en: Kinematics and Dynamics Library runtime Orocos project to supply RealTime usable kinematics and dynamics code, it contains code for rigid body kinematics calculations and representations for kinematic structures and their inverse and forward kinematic solvers. This package contains the library itself.

There are three methods to install liborocos-kdl1.4 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install liborocos-kdl1.4 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install liborocos-kdl1.4 using apt-get by running the following command:

sudo apt-get -y install liborocos-kdl1.4

Install liborocos-kdl1.4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liborocos-kdl1.4 using apt by running the following command:

sudo apt -y install liborocos-kdl1.4

Install liborocos-kdl1.4 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liborocos-kdl1.4 using aptitude by running the following command:

sudo aptitude -y install liborocos-kdl1.4

How To Uninstall liborocos-kdl1.4 on Ubuntu 20.04

To uninstall only the liborocos-kdl1.4 package we can use the following command:

sudo apt-get remove liborocos-kdl1.4

Uninstall liborocos-kdl1.4 And Its Dependencies

To uninstall liborocos-kdl1.4 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove liborocos-kdl1.4

Remove liborocos-kdl1.4 Configurations and Data

To remove liborocos-kdl1.4 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge liborocos-kdl1.4

Remove liborocos-kdl1.4 configuration, data, and all of its dependencies

We can use the following command to remove liborocos-kdl1.4 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liborocos-kdl1.4

References

Summary

In this tutorial we learn how to install liborocos-kdl1.4 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.