Go to winehq, then press the download button. Open terminal then copy and paste the commands in terminal.