How To Install redland on CentOS 8

redland is RDF Application Framework RDF Application Framework

Introduction

In this tutorial we learn how to install redland on CentOS 8.

What is redland

Redland is a library that provides a high-level interface for RDF (Resource Description Framework) implemented in an object-based API. It is modular and supports different RDF/XML parsers, storage mechanisms and other elements. Redland is designed for applications developers to provide RDF support in their applications as well as for RDF developers to experiment with the technology. redland 1.0.17 14.el8 x86_64 175 k redland-1.0.17-14.el8.src.rpm appstream RDF Application Framework http LGPLv2+ or ASL 2.0 Redland is a library that provides a high-level interface for RDF (Resource Description Framework) implemented in an object-based API. It is modular and supports different RDF/XML parsers, storage mechanisms and other elements. Redland is designed for applications developers to provide RDF support in their applications as well as for RDF developers to experiment with the technology.

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

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

sudo dnf -y install redland

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

sudo yum -y install redland

How To Uninstall redland on CentOS 8

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

sudo dnf remove redland

redland Package Contents on CentOS 8

/usr/bin/rdfproc
/usr/bin/redland-db-upgrade
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/12ec02fb240fcbf73e5f037024a78da4ca80e3
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/89d75b5a1b85668f13f35226dc9d8484d0e8db
/usr/lib/.build-id/32
/usr/lib/.build-id/32/ab516f3c4b45c867ae367b9837d5cb3ec9683b
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/79bc17b27ed89e173a1bf5f2c578dbec3bdfc7
/usr/lib64/librdf.so.0
/usr/lib64/librdf.so.0.0.0
/usr/lib64/redland
/usr/lib64/redland/librdf_storage_sqlite.so
/usr/share/doc/redland
/usr/share/doc/redland/AUTHORS
/usr/share/doc/redland/FAQS.html
/usr/share/doc/redland/LICENSE.html
/usr/share/doc/redland/NEWS
/usr/share/doc/redland/NEWS.html
/usr/share/doc/redland/NOTICE
/usr/share/doc/redland/README
/usr/share/doc/redland/README.html
/usr/share/doc/redland/TODO
/usr/share/doc/redland/TODO.html
/usr/share/licenses/redland
/usr/share/licenses/redland/COPYING
/usr/share/licenses/redland/COPYING.LIB
/usr/share/licenses/redland/LICENSE-2.0.txt
/usr/share/licenses/redland/LICENSE.txt
/usr/share/man/man1/rdfproc.1.gz
/usr/share/man/man1/redland-db-upgrade.1.gz
/usr/share/man/man3/redland.3.gz
/usr/share/redland
/usr/share/redland/mysql-v1.ttl
/usr/share/redland/mysql-v2.ttl
/usr/bin/rdfproc
/usr/bin/redland-db-upgrade
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/b4d6e32801ad87cdefde692ea2b71504a3be68
/usr/lib/.build-id/53
/usr/lib/.build-id/53/a89d8a248410ca5d3c11d07feebdb82ffe3115
/usr/lib/.build-id/81
/usr/lib/.build-id/81/e4ae99ed871f652756331a975b5f56dadfdfe2
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/dccd76fe8db4448e912e7569c6b9ac519a5b2b
/usr/lib/librdf.so.0
/usr/lib/librdf.so.0.0.0
/usr/lib/redland
/usr/lib/redland/librdf_storage_sqlite.so
/usr/share/doc/redland
/usr/share/doc/redland/AUTHORS
/usr/share/doc/redland/FAQS.html
/usr/share/doc/redland/LICENSE.html
/usr/share/doc/redland/NEWS
/usr/share/doc/redland/NEWS.html
/usr/share/doc/redland/NOTICE
/usr/share/doc/redland/README
/usr/share/doc/redland/README.html
/usr/share/doc/redland/TODO
/usr/share/doc/redland/TODO.html
/usr/share/licenses/redland
/usr/share/licenses/redland/COPYING
/usr/share/licenses/redland/COPYING.LIB
/usr/share/licenses/redland/LICENSE-2.0.txt
/usr/share/licenses/redland/LICENSE.txt
/usr/share/man/man1/rdfproc.1.gz
/usr/share/man/man1/redland-db-upgrade.1.gz
/usr/share/man/man3/redland.3.gz
/usr/share/redland
/usr/share/redland/mysql-v1.ttl
/usr/share/redland/mysql-v2.ttl

References

Summary

In this tutorial we learn how to install redland on CentOS 8 using yum and dnf.