dpkg --add-architecture i386
mkdir -pm755 /etc/apt/keyrings
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
apt update
apt install --install-recommends winehq-stable
apt install cabextract
cd ~/.local/bin/
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
wget https://archive.org/download/sketchupmake-2017-2-2555-90782-en-x64/sketchupmake-2017-2-2555-90782-en-x64.exe
export WINEPREFIX=~/sketchup
export WINEARCH=win64
winetricks --self-update
winetricks arch=64 win7
winetricks vcrun2015 corefonts tahoma riched30 richtx32
wine sketchupmake-2017-2-2555-90782-en-x64.exe