How To Install python3-libsvm on Rocky Linux 8

In this tutorial we learn how to install python3-libsvm on Rocky Linux 8. python3-libsvm is Python3 tools and interfaces for libsvm

Introduction

In this tutorial we learn how to install python3-libsvm on Rocky Linux 8.

What is python3-libsvm

Python3 tools and interfaces for libsvm. Install this package if you want to develop programs with libsvm in Python3.

We can use yum or dnf to install python3-libsvm on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-libsvm.

Install python3-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 python3-libsvm using dnf by running the following command:

sudo dnf -y install python3-libsvm

Install python3-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 python3-libsvm using yum by running the following command:

sudo yum -y install python3-libsvm

How To Uninstall python3-libsvm on Rocky Linux 8

To uninstall only the python3-libsvm package we can use the following command:

sudo dnf remove python3-libsvm

python3-libsvm Package Contents on Rocky Linux 8

/usr/bin/svm-checkdata.py
/usr/bin/svm-easy.py
/usr/bin/svm-grid.py
/usr/bin/svm-subset.py
/usr/lib64/python3.6/site-packages/libsvm
/usr/lib64/python3.6/site-packages/libsvm.pth
/usr/lib64/python3.6/site-packages/libsvm/__init__.py
/usr/lib64/python3.6/site-packages/libsvm/__pycache__
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/checkdata.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/checkdata.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/commonutil.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/commonutil.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/easy.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/easy.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/grid.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/grid.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/subset.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/subset.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/svm.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/svm.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/svmutil.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/libsvm/__pycache__/svmutil.cpython-36.pyc
/usr/lib64/python3.6/site-packages/libsvm/checkdata.py
/usr/lib64/python3.6/site-packages/libsvm/commonutil.py
/usr/lib64/python3.6/site-packages/libsvm/easy.py
/usr/lib64/python3.6/site-packages/libsvm/grid.py
/usr/lib64/python3.6/site-packages/libsvm/subset.py
/usr/lib64/python3.6/site-packages/libsvm/svm.py
/usr/lib64/python3.6/site-packages/libsvm/svmutil.py
/usr/share/doc/python3-libsvm
/usr/share/doc/python3-libsvm/README-Python
/usr/share/doc/python3-libsvm/README-Tools

References

Summary

In this tutorial we learn how to install python3-libsvm on Rocky Linux 8 using yum and dnf.