2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								#!/bin/bash
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								# Name:         Autodesk Fusion 360 - Installationsskript (Linux) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Description:  With this file you can install Autodesk Fusion 360 on Linux. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Author:       Steve Zabka 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-31 21:42:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Author URI:   https://cryinkfly.com 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# License:      MIT 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Copyright (c) 2020-2021 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-06 07:19:05 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Time/Date:    07:00/06.08.2021 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Version:      2.5 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# DESCRIPTION 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# With the help of my script, You get a way to install the Autodesk Fusion 360 on your Linux system.  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Certain packages and programs that are required will be set up on your system. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# But it's important to know, that my script only helps You to get the program to run and nothing more! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# And so, You must to purchase the licenses directly from the manufacturer of the program Autodesk Fusion 360! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################################################################################################ 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-21 20:15:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# 1. Step: Open a Terminal and run this command: cd Downloads && chmod +x fusion360-install.sh && bash fusion360-install.sh 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								# 2. Step: The installation will now start and set up everything for you automatically. 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################################################################################################ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  requirement-check-dialog { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								echo  "Find your correct package manager and install the package dialog, what you need for the installation of Autodesk Fusion 360!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								echo  -n "Do you wish to install this package (y/n)?" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								read  answer
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  [  " $answer "  !=  " ${ answer #[Yy] } "  ]  ; then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    install-dialog
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    exit; 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-02 21:28:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  install-dialog { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  VERB = " $(  which apt-get ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "Debian-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo apt-get update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo apt-get install dialog
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which dnf ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "RedHat-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo dnf update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo dnf install dialog
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which pacman ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "Arch-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo pacman -Sy dialog
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which zypper ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "openSUSE-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   su -c 'zypper up && zypper install dialog' 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:09:54 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which xbps-install ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   echo  "Void-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo xbps-install -Sy dialog
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "I can't find your package manager!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   exit; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  welcome_screen { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 60 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 2 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-06 07:19:05 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = "Installation of Autodesk Fusion360 - Version 2.5" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TITLE = "Do you wish to install Autodesk Fusion 360?" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = "Choose one of the following options:" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  "Yes" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  "No" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            select_your_os
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            exit 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  select_your_os { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 60 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 10 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-06 07:19:05 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = "Installation of Autodesk Fusion360 - Version 2.5" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TITLE = "Select your Linux distribution" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = "Choose one of the following options:" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  "openSUSE Leap 15.2" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  "openSUSE Leap 15.3" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         3  "openSUSE Tumbleweed" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         4  "Debian 10 (Buster)" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         5  "Debian 11 (Bullseye)" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         6  "Ubuntu 20.04" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         7  "Ubuntu 20.10" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         8  "Ubuntu 21.04" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         9  "Fedora 33" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         10  "Fedora 34" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								         11  "Manjaro 19.0 & newer" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         12  "Arch Linux" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         13  "Void Linux" ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:50:14 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:50:14 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        3) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;      
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        4) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ buster main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        5) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;   
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        6)     
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        7) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;     
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        8) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ;     
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        9) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            fedora_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            fedora_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        10) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            fedora_based_1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            fedora_based_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        11)  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            archlinux_1
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        12)  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            archlinux_1
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        13)  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            void-linux && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  debian_based_1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dpkg --add-architecture i386  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    wget -nc https://dl.winehq.org/wine-builds/winehq.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-key add winehq.key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  debian_based_2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get install p7zip p7zip-full p7zip-rar curl winbind cabextract wget && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get install --install-recommends winehq-staging
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  fedora_based_1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$( rpm -E %fedora) .noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$( rpm -E %fedora) .noarch.rpm
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  fedora_based_2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf install p7zip p7zip-plugins curl wget wine cabextract
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  archlinux_1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 60 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 2 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-06 07:19:05 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = "Installation of Autodesk Fusion360 - Version 2.5" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								TITLE = "If you have enabled multilib repository?" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = "Choose one of the following options:" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  "Yes" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  "No" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            archlinux_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo echo  "[multilib]"  >> /etc/pacman.conf && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo echo  "Include = /etc/pacman.d/mirrorlist"  >> /etc/pacman.conf && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            archlinux_2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  archlinux_2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo pacman -Sy wine wine-mono wine_gecko winetricks p7zip curl cabextract samba ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  void-linux { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  winetricks { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   clear
							 
						 
					
						
							
								
									
										
										
										
											2021-08-06 07:31:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   echo  " (Now you have to determine where you want to install Fusion 360 and then the .fusion360 folder will be created for you automatically. For examlble you can install it on a external usb-drive: /run/media/user/usb-drive/wine/.fusion360 or you install it into your home folder: /home/user/.fusion360). Enter the installation path for your Fusion 360:" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   read  filename
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p $filename  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  $filename  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-31 08:28:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   wget -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								   chmod +x winetricks && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  sh winetricks -q corefonts msxml4 msxml6 vcrun2017 fontsmooth = rgb win8 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p fusion360-download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  fusion360-download && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   wget -N https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360.exe && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  wine Fusion360.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  wine Fusion360.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   cd  " $filename /drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  Options
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "The installation of Autodesk Fusion 360 is completed." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   exit 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# --------------------------------------------------------------------- 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								export  LC_ALL = en_US.UTF-8
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								export  LANG = en_US.UTF-8
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								export  LANGUAGE = en_US.UTF-8
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								requirement-check-dialog
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								welcome_screen