How To Install octave-doctest on Fedora 36
Introduction
In this tutorial we learn how to install octave-doctest
on Fedora 36.
What is octave-doctest
The Octave-forge Doctest package finds specially-formatted blocks of example code within documentation files. It then executes the code and confirms the output is correct. This can be useful as part of a testing framework or simply to ensure that documentation stays up-to-date during software development.
We can use yum
or dnf
to install octave-doctest
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install octave-doctest.
Install octave-doctest 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 octave-doctest
using dnf
by running the following command:
sudo dnf -y install octave-doctest
Install octave-doctest 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 octave-doctest
using yum
by running the following command:
sudo yum -y install octave-doctest
How To Uninstall octave-doctest on Fedora 36
To uninstall only the octave-doctest
package we can use the following command:
sudo dnf remove octave-doctest
octave-doctest Package Contents on Fedora 36
/usr/share/metainfo/octave-doctest.metainfo.xml
/usr/share/octave/packages/doctest-0.7.0
/usr/share/octave/packages/doctest-0.7.0/doc-cache
/usr/share/octave/packages/doctest-0.7.0/doctest.m
/usr/share/octave/packages/doctest-0.7.0/packinfo
/usr/share/octave/packages/doctest-0.7.0/packinfo/COPYING
/usr/share/octave/packages/doctest-0.7.0/packinfo/DESCRIPTION
/usr/share/octave/packages/doctest-0.7.0/packinfo/INDEX
/usr/share/octave/packages/doctest-0.7.0/packinfo/NEWS
/usr/share/octave/packages/doctest-0.7.0/packinfo/on_uninstall.m
/usr/share/octave/packages/doctest-0.7.0/private
/usr/share/octave/packages/doctest-0.7.0/private/doctest_collect.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_colors.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_compare.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_datastore.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_default_directives.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_format_exception.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_join_conditions.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_run_docstring.m
/usr/share/octave/packages/doctest-0.7.0/private/doctest_run_tests.m
/usr/share/octave/packages/doctest-0.7.0/private/is_octave.m
References
Summary
In this tutorial we learn how to install octave-doctest
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).