How To Install octomap on Fedora 34

octomap is Efficient Probabilistic 3D Mapping Framework Based on Octrees Efficient Probabilistic 3D Mapping Framework Based on Octrees

Introduction

In this tutorial we learn how to install octomap on Fedora 34.

What is octomap

The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. The map implementation is based on an octree. octomap 1.9.7 1.fc34 x86_64 166 k octomap-1.9.7-1.fc34.src.rpm updates Efficient Probabilistic 3D Mapping Framework Based on Octrees http BSD and GPLv2 The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. The map implementation is based on an octree.

We can use yum or dnf to install octomap on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install octomap.

Install octomap on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install octomap using dnf by running the following command:

sudo dnf -y install octomap

Install octomap on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install octomap using yum by running the following command:

sudo yum -y install octomap

How To Uninstall octomap on Fedora 34

To uninstall only the octomap package we can use the following command:

sudo dnf remove octomap

octomap Package Contents on Fedora 34

/usr/bin/binvox2bt
/usr/bin/bt2vrml
/usr/bin/compare_octrees
/usr/bin/convert_octree
/usr/bin/edit_octree
/usr/bin/eval_octree_accuracy
/usr/bin/graph2tree
/usr/bin/log2graph
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/38e039f3bff20d1490c5e4fa342ba9b4033839
/usr/lib/.build-id/10
/usr/lib/.build-id/10/92966f343ff076f3cc9ad07d0434396c9e881d
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/c5bf0e920b2baa9849bf932729bd01c186ef05
/usr/lib/.build-id/25
/usr/lib/.build-id/25/8dfc4b639511ea1421e00a9dd9e5cd0bcbff46
/usr/lib/.build-id/60
/usr/lib/.build-id/60/48b5cf32b5f2d3dcee82e93765b3326f530574
/usr/lib/.build-id/74
/usr/lib/.build-id/74/3bfd7a61345c163e72bc6a3f000995d0ec99d4
/usr/lib/.build-id/78
/usr/lib/.build-id/78/13013ced75c6e00c0fa0ba2e0f685298c0f7fa
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6cef322df4d51a635fcb446796ee5ef2109a45
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a261d5828bd74d62c8643c38e635f28fcb694d
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/5a8650f2ef75907ef100d789f2abe66e61f470
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/44401f73c43666670b7dcab8004ab6985d4c7d
/usr/lib64/liboctomap.so.1.9
/usr/lib64/liboctomap.so.1.9.7
/usr/lib64/liboctomath.so.1.9
/usr/lib64/liboctomath.so.1.9.7
/usr/share/ament_index/resource_index/packages/octomap
/usr/share/doc/octomap
/usr/share/doc/octomap/AUTHORS.txt
/usr/share/doc/octomap/CHANGELOG.txt
/usr/share/doc/octomap/README.md
/usr/share/licenses/octomap
/usr/share/licenses/octomap/LICENSE.txt
/usr/share/octomap
/usr/share/octomap/package.xml
/usr/bin/binvox2bt
/usr/bin/bt2vrml
/usr/bin/compare_octrees
/usr/bin/convert_octree
/usr/bin/edit_octree
/usr/bin/eval_octree_accuracy
/usr/bin/graph2tree
/usr/bin/log2graph
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/77ed1e896fc8e43781684f651077fb727ef352
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/009fafa2482534e347f1ff49f6a7bcae72dabd
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/24305975580b59bad42c8e355332a0490b40b7
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/b315f46ed58bedc24c20168a3cf80db359ea98
/usr/lib/.build-id/85
/usr/lib/.build-id/85/8e3f3bc8c0275ba5cbf926dc1a252697320c37
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/fbc0e4c16a5cde00214ed900904d5905f8c5ce
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/42488e196fdc52714d71ff2b7886afaa0617ac
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/f905de2da768354cb8811741ff52d8b2559e91
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/ade1619c5fd6620d3099df66dcc84785b69a03
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/7689209adf87ff6b0acfa870cfff81e9feaf22
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/4a809c9da2d9782124025880380eac150ac926
/usr/lib/liboctomap.so.1.9
/usr/lib/liboctomap.so.1.9.7
/usr/lib/liboctomath.so.1.9
/usr/lib/liboctomath.so.1.9.7
/usr/share/ament_index/resource_index/packages/octomap
/usr/share/doc/octomap
/usr/share/doc/octomap/AUTHORS.txt
/usr/share/doc/octomap/CHANGELOG.txt
/usr/share/doc/octomap/README.md
/usr/share/licenses/octomap
/usr/share/licenses/octomap/LICENSE.txt
/usr/share/octomap
/usr/share/octomap/package.xml
/usr/bin/binvox2bt
/usr/bin/bt2vrml
/usr/bin/compare_octrees
/usr/bin/convert_octree
/usr/bin/edit_octree
/usr/bin/eval_octree_accuracy
/usr/bin/graph2tree
/usr/bin/log2graph
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/1ac1f527c38e38b026c1df565da14b45adcd79
/usr/lib/.build-id/27
/usr/lib/.build-id/27/4e931daf797039a4f4d91fe349ae6a4c2bcece
/usr/lib/.build-id/44
/usr/lib/.build-id/44/66e49655ffe2904dc1cd3973849b13020e71d0
/usr/lib/.build-id/62
/usr/lib/.build-id/62/1b638d471a360de97040ae56ba889266d1277c
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/5ee88e787c022780672489b1bd7d1574ea5552
/usr/lib/.build-id/96
/usr/lib/.build-id/96/d440985374af2d02b06eb606842d3426bc66a6
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/8c9feb8a5b7658b21971573f02ffac8850fc2b
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/219a8fae98b0967845b764b37acb4a20f31058
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/83f0d1fb9977c57c3f9a40bac389b878452cad
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/584b7f18430023d14940bd870a2401704c7979
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/5257999ed06356f745dd53903d726639abbb01
/usr/lib/liboctomap.so.1.9
/usr/lib/liboctomap.so.1.9.6
/usr/lib/liboctomath.so.1.9
/usr/lib/liboctomath.so.1.9.6
/usr/share/doc/octomap
/usr/share/doc/octomap/AUTHORS.txt
/usr/share/doc/octomap/CHANGELOG.txt
/usr/share/doc/octomap/README.md
/usr/share/licenses/octomap
/usr/share/licenses/octomap/LICENSE.txt
/usr/share/octomap
/usr/share/octomap/package.xml
/usr/bin/binvox2bt
/usr/bin/bt2vrml
/usr/bin/compare_octrees
/usr/bin/convert_octree
/usr/bin/edit_octree
/usr/bin/eval_octree_accuracy
/usr/bin/graph2tree
/usr/bin/log2graph
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/0b3562443867589e429c7a781865aa4a4e3595
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b1bb788100b0beed6580aa1bb15085717a629c
/usr/lib/.build-id/43
/usr/lib/.build-id/43/8393b59e15617d26bf31d78fe813d7c8a12ee9
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/82a499266a7cf6cca6928cff8a15bc37bb304c
/usr/lib/.build-id/65
/usr/lib/.build-id/65/cdc7a693c77d876b2e2bee81b740ff0f26ccea
/usr/lib/.build-id/77
/usr/lib/.build-id/77/b77d2c0838e8df6f0f7bc7cbb2900901592d6a
/usr/lib/.build-id/96
/usr/lib/.build-id/96/b4ce4277fcf1611a3f48a474807e3952c9a6d8
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/538f08d594ff1266a972f07e4c42c68471988a
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/1bdfb7155869f5b8fdd80917869cd78d0f3b84
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/2b92be59eb9847feef614d61c15f309e148df4
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/c6aa8fd95ca7d326f72afe1fb3f1092e3d342b
/usr/lib64/liboctomap.so.1.9
/usr/lib64/liboctomap.so.1.9.6
/usr/lib64/liboctomath.so.1.9
/usr/lib64/liboctomath.so.1.9.6
/usr/share/doc/octomap
/usr/share/doc/octomap/AUTHORS.txt
/usr/share/doc/octomap/CHANGELOG.txt
/usr/share/doc/octomap/README.md
/usr/share/licenses/octomap
/usr/share/licenses/octomap/LICENSE.txt
/usr/share/octomap
/usr/share/octomap/package.xml

References

Summary

In this tutorial we learn how to install octomap on Fedora 34 using yum and dnf.