How To Install raptor2 on CentOS 8
Introduction
In this tutorial we learn how to install raptor2
on CentOS 8.
What is raptor2
Raptor is the RDF Parser Toolkit for Redland that provides a set of standalone RDF parsers, generating triples from RDF/XML or N-Triples. raptor2 2.0.15 16.el8 x86_64 208 k raptor2-2.0.15-16.el8.src.rpm appstream RDF Parser Toolkit for Redland http GPLv2+ or LGPLv2+ or ASL 2.0 Raptor is the RDF Parser Toolkit for Redland that provides a set of standalone RDF parsers, generating triples from RDF/XML or N-Triples.
We can use yum
or dnf
to install raptor2
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install raptor2.
Install raptor2 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install raptor2
using dnf
by running the following command:
sudo dnf -y install raptor2
Install raptor2 on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install raptor2
using yum
by running the following command:
sudo yum -y install raptor2
How To Uninstall raptor2 on CentOS 8
To uninstall only the raptor2
package we can use the following command:
sudo dnf remove raptor2
raptor2 Package Contents on CentOS 8
/usr/bin/rapper
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/f0d8b6f179adec02476ca830086fd4f553b115
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/a33419d9f615f902879f04748a4ab6ea4c7c14
/usr/lib/libraptor2.so.0
/usr/lib/libraptor2.so.0.0.0
/usr/share/doc/raptor2
/usr/share/doc/raptor2/AUTHORS
/usr/share/doc/raptor2/COPYING
/usr/share/doc/raptor2/COPYING.LIB
/usr/share/doc/raptor2/ChangeLog
/usr/share/doc/raptor2/LICENSE-2.0.txt
/usr/share/doc/raptor2/LICENSE.txt
/usr/share/doc/raptor2/NEWS
/usr/share/doc/raptor2/README
/usr/share/man/man1/rapper.1.gz
/usr/bin/rapper
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/9f47c21aae8555ca1c67b9e1b4afc3fab36d93
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/9275103be4590d10d0bcb263af7f44010fe4f3
/usr/lib64/libraptor2.so.0
/usr/lib64/libraptor2.so.0.0.0
/usr/share/doc/raptor2
/usr/share/doc/raptor2/AUTHORS
/usr/share/doc/raptor2/COPYING
/usr/share/doc/raptor2/COPYING.LIB
/usr/share/doc/raptor2/ChangeLog
/usr/share/doc/raptor2/LICENSE-2.0.txt
/usr/share/doc/raptor2/LICENSE.txt
/usr/share/doc/raptor2/NEWS
/usr/share/doc/raptor2/README
/usr/share/man/man1/rapper.1.gz
References
- [raptor2 website](http://librdf.org/raptor/ http://librdf.org/raptor/)
Summary
In this tutorial we learn how to install raptor2
on CentOS 8 using yum and dnf.