How To Install opensp on Fedora 34

opensp is SGML and XML parser SGML and XML parser

Introduction

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

What is opensp

OpenSP is an implementation of the ISO/IEC 8879 (Standard Generalized Markup Language). OpenSP is based on James Clark’s SP implementation of SGML. OpenSP is a command-line application and a set of components, including a generic API. opensp 1.5.2 36.fc34 x86_64 906 k opensp-1.5.2-36.fc34.src.rpm fedora SGML and XML parser http MIT OpenSP is an implementation of the ISO/IEC 8879 (Standard Generalized Markup Language). OpenSP is based on James Clark’s SP implementation of SGML. OpenSP is a command-line application and a set of components, including a generic API.

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

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

sudo dnf -y install opensp

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

sudo yum -y install opensp

How To Uninstall opensp on Fedora 34

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

sudo dnf remove opensp

opensp Package Contents on Fedora 34

/usr/bin/nsgmls
/usr/bin/onsgmls
/usr/bin/osgmlnorm
/usr/bin/ospam
/usr/bin/ospcat
/usr/bin/ospent
/usr/bin/osx
/usr/bin/sgml2xml
/usr/bin/sgmlnorm
/usr/bin/spam
/usr/bin/spent
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/2b81ac7d8d9d0d7de31482e1e5e691e0648a9b
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/b295734b342f9009a4859ef7246a5647d9e896
/usr/lib/.build-id/22
/usr/lib/.build-id/22/a070cb3455cda3fb9a2eae4999e255dcb411dd
/usr/lib/.build-id/28
/usr/lib/.build-id/28/4f740866f7c6a4578053bb5e045e23c723b42f
/usr/lib/.build-id/67
/usr/lib/.build-id/67/30fde336c4e8c6d19aecb52b189481dd6a9c94
/usr/lib/.build-id/77
/usr/lib/.build-id/77/f3e52be12ec4035a6b9dadea0cb92c7bd25c30
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/cac75792c77eab654568707a69e075229e9913
/usr/lib/libosp.so.5
/usr/lib/libosp.so.5.0.0
/usr/share/doc/opensp
/usr/share/doc/opensp/AUTHORS
/usr/share/doc/opensp/BUGS
/usr/share/doc/opensp/COPYING
/usr/share/doc/opensp/ChangeLog
/usr/share/doc/opensp/NEWS
/usr/share/doc/opensp/README
/usr/share/doc/opensp/archform.htm
/usr/share/doc/opensp/autoconf.htm
/usr/share/doc/opensp/build.htm
/usr/share/doc/opensp/catalog.htm
/usr/share/doc/opensp/charset.htm
/usr/share/doc/opensp/features.htm
/usr/share/doc/opensp/generic.htm
/usr/share/doc/opensp/ideas.htm
/usr/share/doc/opensp/index.htm
/usr/share/doc/opensp/new.htm
/usr/share/doc/opensp/nsgmls.htm
/usr/share/doc/opensp/opensp-implied.dcl
/usr/share/doc/opensp/releasenotes.html
/usr/share/doc/opensp/sgmldecl.htm
/usr/share/doc/opensp/sgmlnorm.htm
/usr/share/doc/opensp/sgmlsout.htm
/usr/share/doc/opensp/spam.htm
/usr/share/doc/opensp/spcat.htm
/usr/share/doc/opensp/spent.htm
/usr/share/doc/opensp/sx.htm
/usr/share/doc/opensp/sysdecl.htm
/usr/share/doc/opensp/sysid.htm
/usr/share/doc/opensp/xml.htm
/usr/share/doc/opensp/xmlwarn.htm
/usr/share/locale/de/LC_MESSAGES/sp5.mo
/usr/share/locale/fr/LC_MESSAGES/sp5.mo
/usr/share/locale/ja/LC_MESSAGES/sp5.mo
/usr/share/locale/sv/LC_MESSAGES/sp5.mo
/usr/share/locale/tr/LC_MESSAGES/sp5.mo
/usr/share/man/man1/nsgmls.1.gz
/usr/share/man/man1/onsgmls.1.gz
/usr/share/man/man1/osgmlnorm.1.gz
/usr/share/man/man1/ospam.1.gz
/usr/share/man/man1/ospcat.1.gz
/usr/share/man/man1/ospent.1.gz
/usr/share/man/man1/osx.1.gz
/usr/share/man/man1/sgml2xml.1.gz
/usr/share/man/man1/sgmlnorm.1.gz
/usr/share/man/man1/spam.1.gz
/usr/share/man/man1/spent.1.gz
/usr/bin/nsgmls
/usr/bin/onsgmls
/usr/bin/osgmlnorm
/usr/bin/ospam
/usr/bin/ospcat
/usr/bin/ospent
/usr/bin/osx
/usr/bin/sgml2xml
/usr/bin/sgmlnorm
/usr/bin/spam
/usr/bin/spent
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/a79f32b7c6b712b7129e8f15a76b502b50cb45
/usr/lib/.build-id/46
/usr/lib/.build-id/46/5060fd1f43cb1554a85a458645100bbf5af526
/usr/lib/.build-id/52
/usr/lib/.build-id/52/e37e7844ea19671c15099791959128f2f80cba
/usr/lib/.build-id/53
/usr/lib/.build-id/53/7f60d85043892d8cc313076e538b3523cf5aa1
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/c3b857b474ec0284ee47170c46cc1b7dae7aad
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/aa093428efd92de6d627ea9e707f0d031960d1
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/c87a24c79f723f32f0cc509e958e1ddab56f7e
/usr/lib64/libosp.so.5
/usr/lib64/libosp.so.5.0.0
/usr/share/doc/opensp
/usr/share/doc/opensp/AUTHORS
/usr/share/doc/opensp/BUGS
/usr/share/doc/opensp/COPYING
/usr/share/doc/opensp/ChangeLog
/usr/share/doc/opensp/NEWS
/usr/share/doc/opensp/README
/usr/share/doc/opensp/archform.htm
/usr/share/doc/opensp/autoconf.htm
/usr/share/doc/opensp/build.htm
/usr/share/doc/opensp/catalog.htm
/usr/share/doc/opensp/charset.htm
/usr/share/doc/opensp/features.htm
/usr/share/doc/opensp/generic.htm
/usr/share/doc/opensp/ideas.htm
/usr/share/doc/opensp/index.htm
/usr/share/doc/opensp/new.htm
/usr/share/doc/opensp/nsgmls.htm
/usr/share/doc/opensp/opensp-implied.dcl
/usr/share/doc/opensp/releasenotes.html
/usr/share/doc/opensp/sgmldecl.htm
/usr/share/doc/opensp/sgmlnorm.htm
/usr/share/doc/opensp/sgmlsout.htm
/usr/share/doc/opensp/spam.htm
/usr/share/doc/opensp/spcat.htm
/usr/share/doc/opensp/spent.htm
/usr/share/doc/opensp/sx.htm
/usr/share/doc/opensp/sysdecl.htm
/usr/share/doc/opensp/sysid.htm
/usr/share/doc/opensp/xml.htm
/usr/share/doc/opensp/xmlwarn.htm
/usr/share/locale/de/LC_MESSAGES/sp5.mo
/usr/share/locale/fr/LC_MESSAGES/sp5.mo
/usr/share/locale/ja/LC_MESSAGES/sp5.mo
/usr/share/locale/sv/LC_MESSAGES/sp5.mo
/usr/share/locale/tr/LC_MESSAGES/sp5.mo
/usr/share/man/man1/nsgmls.1.gz
/usr/share/man/man1/onsgmls.1.gz
/usr/share/man/man1/osgmlnorm.1.gz
/usr/share/man/man1/ospam.1.gz
/usr/share/man/man1/ospcat.1.gz
/usr/share/man/man1/ospent.1.gz
/usr/share/man/man1/osx.1.gz
/usr/share/man/man1/sgml2xml.1.gz
/usr/share/man/man1/sgmlnorm.1.gz
/usr/share/man/man1/spam.1.gz
/usr/share/man/man1/spent.1.gz

References

Summary

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