Lillesort131: sudo dpkg --add-architecture i386
wget -O -
https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo add-apt-repository 'deb
https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
wget -O- [url=https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key]https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key[/url] | sudo apt-key add -
sudo apt update
sudo apt install --install-recommends winehq-devel
Spectre: How is a new person to know what all this is and more importantly, why.
It is an issue, but on the other hand, it does make it easier to give instructions to clueless users; it's easier to blindly enter a series of commands (or cut/paste from the browser, but thanks to browser-side JavaScript, that isn't a good idea) than it is to tell a user what to click and where to move the mouse.
One other nice thing is that, once a command is given, an experienced user can explain it to new users.
Anyway, I will attempt to explain what these commands do:
wget: This program retrieves a file from the internet, as specified on the URL. The -O option is used to specify the file to output, and the following dash ("-") indicates that the output should be passed to standard output. If we were to remove the pipe ("|") and everything past it, this command would simply download that file and display it in the terminal. (Another program that can do a similar job is "curl".
sudo: This command is used to get elevated privileges, allowing you to do things like install software system-wide, look at the file containing user password hashes, and wipe your hard drive. In any case, only use this if you know what you're doing, and with dangerous commands, you might want to type the rest of the command before you go back and add the "sudo". Note that you may be asked for your user password here.
apt-key: This is used to add a key to the list used by apt, at least when followed by "apt". The "-" means to read the key from standard input; if ran standalone, it would be reading from the keyboard. Essentially, by running this command, you are trusting WineHQ to not install malicious software; if you don't do this, you will get an error if you try to install from their repository.
The pipe character ("|"; on US keyboards it's usually the key right above Enter, but you need to be holding Shift to type it) means to take the standard output of one command ("wget" in this case) and send it to the standard input of the next ("sudo", which in turn passes the standard input on to "apt-key").
(Posting now so I don't lose what I've already typed.)