649
edits
No edit summary |
|||
Line 83: | Line 83: | ||
# <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>) | # <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>) | ||
----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable =version~bionic winehq-stable=version~bionic</code> | ----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable=version~bionic winehq-stable=version~bionic</code> | ||
After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code> | After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code> |