[newbie] How to install Wine (at new way)?

Questions about Wine on Linux
Locked
AndrzejBo
Level 1
Level 1
Posts: 7
Joined: Sat Nov 30, 2019 11:48 am

[newbie] How to install Wine (at new way)?

Post by AndrzejBo »

At the beginning of December last year I installed Wine. First one way and it was bad ( well, that on VirtualBox, I could go back to snapshot), then another way and it was very good, even succeeded in installing .NET, there was only problem with administrator privileges.
Now I don't remember how I installed. Is it better by apt-get, download or from sources? last year I installed Wine. First one way and it was bad ( well, that on VirtualBox, I could go back to snapshot), then another way and it was very good, even succeeded in installing .NET, there was only problem with administrator privileges.
Now I don't remember how I installed. Is it better by apt-get, download or from sources?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: [newbie] How to install Wine (at new way)?

Post by jkfloris »

The easiest way to install Wine is with apt.
You can find a manual on: https://wiki.winehq.org/Download
AndrzejBo
Level 1
Level 1
Posts: 7
Joined: Sat Nov 30, 2019 11:48 am

Re: [newbie] How to install Wine (at new way)?

Post by AndrzejBo »

I first tried https://wiki.winehq.org/Ubuntu but (which is linked from this page)
and have error:
after steps like update and add key:
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Malformed input, repository not added.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: [newbie] How to install Wine (at new way)?

Post by jkfloris »

You could add the repository by hand:

Code: Select all

echo "deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main" > winehq.list
sudo mv winehq.list /etc/apt/sources.list.d/
sudo apt update
sudo apt install --install-recommends winehq-stable
Locked