Downloads the latest Bitwig Studio and creates an RPM for it.
Only depends on rpm-build, not on Debian tools.
$ sudo dnf install rpm-buildBitwig depends on the v8 implementation of JPEG, i.e. libjpeg.so.8. The implementation shipping with Fedora is v6, so you need to first enable an additional COPR repository by running
$ sudo dnf copr enable aflyhorse/libjpegTo create the RPM package for the latest stable release, run
$ ./bitwig-rpm.sh
Determining latest stable version...
Downloading bitwig-studio-4.4.8.deb...
[...]
RPM created.
Install using sudo dnf install bitwig-studio-4.4.8-1.fc37.x86_64.rpmIf you want to download a specific version, supply the version number to download as the first argument:
$ ./bitwig-rpm.sh 4.4.10
Finding version 4.4.10...
Downloading https://downloads.bitwig.com/4.4.10/bitwig-studio-4.4.10.deb
[...]
RPM created.
Install using sudo dnf install bitwig-studio-4.4.10-1.fc42.x86_64.rpmIf you already have downloaded the .deb package (e.g. for a beta pre-release), supply the path as the first argument:
$ ./bitwig-rpm.sh ~/Downloads/bitwig-studio-9.1beta1.deb
Extracting bitwig-studio-9.1beta1.deb...
Building RPM...
[...]
RPM created.
Install using sudo dnf install bitwig-studio-9.1beta1-1.fc62.x86_64.rpmAutomatically install the created RPM package by using command substitution to execute the script and pass the name of the RPM to a dnf install command
$ sudo dnf install $(./bitwig-rpm.sh) -y
$ sudo dnf install $(./bitwig-rpm.sh 4.4.10) -y
$ sudo dnf install $(./bitwig-rpm.sh ~/Downloads/bitwig-studio-9.1beta1.deb) -y