How To Install tinydir-devel on Fedora 36
Introduction
In this tutorial we learn how to install tinydir-devel
on Fedora 36.
What is tinydir-devel
Lightweight, portable and easy to integrate C directory and file reader. TinyDir wraps dirent for POSIX and FindFirstFile for Windows.
We can use yum
or dnf
to install tinydir-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tinydir-devel.
Install tinydir-devel 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 tinydir-devel
using dnf
by running the following command:
sudo dnf -y install tinydir-devel
Install tinydir-devel 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 tinydir-devel
using yum
by running the following command:
sudo yum -y install tinydir-devel
How To Uninstall tinydir-devel on Fedora 36
To uninstall only the tinydir-devel
package we can use the following command:
sudo dnf remove tinydir-devel
tinydir-devel Package Contents on Fedora 36
/usr/include/tinydir.h
/usr/share/doc/tinydir-devel
/usr/share/doc/tinydir-devel/README.md
/usr/share/doc/tinydir-devel/package.json
/usr/share/doc/tinydir-devel/samples
/usr/share/doc/tinydir-devel/samples/cpp_sample.cpp
/usr/share/doc/tinydir-devel/samples/file_open_sample.c
/usr/share/doc/tinydir-devel/samples/interactive_sample.c
/usr/share/doc/tinydir-devel/samples/iterate_sample.c
/usr/share/doc/tinydir-devel/samples/list_to_file.c
/usr/share/doc/tinydir-devel/samples/random_access_sample.c
/usr/share/licenses/tinydir-devel
/usr/share/licenses/tinydir-devel/COPYING
/usr/share/pkgconfig/tinydir.pc
References
Summary
In this tutorial we learn how to install tinydir-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).