How To Install liblinear on Fedora 34

liblinear is Library for Large Linear Classification Library for Large Linear Classification

Introduction

In this tutorial we learn how to install liblinear on Fedora 34.

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. liblinear 1.94 27.fc34 x86_64 37 k liblinear-1.94-27.fc34.src.rpm fedora Library for Large Linear Classification http BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install liblinear.

Install liblinear on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install liblinear

Install liblinear on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install liblinear using yum by running the following command:

sudo yum -y install liblinear

How To Uninstall liblinear on Fedora 34

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

sudo dnf remove liblinear

liblinear Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/af811e5a1c84b5d37e4ef5034345159e5d969b
/usr/lib/liblinear.so.1
/usr/share/doc/liblinear
/usr/share/doc/liblinear/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/e8ba5cb48df1615ab66ef846d74b2775fa0b72
/usr/lib64/liblinear.so.1
/usr/share/doc/liblinear
/usr/share/doc/liblinear/COPYRIGHT

References

Summary

In this tutorial we learn how to install liblinear on Fedora 34 using yum and dnf.