Musescore deb package

From MMS Wiki
Jump to: navigation, search

How to create Musescore deb package

Qt (>=5.8)

1. Clone from the Musescore repository ( and checkout the newest version (e.g. 3.4.2), then build the project.

$ cd MuseScore && make clean && make

2. Create a directory to make the package in.

$ mkdir musescore_3.4.2

3. Set the installation path to the packaging directory. Provide the full path to DESTDIR. Then run make install.

$ export DESTDIR="$(pwd)/musescore_3.4.2" && make install

This step will create binary files in directories inside the packaging directory. The packaging directory represents the root directory of the file system. The subsequent directories are the path where the program would be installed to on a system.

4. Create a metadata file

$ mkdir musescore_3.4.2/DEBIAN
$ vim musescore_3.4.2/DEBIAN/control

Copy the content of the control file:

Package: musescore
Version: 3.4.2
Section: base
Priority: optional
Architecture: amd64
Maintainer: Andres Traumann <>
Description: MuseScore
 MuseScore modified by MatchMySound

5. Finally, make the package:

$ dpkg-deb --build musescore_3.4.2

A .deb file will be generated.

To install the package

$ sudo apt install musescore_3.4.2.deb