[% extension = installerFile.match('\.(rpm|deb|tcz)$'); IF extension; distro = extension.0; END; %] [% IF distro == 'tcz' %]

On piCorePlayer we provide a script to download and update Lyrion Music Server. This script will update your local copy of LMS to the latest build.

...or use
to update LMS using the piCorePlayer interface.

[% ELSE %]

On some Linux distributions we provide an automatic download of Lyrion Music Server update installers. These currently are available for .rpm and .deb based systems.

[% IF distro == 'deb' %]

Your Lyrion Music Server has downloaded the latest installer to the following location:

    [% installerFile %]

[% END %]

Please execute the following steps to bring your Lyrion Music Server installation up to date:

- Log in to your server machine using your username and password.
- Run the following command to execute the installer:
- `sudo [% distro == 'rpm' ? 'rpm -Uvh' : 'apt install' %] [% installerFile %]`
[% IF distro == 'deb' %]

- That command may fail on an old machine. Should it fail, run this command instead:
- `sudo dpkg -i [% installerFile %]`
[% END %]

[% END %]