setup wine ubuntu code example Example 1: how to install wine in ubuntu $ sudo dpkg --add-architecture i386 Example 2: how to install wine in ubuntu $ wine --version