How To Install langpacks-fr on Rocky Linux 8

In this tutorial we learn how to install langpacks-fr on Rocky Linux 8. langpacks-fr is French langpacks meta-package

Introduction

In this tutorial we learn how to install langpacks-fr on Rocky Linux 8.

What is langpacks-fr

This package provides French langpacks meta-package.

We can use yum or dnf to install langpacks-fr on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install langpacks-fr.

Install langpacks-fr on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install langpacks-fr

Install langpacks-fr on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install langpacks-fr using yum by running the following command:

sudo yum -y install langpacks-fr

How To Uninstall langpacks-fr on Rocky Linux 8

To uninstall only the langpacks-fr package we can use the following command:

sudo dnf remove langpacks-fr

langpacks-fr Package Contents on Rocky Linux 8

/usr/share/metainfo/org.fedoraproject.LangPack-fr.metainfo.xml

References

Summary

In this tutorial we learn how to install langpacks-fr on Rocky Linux 8 using yum and dnf.