How To Install libsvm on Fedora 34
Introduction
In this tutorial we learn how to install libsvm
on Fedora 34.
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. libsvm 3.25 1.fc34 x86_64 330 k libsvm-3.25-1.fc34.src.rpm updates A Library for Support Vector Machines https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsvm.
Install libsvm 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 libsvm
using dnf
by running the following command:
sudo dnf -y install libsvm
Install libsvm 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 libsvm
using yum
by running the following command:
sudo yum -y install libsvm
How To Uninstall libsvm on Fedora 34
To uninstall only the libsvm
package we can use the following command:
sudo dnf remove libsvm
libsvm Package Contents on Fedora 34
/usr/bin/svm-predict
/usr/bin/svm-scale
/usr/bin/svm-train
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/623ef8ad16373d5ca153e6060a7427bb1bbe72
/usr/lib/.build-id/37
/usr/lib/.build-id/37/9f67608c5aceaa0e171ba8cc7834f9926cc382
/usr/lib/.build-id/93
/usr/lib/.build-id/93/f9821a771b605408adc5fd895238a0a1ea0240
/usr/lib/.build-id/de
/usr/lib/.build-id/de/709eb7171e2c728466a3fbafeda7d4c7ff2b10
/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
/usr/bin/svm-predict
/usr/bin/svm-scale
/usr/bin/svm-train
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/63fb44cde2150e3f1a512843dfe5180f45522f
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/af4433bec01af81b5a7d8c067dd6754ee96b6c
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/3226bd7d8d771e1c7fa5b320fcf782dec46bfd
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/321e33ec2df8ec45907e7404e62ed3dfbfbfb4
/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
/usr/bin/svm-predict
/usr/bin/svm-scale
/usr/bin/svm-train
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/6859a16e8fe313624f5a61a2f0f92e02ef09d1
/usr/lib/.build-id/43
/usr/lib/.build-id/43/61069eb45ae8d822dc2bd93f5d1d124ac1f7ca
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/085d06f184f5e8d7ad2ff291da45746c7c05ce
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/06b805697eff1c2e53b65a419abf3b389f5ee4
/usr/lib/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
/usr/bin/svm-predict
/usr/bin/svm-scale
/usr/bin/svm-train
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/e9f72f63a1bc9c1e48287230be99efce57a7fc
/usr/lib/.build-id/47
/usr/lib/.build-id/47/4415e92689eb2b9237640e58025b692bcb50ae
/usr/lib/.build-id/91
/usr/lib/.build-id/91/b619b2fc875d870fb82d684498ba6beb50a3b3
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/3034783d5496df46f3bbb0b7268d84ed8d0763
/usr/lib/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
- [libsvm website](https://www.csie.ntu.edu.tw/~cjlin/libsvm/ https://www.csie.ntu.edu.tw/~cjlin/libsvm/)
Summary
In this tutorial we learn how to install libsvm
on Fedora 34 using yum and dnf.