wget https://dl.winehq.org/wine-builds/Release.keysudo apt-key add Release.keysudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/ code example
Example: how to install wine in ubuntu 18.04
sudo apt install wine64 wine32
sudo apt install wine64 wine32