How To Install pmw on Ubuntu 22.04

In this tutorial we learn how to install pmw on Ubuntu 22.04. pmw is Philips Music Writer

Introduction

In this tutorial we learn how to install pmw on Ubuntu 22.04.

What is pmw

pmw is:

PMW is a computer program for high quality music typesetting. It was originally written for Acorn RISC OS computers (where it was called PMS)

PMW operates by reading an input file containing an encoded description of the music; such a file can be constructed using any text editor or word processor. The music encoding is very straightforward and compact, and quick to enter. The input encoding is designed to be easy for a musician to remember, and tries to make use of as many familiar musical notations as possible within the limitations of an ASCII character set.

PMW can output PostScript files for printing, and basic MIDI files for proof-hearing.

There are three methods to install pmw on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pmw Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pmw using apt-get by running the following command:

sudo apt-get -y install pmw

Install pmw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pmw using apt by running the following command:

sudo apt -y install pmw

Install pmw Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pmw using aptitude by running the following command:

sudo aptitude -y install pmw

How To Uninstall pmw on Ubuntu 22.04

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

sudo apt-get remove pmw

Uninstall pmw And Its Dependencies

To uninstall pmw and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove pmw

Remove pmw Configurations and Data

To remove pmw configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge pmw

Remove pmw configuration, data, and all of its dependencies

We can use the following command to remove pmw configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pmw

References

Summary

In this tutorial we learn how to install pmw package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.