How To Install libcsv-devel on CentOS 7
Introduction
In this tutorial we learn how to install libcsv-devel
on CentOS 7.
What is libcsv-devel
libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data. It provides a straight-forward interface using callback functions to handle parsed fields and rows and can parse improperly formatted CSV files. This package contains header file and development libraries.
We can use yum
or dnf
to install libcsv-devel
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libcsv-devel.
Install libcsv-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 libcsv-devel
using yum
by running the following command:
sudo yum -y install libcsv-devel
Install libcsv-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 libcsv-devel
using dnf
by running the following command:
sudo dnf -y install libcsv-devel
How To Uninstall libcsv-devel on CentOS 7
To uninstall only the libcsv-devel
package we can use the following command:
sudo dnf remove libcsv-devel
References
Summary
In this tutorial we learn how to install libcsv-devel
on CentOS 7 using yum
and dnf
.