Skip to content

Commit

Permalink
docs(README): mention pre-built binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
niveK77pur committed Oct 22, 2023
1 parent 322fe26 commit b37ef70
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,22 @@ See also points from [TODO](#todo).

# Installation

As of now, you have to clone this repository and install it manually using the following command. You will need [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) and [PortMidi](https://github.com/PortMidi/PortMidi) installed, nothing else should be required.
You will need [PortMidi](https://github.com/PortMidi/PortMidi) installed, regardless of the installation method. Note the `libportmidi-dev` package should only be needed for Ubuntu when building from source.

```shell
pacman -S portmidi # for arch
apt install libportmidi0 libportmidi-dev # for ubuntu
apt install libportmidi0 libportmidi-dev # for debian/ubuntu
```
Then finally build/install.

## Pre-built binaries

The [latest release](https://github.com/niveK77pur/lilypond-midi-input/releases/latest) will contain pre-built binaries (different versions due to the PortMidi system library):
- [Debian](https://github.com/niveK77pur/lilypond-midi-input/releases/download/latest/lilypond-midi-input_debian), should also work on Ubuntu
- [Arch Linux](https://github.com/niveK77pur/lilypond-midi-input/releases/download/latest/lilypond-midi-input_archlinux)

## Build from source

You will need [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) and [PortMidi](https://github.com/PortMidi/PortMidi) installed to build the project.

```shell
cargo install --path . # inside this repository
Expand Down

0 comments on commit b37ef70

Please sign in to comment.