How To Install osmpbf on Fedora 36

In this tutorial we learn how to install osmpbf in Fedora 36. osmpbf is C library to read and write OpenStreetMap PBF files

Introduction

In this tutorial we learn how to install osmpbf on Fedora 36.

What is osmpbf

Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage.

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

Install osmpbf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install osmpbf

Install osmpbf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install osmpbf

How To Uninstall osmpbf on Fedora 36

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

sudo dnf remove osmpbf

osmpbf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/52306dc8bd2edaa33f14e0945038551564d66c
/usr/lib64/libosmpbf.so.1
/usr/lib64/libosmpbf.so.1.5.0
/usr/share/doc/osmpbf
/usr/share/doc/osmpbf/CHANGELOG.md
/usr/share/doc/osmpbf/README.md
/usr/share/licenses/osmpbf
/usr/share/licenses/osmpbf/LICENSE

References

Summary

In this tutorial we learn how to install osmpbf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install osmpbf on Fedora 36” linkTitle: “osmpbf” type: “docs” description: “In this tutorial we learn how to install osmpbf in Fedora 36. osmpbf is C library to read and write OpenStreetMap PBF files” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/osmpbf-featured.png

Introduction

In this tutorial we learn how to install osmpbf on Fedora 36.

What is osmpbf

Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage.

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

Install osmpbf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install osmpbf

Install osmpbf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install osmpbf

How To Uninstall osmpbf on Fedora 36

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

sudo dnf remove osmpbf

osmpbf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/593c8567702bd117432137d1ba1ae5356e50e6
/usr/lib/libosmpbf.so.1
/usr/lib/libosmpbf.so.1.5.0
/usr/share/doc/osmpbf
/usr/share/doc/osmpbf/CHANGELOG.md
/usr/share/doc/osmpbf/README.md
/usr/share/licenses/osmpbf
/usr/share/licenses/osmpbf/LICENSE

References

Summary

In this tutorial we learn how to install osmpbf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).