How To Install oct2spec on Fedora 36
Introduction
In this tutorial we learn how to install oct2spec
on Fedora 36.
What is oct2spec
oct2spec is a small python tool that generates spec file for Octave packages. It can work from a package name, URL, or a tarball. oct2spec provides oct2rpm which generates rpm for Octave packages using the oct2spec API.
We can use yum
or dnf
to install oct2spec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install oct2spec.
Install oct2spec on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install oct2spec
using dnf
by running the following command:
sudo dnf -y install oct2spec
Install oct2spec on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install oct2spec
using yum
by running the following command:
sudo yum -y install oct2spec
How To Uninstall oct2spec on Fedora 36
To uninstall only the oct2spec
package we can use the following command:
sudo dnf remove oct2spec
oct2spec Package Contents on Fedora 36
/etc/oct2spec.conf
/usr/bin/oct2rpm
/usr/bin/oct2spec
/usr/lib/python3.10/site-packages/Oct2spec
/usr/lib/python3.10/site-packages/Oct2spec/Build.py
/usr/lib/python3.10/site-packages/Oct2spec/Description.py
/usr/lib/python3.10/site-packages/Oct2spec/Oct2spec.py
/usr/lib/python3.10/site-packages/Oct2spec/OctPackage.py
/usr/lib/python3.10/site-packages/Oct2spec/Packager.py
/usr/lib/python3.10/site-packages/Oct2spec/Spec.py
/usr/lib/python3.10/site-packages/Oct2spec/__init__.py
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Build.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Build.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Description.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Description.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Oct2spec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Oct2spec.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/OctPackage.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/OctPackage.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Packager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Packager.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Spec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/Spec.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/oct2rpm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/oct2rpm.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/oct2rpmError.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/Oct2spec/__pycache__/oct2rpmError.cpython-310.pyc
/usr/lib/python3.10/site-packages/Oct2spec/oct2rpm.py
/usr/lib/python3.10/site-packages/Oct2spec/oct2rpmError.py
/usr/lib/python3.10/site-packages/Oct2spec/specfile.tpl
/usr/lib/python3.10/site-packages/oct2spec-1.0.1-py3.10.egg-info
/usr/share/doc/oct2spec
/usr/share/doc/oct2spec/CHANGELOG
/usr/share/doc/oct2spec/README
/usr/share/licenses/oct2spec
/usr/share/licenses/oct2spec/LICENSE
/usr/share/man/man1/oct2rpm.1.gz
/usr/share/man/man1/oct2spec.1.gz
References
Summary
In this tutorial we learn how to install oct2spec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).