How To Install cpmtools on Fedora 34

cpmtools is Programs for accessing CP/M disks

Introduction

In this tutorial we learn how to install cpmtools on Fedora 34.

What is cpmtools

This package allows to access CP/M file systems similar to the well-known mtools package, which accesses MSDOS file systems. I use it for file exchange with a Z80-PC simulator, but it works on floppy devices as well.

We can use yum or dnf to install cpmtools on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cpmtools.

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

sudo dnf -y install cpmtools

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

sudo yum -y install cpmtools

How To Uninstall cpmtools on Fedora 34

To uninstall only the cpmtools package we can use the following command:

sudo dnf remove cpmtools

cpmtools Package Contents on Fedora 34

/usr/bin/cpmchattr
/usr/bin/cpmchmod
/usr/bin/cpmcp
/usr/bin/cpmls
/usr/bin/cpmrm
/usr/bin/fsck.cpm
/usr/bin/fsed.cpm
/usr/bin/mkfs.cpm
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/ced94149b11446938976b5273715ad83130919
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/4e2e6d0332bf9008e4e996d853f22bb25a6ea2
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/3b659733c17dce2123659c563cfeae79237d65
/usr/lib/.build-id/5f/54dcf5461ccf7e2200d30051762e867a31c959
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/00cbd78498d1d460ab9692c1eb73f07f777d2b
/usr/lib/.build-id/de
/usr/lib/.build-id/de/bd78161f520810a57593f5fb7dc58df823758f
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/a0ef11b98e3a7c53acd38b3ed525d01a63a441
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/cb2637526c6da93414d0e99db5e0e9d743059d
/usr/share/cpmtools
/usr/share/cpmtools/diskdefs
/usr/share/doc/cpmtools
/usr/share/doc/cpmtools/COPYING
/usr/share/doc/cpmtools/NEWS
/usr/share/doc/cpmtools/README
/usr/share/man/man1/cpmchattr.1.gz
/usr/share/man/man1/cpmchmod.1.gz
/usr/share/man/man1/cpmcp.1.gz
/usr/share/man/man1/cpmls.1.gz
/usr/share/man/man1/cpmrm.1.gz
/usr/share/man/man1/fsck.cpm.1.gz
/usr/share/man/man1/fsed.cpm.1.gz
/usr/share/man/man1/mkfs.cpm.1.gz
/usr/share/man/man5/cpm.5.gz

References

Summary

In this tutorial we learn how to install cpmtools on Fedora 34 using yum and dnf.