Installation Guide
This guide will help you get started with proper SAP® installation on Linux.
Motivation
We needed to install SAP® on Linux and we wanted to document the process.
Although there is a official linux version of the SAP® GUI, it is completely different from the Windows version and it is not as user friendly.
We also had problems with the wireguard VPN only supporting one user at a time, so we had to use the SAPTUNNEL instead. Another reason for using it with Wine.
Credits
- Linus for finding out the whole solution
- Simon for testing, polishing and creating this site
- SAP® for creating the software
Prerequisites
- A Linux installation (We used Arch Linux, this guide supports Arch, Debian/Ubuntu and Fedora)
- Internet connection
- Somewhere you can download the SAP® GUI and SAPTUNNEL from
- A few MB of free space
- A bit of time (Wine dependencies can take a while to install)
Installation Process
Step 1: Install Wine
sudo pacman -Sy wine winetricks --needed
If the installation fails, enable the Multilib and try again.
sudo apt install wine winetricks
sudo dnf install wine winetricks
Step 2: Create a 32-bit Wine prefix
WINEARCH=win32 wineboot
Step 3: Install needed DLLs and switch wine to Windows 10 (it will be in Windows 7 by default)
winetricks -q urlmon vcrun2013 vb6run wsh57 ie8 mfc40 mfc42 dotnet40 gdiplus corefonts
This can take a while, so be patient. If it ever gets stuck, you can restart.
If Archive.org gets DDOSed again, you are out of luck. (That definitely didn’t happen to us)
After that, change the Windows version to Windows 10:
winetricks -q win10
You can use the winecfg
command for that as well.
Step 4: Download & Install SAPTUNNEL
wine saptunnel-setup.exe
Type in your name, email and the Zeebedee Key when asked.
Step 5: Download & Install SAP® GUI
wine sapgui-setup.exe
Step 6: Change SAP® GUI default theme
wine reg add "HKEY_CURRENT_USER\Software\SAP\General\Appearance" -v "SelectedTheme" -t REG_DWORD -d "0x00000100" -f
This is just a more convenient way of changing the default theme to the only usable one.