Advertisement
Rnery

DaVinci Resolve at Linux Mint

Oct 14th, 2023
1,448
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.94 KB | Source Code | 1 0
  1. #!/usr/bin/env bash
  2.  
  3. check_system_support() {
  4.   if [ "$(uname -m)" != "x86_64" ]; then
  5.     echo "O DaVinci Resolve não é suportado em sistemas não x86_64."
  6.     exit 1
  7.   fi
  8. }
  9.  
  10. install_dependencies() {
  11.   apt update
  12.   apt install -y libssl1.0.0 ocl-icd-opencl-dev
  13. }
  14.  
  15. download_davinci_resolve() {
  16.   wget https://www.blackmagicdesign.com/api/download/download-file/70649d347acc47f6b06c19cc4a92dce3/1a96819669ac4f7a8133df983f9852e2/linux
  17. }
  18.  
  19. extract_davinci_resolve() {
  20.   tar -xJf DaVinci_Resolve_*.tar.xz
  21. }
  22.  
  23. install_davinci_resolve() {
  24.   cd DaVinci_Resolve_*
  25.   ./DaVinci_Resolve_*.run
  26.   cd ..
  27. }
  28.  
  29. cleanup_files() {
  30.   rm -rf DaVinci_Resolve_*.tar.xz DaVinci_Resolve_*
  31. }
  32.  
  33. install_davinci_resolve_main() {
  34.   check_system_support
  35.   install_dependencies
  36.   download_davinci_resolve
  37.   extract_davinci_resolve
  38.   install_davinci_resolve
  39.   cleanup_files
  40.   echo "DaVinci Resolve foi instalado com sucesso."
  41. }
  42.  
  43. install_davinci_resolve_main
  44.  
Tags: BASH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement