How To Install liblinear on CentOS 7
Introduction
In this tutorial we learn how to install liblinear on CentOS 7.
What is liblinear
liblinear is an open source library for large-scale linear classification. It supports logistic regression and linear support vector machines. It provides easy-to-use command-line tools and library calls for users and developers. Comprehensive documents are available for both beginners and advanced users. Experiments demonstrate that liblinear is very efficient on large sparse data sets. liblinear is the winner of ICML 2008 large-scale learning challenge (linear SVM track). It is also used for winning KDD Cup 2010.
We can use yum or dnf to install liblinear on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install liblinear.
Install liblinear on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install liblinear using yum by running the following command:
sudo yum -y install liblinear
Install liblinear 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 liblinear using dnf by running the following command:
sudo dnf -y install liblinear
How To Uninstall liblinear on CentOS 7
To uninstall only the liblinear package we can use the following command:
sudo dnf remove liblinear
References
Summary
In this tutorial we learn how to install liblinear on CentOS 7 using yum and dnf.