Installing Davinci Resolve on Garuda Linux
Been experimenting and using Garuda Linux (Hyraland) and ran into all kinds of issues with installing Davinci Resolve Studio.
Attempt Number 1 - When downloading the installer from Black Magic website and trying to install it normally I ran into a bunch of library errors. The advice I read was to move out some deprecated libraries, but that was a no go.
cd /opt/resolve/libs
sudo mkdir disabled-libraries
sudo mv libglib* disabled-libraries/
sudo mv libgio* disabled-libraries/
sudo mv libgmodule* disabled-libraries/
Attempt Number 2 - Installing from AUR (sudo yay davinci-resolve-studio) my laptop would eventually churn away but just die while trying to install qt5-webkitengine.
After several failed attempts I was able to manually install this dependency using:
MAKEFLAGS="-j6" yay -S aur/qt5-webengine
The MKFLAGS option limited it to fewer processes. The advice I read was 2 gigs for every processor. So in my case 6 cores ~ 12GB (16GB ram total).
However then trying to just install davinci-resolve-studio resulted in this error (I still had the davinci resolve installer, in the same folder I was running my install from):
==> Retrieving sources...
-> Downloading DaVinci_Resolve_Studio_20.3.1_Linux.zip...
curl: (3) URL rejected: Bad file:// URL
==> ERROR: Failure while downloading file://DaVinci_Resolve_Studio_20.3.1_Linux.zip
Aborting...
Found this advice which looked to have resolved that:
git clone https://aur.archlinux.org/davinci-resolve-studio.git
mv DaViniResolve*zip davinci-resolve-studio
cd davinci-resolve-studio
makepkg -si
My installed version and the one from the AUR were the same it just required some finessing which looks to have worked.
Posting this in case I gotta do this over again and in case and of ya’ll run into this problem.