How To Install protobuf-javalite on Fedora 36

In this tutorial we learn how to install protobuf-javalite in Fedora 36. protobuf-javalite is Java Protocol Buffers lite runtime library

Introduction

In this tutorial we learn how to install protobuf-javalite on Fedora 36.

What is protobuf-javalite

This package contains Java Protocol Buffers lite runtime library.

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

Install protobuf-javalite 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 protobuf-javalite using dnf by running the following command:

sudo dnf -y install protobuf-javalite

Install protobuf-javalite 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 protobuf-javalite using yum by running the following command:

sudo yum -y install protobuf-javalite

How To Uninstall protobuf-javalite on Fedora 36

To uninstall only the protobuf-javalite package we can use the following command:

sudo dnf remove protobuf-javalite

protobuf-javalite Package Contents on Fedora 36

/usr/share/java/protobuf
/usr/share/java/protobuf/protobuf-javalite.jar
/usr/share/licenses/protobuf-javalite
/usr/share/licenses/protobuf-javalite/LICENSE
/usr/share/maven-metadata/protobuf-protobuf-javalite.xml
/usr/share/maven-poms/protobuf
/usr/share/maven-poms/protobuf/protobuf-javalite.pom

References

Summary

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