How To Install libsvm on Rocky Linux 8
Introduction
In this tutorial we learn how to install libsvm
on Rocky Linux 8.
What is libsvm
LIBSVM is an integrated software for support vector classification, (C-SVC, nu-SVC ), regression (epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM ). It supports multi-class classification.
We can use yum
or dnf
to install libsvm
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsvm.
Install libsvm on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libsvm
using dnf
by running the following command:
sudo dnf -y install libsvm
Install libsvm on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libsvm
using yum
by running the following command:
sudo yum -y install libsvm
How To Uninstall libsvm on Rocky Linux 8
To uninstall only the libsvm
package we can use the following command:
sudo dnf remove libsvm
libsvm Package Contents on Rocky Linux 8
/usr/bin/svm-predict
/usr/bin/svm-scale
/usr/bin/svm-train
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/437a4414548289043e663d167a6a96e59e0d16
/usr/lib/.build-id/87
/usr/lib/.build-id/87/82fbf47605bb20a343dff983deccab0b444212
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/1db7f5fdd1da8c9e081fae47fb841478b8356d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/06dee328fad07065155ee5d4e72d9847db30fb
/usr/lib64/libsvm.so.2
/usr/share/doc/libsvm
/usr/share/doc/libsvm/COPYRIGHT
/usr/share/doc/libsvm/ChangeLog
/usr/share/doc/libsvm/FAQ.html
/usr/share/doc/libsvm/guide.pdf
/usr/share/libsvm
/usr/share/libsvm/examples
/usr/share/libsvm/examples/heart_scale
References
Summary
In this tutorial we learn how to install libsvm
on Rocky Linux 8 using yum and dnf.