How To Install libscn on Fedora 36

In this tutorial we learn how to install libscn in Fedora 36. libscn is Library for replacing scanf and std

Introduction

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

What is libscn

scnlib is a modern C++ library for replacing scanf and std This library attempts to move us ever so closer to replacing iostreams and C stdio altogether. It’s faster than iostream (see Benchmarks) and type-safe, unlike scanf. Think {fmt} but in the other direction. This library is the reference implementation of the ISO C++ standards proposal P1729 “Text Parsing”.

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

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

sudo dnf -y install libscn

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

sudo yum -y install libscn

How To Uninstall libscn on Fedora 36

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

sudo dnf remove libscn

libscn Package Contents on Fedora 36

---
title: "How To Install libscn on Fedora 36"
linkTitle: "libscn"
type: "docs"
description: "In this tutorial we learn how to install libscn in Fedora 36. libscn is Library for replacing scanf and std"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libscn-featured.png
---

## Introduction

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

### What is `libscn`

> scnlib is a modern C++ library for replacing scanf and std  This library attempts to move us ever so closer to replacing iostreams and C stdio altogether. It's faster than iostream (see Benchmarks) and type-safe, unlike scanf. Think {fmt} but in the other direction.  This library is the reference implementation of the ISO C++ standards proposal P1729 "Text Parsing".  

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

## Install libscn on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install libscn

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

sudo yum -y install libscn

How To Uninstall libscn on Fedora 36

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

sudo dnf remove libscn

libscn Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/1914fdfd8467d5b6900b2ea3b4396ddd0790e0
/usr/lib64/libscn.so.0
/usr/share/doc/libscn
/usr/share/doc/libscn/README.md
/usr/share/licenses/libscn
/usr/share/licenses/libscn/LICENSE

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/f8 /usr/lib/.build-id/f8/748e688ad2cfe79bf51a53366ed23c6065d189 /usr/lib/libscn.so.0 /usr/share/doc/libscn /usr/share/doc/libscn/README.md /usr/share/licenses/libscn /usr/share/licenses/libscn/LICENSE


## References

* [libscn website](https://github.com/eliaskosunen/scnlib)

## Summary

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