sude apt get install wine code example
Example 1: install wine ubuntu
#Install trough Ubuntu libraries
sudo apt install wine64
Example 2: how to install wine in ubuntu
$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -