How To Install gtksourceview2-devel on CentOS 7

In this tutorial we learn how to install gtksourceview2-devel on CentOS 7. gtksourceview2-devel is Files to compile applications that use gtksourceview2

Introduction

In this tutorial we learn how to install gtksourceview2-devel on CentOS 7.

What is gtksourceview2-devel

gtksourceview2-devel contains the files required to compile applications which use GtkSourceView 2.x.

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

Install gtksourceview2-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gtksourceview2-devel using yum by running the following command:

sudo yum -y install gtksourceview2-devel

Install gtksourceview2-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install gtksourceview2-devel

How To Uninstall gtksourceview2-devel on CentOS 7

To uninstall only the gtksourceview2-devel package we can use the following command:

sudo dnf remove gtksourceview2-devel

References

Summary

In this tutorial we learn how to install gtksourceview2-devel on CentOS 7 using yum and dnf.