How To Install ustr on Fedora 34

ustr is String library, very low memory overhead, simple to import String library, very low memory overhead, simple to import

Introduction

In this tutorial we learn how to install ustr on Fedora 34.

What is ustr

Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it’s simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries. ustr 1.0.4 32.fc34 x86_64 102 k ustr-1.0.4-32.fc34.src.rpm fedora String library, very low memory overhead, simple to import http MIT or LGPLv2+ or BSD Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it’s simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries.

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

Install ustr on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ustr

Install ustr on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install ustr

How To Uninstall ustr on Fedora 34

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

sudo dnf remove ustr

ustr Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/51c9fe9c495f0fddf0d74a5b69661cc23b3f27
/usr/lib64/libustr-1.0.so.1
/usr/lib64/libustr-1.0.so.1.0.4
/usr/share/doc/ustr
/usr/share/doc/ustr/ChangeLog
/usr/share/doc/ustr/NEWS
/usr/share/doc/ustr/README
/usr/share/licenses/ustr
/usr/share/licenses/ustr/LICENSE
/usr/share/licenses/ustr/LICENSE_BSD
/usr/share/licenses/ustr/LICENSE_LGPL
/usr/share/licenses/ustr/LICENSE_MIT
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/b2f5c72f74bd067a0981ecf29df9de5d9e34a3
/usr/lib/libustr-1.0.so.1
/usr/lib/libustr-1.0.so.1.0.4
/usr/share/doc/ustr
/usr/share/doc/ustr/ChangeLog
/usr/share/doc/ustr/NEWS
/usr/share/doc/ustr/README
/usr/share/licenses/ustr
/usr/share/licenses/ustr/LICENSE
/usr/share/licenses/ustr/LICENSE_BSD
/usr/share/licenses/ustr/LICENSE_LGPL
/usr/share/licenses/ustr/LICENSE_MIT

References

Summary

In this tutorial we learn how to install ustr on Fedora 34 using yum and dnf.