How To Install dosfstools on Fedora 34
Introduction
In this tutorial we learn how to install dosfstools
on Fedora 34.
What is dosfstools
The dosfstools package includes the mkdosfs and dosfsck utilities, which respectively make and check MS-DOS FAT filesystems on hard drives or on floppies.
We can use yum
or dnf
to install dosfstools
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dosfstools.
Install dosfstools 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 dosfstools
using dnf
by running the following command:
sudo dnf -y install dosfstools
Install dosfstools 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 dosfstools
using yum
by running the following command:
sudo yum -y install dosfstools
How To Uninstall dosfstools on Fedora 34
To uninstall only the dosfstools
package we can use the following command:
sudo dnf remove dosfstools
dosfstools Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/9dca35c8eb4e2b7dd093c233fbc5284e24d1b2
/usr/lib/.build-id/80
/usr/lib/.build-id/80/d20e8e15ec246a44e3d5465512a58cd135464f
/usr/lib/.build-id/91
/usr/lib/.build-id/91/d6d88ef732cb50e187a8263ea5138b0cd7e004
/usr/sbin/dosfsck
/usr/sbin/dosfslabel
/usr/sbin/fatlabel
/usr/sbin/fsck.fat
/usr/sbin/fsck.msdos
/usr/sbin/fsck.vfat
/usr/sbin/mkdosfs
/usr/sbin/mkfs.fat
/usr/sbin/mkfs.msdos
/usr/sbin/mkfs.vfat
/usr/share/doc/dosfstools
/usr/share/doc/dosfstools/ANNOUNCE.mkdosfs
/usr/share/doc/dosfstools/ChangeLog
/usr/share/doc/dosfstools/ChangeLog.dosfsck
/usr/share/doc/dosfstools/ChangeLog.dosfstools-2.x
/usr/share/doc/dosfstools/ChangeLog.mkdosfs
/usr/share/doc/dosfstools/NEWS
/usr/share/doc/dosfstools/README
/usr/share/doc/dosfstools/README.dosfsck
/usr/share/doc/dosfstools/README.dosfstools-2.x
/usr/share/doc/dosfstools/README.mkdosfs
/usr/share/doc/dosfstools/TODO.dosfstools-2.x
/usr/share/licenses/dosfstools
/usr/share/licenses/dosfstools/COPYING
/usr/share/man/man8/dosfsck.8.gz
/usr/share/man/man8/dosfslabel.8.gz
/usr/share/man/man8/fatlabel.8.gz
/usr/share/man/man8/fsck.fat.8.gz
/usr/share/man/man8/fsck.msdos.8.gz
/usr/share/man/man8/fsck.vfat.8.gz
/usr/share/man/man8/mkdosfs.8.gz
/usr/share/man/man8/mkfs.fat.8.gz
/usr/share/man/man8/mkfs.msdos.8.gz
/usr/share/man/man8/mkfs.vfat.8.gz
References
Summary
In this tutorial we learn how to install dosfstools
on Fedora 34 using yum and dnf.