In my case I’m installing it on Linux Mint 19.1
Wine will be installed in /opt/wine-stable/ directory. After the installation is complete, we need to add /opt/wine-stable/bin/ to the user PATH. Run the following command to open the .profile file. Nano is a command line text editor. The ~ (tilde) represents your home directory.
- nano ~/.profile
Add the following line at the end of the file.
- export PATH=”$PATH:/opt/wine-stable/bin”
Install Wine on Linux
- If your system is 64 bit, enable 32 bit architecture with the following command.
sudo dpkg –add-architecture i386
Next, run the following command to download and import the public key for the Wine repository.
- wget -nc https://dl.winehq.org/wine-builds/winehq.key
- sudo apt-key add winehq.key
Then, issue the following command to add Wine and libfaudio0 repository.
- sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’
- sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
Update package repository cache and install Wine stable version.
- sudo apt update
- sudo apt install –install-recommends winehq-stable
Things to Do After Installing Wine
Before you download any Windows .exe file and use Wine to install Windows program, you need to run the Wine configuration program by issuing the following command in the terminal.
It will create a .wine directory, also known as wine prefix or wine bottle, under you home directory. The virtual C drive will be created in this directory. Also this command will help you install Wine mono and Wine gecko package.
- /SIDE NOTE
- I was able to install Microsoft office 2010 32 bit and its running very smoothly.
- link for MSword2010 download: https://drive.google.com