-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathW10D12-Staging.sh
More file actions
23 lines (15 loc) · 680 Bytes
/
Copy pathW10D12-Staging.sh
File metadata and controls
23 lines (15 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#This enables 32bit architecture
sudo dpkg --add-architecture i386
#Downloads and adds the repository key
sudo mkdir -pm755 /etc/apt/keyrings
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -
#This downloads the WineHQ sources file
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
#This updates the package information
sudo apt update
#This upgrades the packages
sudo apt upgrade
#This installs Wine version 11
sudo apt install --install-recommends winehq-staging
#Subject to GPLv3 License Copyright Nicholas Matthews 2026