Update Debian/Ubuntu: chance formatting authored by Floris Renaud's avatar Floris Renaud
......@@ -10,6 +10,7 @@ title: Debian/Ubuntu
<small>
&nbsp;[:flag_nl: Nederlands](nl/Debian-Ubuntu)
&nbsp;[:flag_cn: 简体中文](zh_CN/Debian-Ubuntu)
......@@ -40,14 +41,14 @@ Look for the line with either `UBUNTU_CODENAME` or `VERSION_CODENAME`. If both a
## Add the repository
- Download and add the repository key:
**Download and add the repository key:**
```sh
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 -
```
- Add the repository:
**Add the repository:**
Starting with **Ubuntu 25.10**, the WineHQ packages are WoW64. Therefore, it is no longer necessary to install the 32-bit packages. Older versions require the 32-bit architecture to be enabled.
......@@ -55,18 +56,94 @@ Look for the line with either `UBUNTU_CODENAME` or `VERSION_CODENAME`. If both a
Add **one** repository.
| Distribution&nbsp;name | |
|:------------------------------------|:----------------------------------------------------------------------|
| **questing**<br><small>Ubuntu 25.10</small> | _Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/questing/winehq-questing.sources</pre> |
| **plucky**<br><small>Ubuntu 25.04</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/plucky/winehq-plucky.sources</pre> |
| **noble**<br><small>Ubuntu 24.04<br>Linux Mint 22</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources</pre> |
| **jammy**<br><small>Ubuntu 22.04<br>Linux Mint 21.x</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources</pre> |
| **forky**<br><small>Debian Testing</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/forky/winehq-forky.sources</pre> |
| **trixie**<br><small>Debian 13</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources</pre> |
| **bookworm**<br><small>Debian 12</small> | _Enable the 32-bit repository:_<pre>sudo dpkg --add-architecture i386</pre>_Add the sources file:_<pre>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources</pre> |
---
---
### Questing
**Ubuntu 25.10**
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/questing/winehq-questing.sources
```
---
### Plucky
**Ubuntu 25.04**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/plucky/winehq-plucky.sources
```
---
### Noble
**Ubuntu 24.04 & Linux Mint 22**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
```
---
### Jammy
**Ubuntu 22.04 & Linux Mint 21.x**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
```
---
### Forky
**Debian Testing**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/forky/winehq-forky.sources
```
---
### Trixie
**Debian 13**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources
```
---
### Bookworm
**Debian 12**
_Enable the 32-bit repository:_
```sh
sudo dpkg --add-architecture i386
```
_Add the sources file:_
```sh
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
```
---
---
## Update
- Update the package information:
Update the package information:
```sh
sudo apt update
......
......