How To Install ocp on Fedora 34

ocp is Open Cubic Player for MOD/S3M/XM/IT/MIDI music files

Introduction

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

What is ocp

Open Cubic Player is a music file player ported from DOS that supports Amiga MOD module formats and many variants, such as MTM, STM, 669, S3M, XM, and IT. It is also able to render MIDI files using sound patches and play SID, OGG Vorbis, FLAC, and WAV files. OCP provides a nice text-based interface with several text-based and graphical visualizations.

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

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

sudo dnf -y install ocp

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

sudo yum -y install ocp

How To Uninstall ocp on Fedora 34

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

sudo dnf remove ocp

ocp Package Contents on Fedora 34

/etc/ocp.ini
/usr/bin/ocp
/usr/bin/ocp-0.1.22
/usr/bin/ocp-curses
/usr/bin/ocp-sdl
/usr/bin/ocp-ultrafix.sh
/usr/bin/ocp-vcsa
/usr/bin/ocp-x11
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/1ba6ad3f078023d2762eab12a1262cdd173c38
/usr/lib/.build-id/02
/usr/lib/.build-id/02/be88b5e9104f0ae34002d518e7e2c3ba2e6c6c
/usr/lib/.build-id/03
/usr/lib/.build-id/03/7747319cecbcd9924a26b8d489711fc04493a9
/usr/lib/.build-id/05
/usr/lib/.build-id/05/28c47f9a96203c968ca512db5405921db8eae2
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/41bd6954dbdef4ca5cbddadb187e6d65311c23
/usr/lib/.build-id/10
/usr/lib/.build-id/10/db4623151a9c2c93e0ad799fae294e42c9d285
/usr/lib/.build-id/11
/usr/lib/.build-id/11/e9aa55f36924e3293281e67dbf0c546a3d05ef
/usr/lib/.build-id/13
/usr/lib/.build-id/13/f0cd96e69c35f80277d05e2bbe061d380e1d89
/usr/lib/.build-id/18
/usr/lib/.build-id/18/65b676569d56cc89a1ee33458bfb96e5ec770c
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/62121efbc82f888b6aef89465940d45b445e68
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/b0aff3dfc2ee9e461cc92e33c77e608ddfccb9
/usr/lib/.build-id/23
/usr/lib/.build-id/23/e720431eb29a106190b81873719f73b30d75e0
/usr/lib/.build-id/29
/usr/lib/.build-id/29/84de239e9ffcd31c8f03c7ed7962c30a9ab45d
/usr/lib/.build-id/31
/usr/lib/.build-id/31/fae27b2ae2afc8a90ac9d2b2ac8b86fed6e0a7
/usr/lib/.build-id/32
/usr/lib/.build-id/32/0f0a4fbb1aa6a804627f3b0c988770ce0606c7
/usr/lib/.build-id/41
/usr/lib/.build-id/41/e9a0f7c645c2f8f89b9e17418271fcfc2d82c8
/usr/lib/.build-id/43
/usr/lib/.build-id/43/040741c8e9be945f7d1eb03bacda1d713f0ed9
/usr/lib/.build-id/45
/usr/lib/.build-id/45/07f66f0cc2a6d3fe8577780529aaddf148428e
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/143dc88d1450e426f2f16aa3dea6ffe2fe400f
/usr/lib/.build-id/4c/d9f9414618493e4c203719104ece1592ba66c1
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/bd7dca13468ba22b1c32d6d63a72964ab983cd
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/14a75d96496f8e02a4abba6e120db231f38450
/usr/lib/.build-id/4e/21903296b1a01b4ff4ede1103429e2d3214d59
/usr/lib/.build-id/54
/usr/lib/.build-id/54/b667df7e468b9590f09ad77bfe95f83ad1876e
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/b61738f94ef487307c0f95d03f2acf53b60de7
/usr/lib/.build-id/62
/usr/lib/.build-id/62/25ef6ba1a110bbe1fa68c3be5801ddad6c86f3
/usr/lib/.build-id/70
/usr/lib/.build-id/70/4f1fa8c1cc2d81e40ea6711827c50d7468cce2
/usr/lib/.build-id/71
/usr/lib/.build-id/71/316e8da78eec60ad4c25359806e5122f8a9bb4
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/e314038bd599301c05cdd019ae29b504465adf
/usr/lib/.build-id/83
/usr/lib/.build-id/83/9feaaf1a97cd0e01ad69bb1518bb585be1601f
/usr/lib/.build-id/84
/usr/lib/.build-id/84/a3dbf97c86c3c01de6405e70491d31e1c22622
/usr/lib/.build-id/89
/usr/lib/.build-id/89/ebbe66a9d2a9ff2bbbde057ad001de24993fdb
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/cde90b12dafeb3e261fd7055a55a2c97cebf71
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/08d5d26bfe2d46be232f8a9372a1798ef3bfaf
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/e1c256b662e2a7fa53030ff87268af5e87576a
/usr/lib/.build-id/94
/usr/lib/.build-id/94/102a7ee18a533c2120916579b189b83ab90d24
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/5f4a5201ca8415fde84d51249236e9b9b6fb99
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/36da86ae6df1bb4388e6e834a22e5266a256f3
/usr/lib/.build-id/af
/usr/lib/.build-id/af/32529e9e6d0e1756b7f46280046c3f053cd57d
/usr/lib/.build-id/af/919f78afbf4f34e9a9b17eef62750aeb51e5c8
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/8d6cb68389543bda204bee804170523f199c53
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/9d81c33899e8f8fb2db97d02d13efb62b77ae4
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/ea75bf8323ae83168e5c794bfd4e8f4605c169
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/3f07f4202bf25268a5134722726edab3b3c10a
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/18f201f7b470175ad76167208efd9fc6af2c5b
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/ad6aa94e2322ed2b26f7152022bc540a11013a
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/f02df8eb5a6a494836009a34deb39f583b634a
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/0e13e6962ddc04c324f03257f13d514712a99f
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7595f2bdcb81644b2482d8503761070078509b
/usr/lib/.build-id/d6/bdf9f2ceb68def33f5e30a47f373a978dcd189
/usr/lib/.build-id/df
/usr/lib/.build-id/df/8a96e5c5deb00ecff37b51ccf36a5cf32a09c3
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/556155f350e46c2f6dac24729b576f6e03d75b
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/b65a5b58e947b839d057ab031fa53139b8bb23
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/1ad651ca9d281ebe85387859dcdae1b9f9412b
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/1ba528baeed1973ac7c8b13077305d3cc7fb92
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/5ea78372f33d0f3f8058b3e7066e18b4c940ca
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/20e51da8fe0e418ce3938451eb88533790cd55
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/5d7113463ea111830a06b1f31ef2d21792afa9
/usr/lib64/ocp-0.1.22
/usr/lib64/ocp-0.1.22/autoload
/usr/lib64/ocp-0.1.22/autoload/10-compat.so
/usr/lib64/ocp-0.1.22/autoload/10-devi.so
/usr/lib64/ocp-0.1.22/autoload/10-hardware.so
/usr/lib64/ocp-0.1.22/autoload/10-mchasm.so
/usr/lib64/ocp-0.1.22/autoload/10-mixclip.so
/usr/lib64/ocp-0.1.22/autoload/10-sets.so
/usr/lib64/ocp-0.1.22/autoload/11-framelock.so
/usr/lib64/ocp-0.1.22/autoload/12-poutput.so
/usr/lib64/ocp-0.1.22/autoload/15-keyhelp.so
/usr/lib64/ocp-0.1.22/autoload/20-cphelper.so
/usr/lib64/ocp-0.1.22/autoload/25-pfilesel.so
/usr/lib64/ocp-0.1.22/autoload/30-arctar.so
/usr/lib64/ocp-0.1.22/autoload/30-arczip.so
/usr/lib64/ocp-0.1.22/autoload/30-aytype.so
/usr/lib64/ocp-0.1.22/autoload/30-cdrom.so
/usr/lib64/ocp-0.1.22/autoload/30-flacptype.so
/usr/lib64/ocp-0.1.22/autoload/30-fstypes.so
/usr/lib64/ocp-0.1.22/autoload/30-mcpbase.so
/usr/lib64/ocp-0.1.22/autoload/30-opltype.so
/usr/lib64/ocp-0.1.22/autoload/30-plrbase.so
/usr/lib64/ocp-0.1.22/autoload/30-smpbase.so
/usr/lib64/ocp-0.1.22/autoload/30-ymtype.so
/usr/lib64/ocp-0.1.22/autoload/35-cpiface.so
/usr/lib64/ocp-0.1.22/autoload/40-cphlpif.so
/usr/lib64/ocp-0.1.22/devpalsa.so
/usr/lib64/ocp-0.1.22/devpdisk.so
/usr/lib64/ocp-0.1.22/devpnone.so
/usr/lib64/ocp-0.1.22/devposs.so
/usr/lib64/ocp-0.1.22/devpsdl.so
/usr/lib64/ocp-0.1.22/devsnone.so
/usr/lib64/ocp-0.1.22/devsoss.so
/usr/lib64/ocp-0.1.22/devwmix.so
/usr/lib64/ocp-0.1.22/devwmixf.so
/usr/lib64/ocp-0.1.22/devwnone.so
/usr/lib64/ocp-0.1.22/libocp.so
/usr/lib64/ocp-0.1.22/load669.so
/usr/lib64/ocp-0.1.22/loadams.so
/usr/lib64/ocp-0.1.22/loaddmf.so
/usr/lib64/ocp-0.1.22/loadmdl.so
/usr/lib64/ocp-0.1.22/loadmtm.so
/usr/lib64/ocp-0.1.22/loadokt.so
/usr/lib64/ocp-0.1.22/loadptm.so
/usr/lib64/ocp-0.1.22/loads3m.so
/usr/lib64/ocp-0.1.22/loadult.so
/usr/lib64/ocp-0.1.22/medialib.so
/usr/lib64/ocp-0.1.22/playay.so
/usr/lib64/ocp-0.1.22/playcda.so
/usr/lib64/ocp-0.1.22/playflac.so
/usr/lib64/ocp-0.1.22/playgmd.so
/usr/lib64/ocp-0.1.22/playgmi.so
/usr/lib64/ocp-0.1.22/playit.so
/usr/lib64/ocp-0.1.22/playmp2.so
/usr/lib64/ocp-0.1.22/playogg.so
/usr/lib64/ocp-0.1.22/playopl.so
/usr/lib64/ocp-0.1.22/playwav.so
/usr/lib64/ocp-0.1.22/playxm.so
/usr/lib64/ocp-0.1.22/playym.so
/usr/share/applications/ocp.desktop
/usr/share/doc/ocp
/usr/share/doc/ocp/AUTHORS
/usr/share/doc/ocp/BUGS
/usr/share/doc/ocp/COPYING
/usr/share/doc/ocp/CREDITS
/usr/share/doc/ocp/KEYBOARD_REMAPS
/usr/share/doc/ocp/SUID
/usr/share/doc/ocp/TODO
/usr/share/doc/ocp/html
/usr/share/doc/ocp/html/configuration.html
/usr/share/doc/ocp/html/faq.html
/usr/share/doc/ocp/html/fileselector.html
/usr/share/doc/ocp/html/index.html
/usr/share/doc/ocp/html/install.html
/usr/share/doc/ocp/html/mdz.html
/usr/share/doc/ocp/html/player.html
/usr/share/doc/ocp/html/plugin.html
/usr/share/doc/ocp/html/specialdrive.html
/usr/share/doc/ocp/html/starting.html
/usr/share/doc/ocp/html/support.html
/usr/share/doc/ocp/html/wap.html
/usr/share/doc/ocp/license-images.txt
/usr/share/doc/ocp/license-videos.txt
/usr/share/icons/hicolor/16x16/apps/opencubicplayer.xpm
/usr/share/icons/hicolor/48x48/apps/opencubicplayer.xpm
/usr/share/info/ocp.info.gz
/usr/share/ocp-0.1.22
/usr/share/ocp-0.1.22/data
/usr/share/ocp-0.1.22/data/CPANI000.DAT
/usr/share/ocp-0.1.22/data/CPANI001.DAT
/usr/share/ocp-0.1.22/data/CPANI002.DAT
/usr/share/ocp-0.1.22/data/CPANI003.DAT
/usr/share/ocp-0.1.22/data/CPANI004.DAT
/usr/share/ocp-0.1.22/data/CPPIC000.TGA
/usr/share/ocp-0.1.22/data/CPPIC001.TGA
/usr/share/ocp-0.1.22/data/ocp.hlp
/usr/share/ocp-0.1.22/ultradir

References

Summary

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