How To Install abcm2ps on CentOS 8

abcm2ps is A program to typeset ABC tunes into Postscript

Introduction

In this tutorial we learn how to install abcm2ps on CentOS 8.

What is abcm2ps

Abcm2ps is a package which converts music tunes from ABC format to Postscript. Based on abc2ps version 1.2.5, it was developed mainly to print Baroque organ scores which have independent voices played on one or many keyboards and a pedal-board. Abcm2ps introduces many extensions to the ABC language that make it suitable for classical music.

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

Install abcm2ps on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install abcm2ps using dnf by running the following command:

sudo dnf -y install abcm2ps

Install abcm2ps on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install abcm2ps using yum by running the following command:

sudo yum -y install abcm2ps

How To Uninstall abcm2ps on CentOS 8

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

sudo dnf remove abcm2ps

abcm2ps Package Contents on CentOS 8

/usr/bin/abcm2ps
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/9c4b1dff7be3bec42cee4d4af0950b6273781e
/usr/share/abcm2ps
/usr/share/abcm2ps/abc2svg.ttf
/usr/share/abcm2ps/flute.fmt
/usr/share/abcm2ps/landscape.fmt
/usr/share/abcm2ps/musicfont.fmt
/usr/share/doc/abcm2ps
/usr/share/doc/abcm2ps/INSTALL
/usr/share/doc/abcm2ps/README.md
/usr/share/doc/abcm2ps/abcplus_en-DRAFT3.pdf
/usr/share/doc/abcm2ps/examples
/usr/share/doc/abcm2ps/examples/accordion.abc
/usr/share/doc/abcm2ps/examples/bravura.abc
/usr/share/doc/abcm2ps/examples/chinese.abc
/usr/share/doc/abcm2ps/examples/deco.abc
/usr/share/doc/abcm2ps/examples/free.abc
/usr/share/doc/abcm2ps/examples/glyphs.abc
/usr/share/doc/abcm2ps/examples/newfeatures.abc
/usr/share/doc/abcm2ps/examples/sample.abc
/usr/share/doc/abcm2ps/examples/sample2.abc
/usr/share/doc/abcm2ps/examples/sample3.abc
/usr/share/doc/abcm2ps/examples/sample3.eps
/usr/share/doc/abcm2ps/examples/sample4.abc
/usr/share/doc/abcm2ps/examples/sample5.abc
/usr/share/doc/abcm2ps/examples/sample8.html
/usr/share/doc/abcm2ps/examples/voices.abc
/usr/share/licenses/abcm2ps
/usr/share/licenses/abcm2ps/COPYING
/usr/share/man/man1/abcm2ps.1.gz

References

Summary

In this tutorial we learn how to install abcm2ps on CentOS 8 using yum and dnf.