How To Install folly on Fedora 36

In this tutorial we learn how to install folly in Fedora 36. folly is An open-source C++ library developed and used at Facebook

Introduction

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

What is folly

Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind. Folly contains a variety of core library components used extensively at Facebook. In particular, it’s often a dependency of Facebook’s other open source C++ efforts and place where those projects can share code. It complements (as opposed to competing against) offerings such as Boost and of course std. In fact, we embark on defining our own component only when something we need is either not available, or does not meet the needed performance profile. We endeavor to remove things from folly if or when std or Boost obsoletes them. Performance concerns permeate much of Folly, sometimes leading to designs that are more idiosyncratic than they would otherwise be (see e.g. PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying theme in all of Folly.

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

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

sudo dnf -y install folly

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

sudo yum -y install folly

How To Uninstall folly on Fedora 36

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

sudo dnf remove folly

folly Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/91e082ffde276cb0d34492483d364642707fbe
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/c805dd64d695784ba6d3f846d7d7253d778694
/usr/lib/.build-id/67
/usr/lib/.build-id/67/9f8f0dc79b296fefd7cbfa3fa39f28c40f5804
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/e18fb69331edbdca613f33836ba089e684d0e7
/usr/lib/.build-id/87
/usr/lib/.build-id/87/93dc29b439babb138e2e0de11d382161b09edf
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/60a7ae34fbcd65d413e35489ca47be5f68089c
/usr/lib64/libfolly.so.2022.03.14.00
/usr/lib64/libfolly_exception_counter.so.2022.03.14.00
/usr/lib64/libfolly_exception_tracer.so.2022.03.14.00
/usr/lib64/libfolly_exception_tracer_base.so.2022.03.14.00
/usr/lib64/libfolly_test_util.so.2022.03.14.00
/usr/lib64/libfollybenchmark.so.2022.03.14.00
/usr/share/licenses/folly
/usr/share/licenses/folly/LICENSE

References


Summary

title: “How To Install folly on Fedora 36”

linkTitle: “folly” type: “docs” In this tutorial we learn how to install folly on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

description: “In this tutorial we learn how to install folly in Fedora 36. folly is An open-source C++ library developed and used at Facebook” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/folly-featured.png

Introduction

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

What is folly

Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind. Folly contains a variety of core library components used extensively at Facebook. In particular, it’s often a dependency of Facebook’s other open source C++ efforts and place where those projects can share code. It complements (as opposed to competing against) offerings such as Boost and of course std. In fact, we embark on defining our own component only when something we need is either not available, or does not meet the needed performance profile. We endeavor to remove things from folly if or when std or Boost obsoletes them. Performance concerns permeate much of Folly, sometimes leading to designs that are more idiosyncratic than they would otherwise be (see e.g. PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying theme in all of Folly.

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

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

sudo dnf -y install folly

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

sudo yum -y install folly

How To Uninstall folly on Fedora 36

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

sudo dnf remove folly

folly Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/f5b87cdeceec1efa4b38f8902e18363a7ba788
/usr/lib/.build-id/29
/usr/lib/.build-id/29/ec33d82b0630b1d2a7eb943cf7427d01b33c4f
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/b545e6312a29bb5ee60cc885ad233c606d2354
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/c5eae162b00d857238ff3be6f11cf4df05a3b0
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/5a77484b8cffab370c7ab32652527c089c7f79
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/9d22a8ca1e3d4e917f15627a6a21230cc47fdd
/usr/lib/libfolly.so.2022.03.14.00
/usr/lib/libfolly_exception_counter.so.2022.03.14.00
/usr/lib/libfolly_exception_tracer.so.2022.03.14.00
/usr/lib/libfolly_exception_tracer_base.so.2022.03.14.00
/usr/lib/libfolly_test_util.so.2022.03.14.00
/usr/lib/libfollybenchmark.so.2022.03.14.00
/usr/share/licenses/folly
/usr/share/licenses/folly/LICENSE

References

Summary

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