How To Install nspr on Fedora 34

nspr is Netscape Portable Runtime Netscape Portable Runtime

Introduction

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

What is nspr

NSPR provides platform independence for non-GUI operating system facilities. These facilities include threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking. nspr 4.31.0 1.fc34 x86_64 139 k nss-3.67.0-1.fc34.src.rpm updates Netscape Portable Runtime http MPLv2.0 NSPR provides platform independence for non-GUI operating system facilities. These facilities include threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking.

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

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

sudo dnf -y install nspr

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

sudo yum -y install nspr

How To Uninstall nspr on Fedora 34

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

sudo dnf remove nspr

nspr Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1b/e9e1b270b09dd1c58c9596a3891b97ab7d1bae
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/b2672eecd11270518bbc1886aab3fd4976710c
/usr/lib/.build-id/fa/e1f036f6219fc9f0c1a951ff510a1e3c20f030
/usr/lib/libnspr4.so
/usr/lib/libplc4.so
/usr/lib/libplds4.so
/usr/share/licenses/nspr
/usr/share/licenses/nspr/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/649e995f11754b1aa602676a59466804853a74
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/8396317c250ed2b973473cf1173a142a47d439
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/4043b1bd10a22f1a898a2025fa08f8e886fe5c
/usr/lib64/libnspr4.so
/usr/lib64/libplc4.so
/usr/lib64/libplds4.so
/usr/share/licenses/nspr
/usr/share/licenses/nspr/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/334e601ae199ca40cedaa498570aafd6e6d4cb
/usr/lib/.build-id/80
/usr/lib/.build-id/80/0724df1f58d17864add6546ca1db3c755128cb
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/e2dff003f7d04e82da9dee1bb17e0e8805e0fb
/usr/lib64/libnspr4.so
/usr/lib64/libplc4.so
/usr/lib64/libplds4.so
/usr/share/licenses/nspr
/usr/share/licenses/nspr/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/67/513ac55b1cb5567443cb1de1850803ec0ee8aa
/usr/lib/.build-id/88
/usr/lib/.build-id/88/2e4ffb7b3c01079424e8faa160c425f234aeb5
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/5f6f36910847190ccd0b85cfd380cdce8369c1
/usr/lib/libnspr4.so
/usr/lib/libplc4.so
/usr/lib/libplds4.so
/usr/share/licenses/nspr
/usr/share/licenses/nspr/LICENSE

References

Summary

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