*Stage 1 – Open a gnome terminal (ALT+F2, then type gnome-terminal). We will use the terminal to install WINE on your computer. WINE allows you to use Windows software on a linux box. WINE Is Not an Emulator.
*Stage 2 – This step depends on which version of ubuntu you are using. Choose the appropriate version: For Ubuntu 6.10 (Edgy) type:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list
For Ubuntu 6.06 (Dapper) type:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list
These commands allow ubuntu to find the latest version of WINE on the Internet.
Stage 3 – Type the following at the command line prompt:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add –
This line checks that the download site is secure for your operation system.
Stage 4 – Type the following at the command line prompt:
sudo apt-get install wine
This downloads and installs WINE on your computer.
Stage 5 – Type the following at the command line prompt:
This will tell you which version of WINE has been installed.
Stage 6a – Check that you have wine0.9.29 or newer. If you have an earlier version of WINE, such as wine0.9.28 or wine0.9.27 go to 6b. If you have at least wine0.9.29 or newer such as wine0.9.30 or wine 0.9.31 etc. then you can move on to step 7.
Stage 6b – Only if your version of WINE is ealier than wine0.9.29.
sudo apt-get remove wine libwine
This will uninstall the current version of WINE. Next go back to step 4.
Stage 7 – Close the terminal and download the latest version of Notepad++. The file should be downloaded directly to your desktop. Next reboot the machine. (This step is optional, but may be required to start wineserver which runs as a background daemon allowing you to run Windows apps on Linux.
Stage 8 – Open a terminal and type the following at the command line prompt in order to configure WINE:
The WINE configuration GUI is relatively easy to use. If the configuration tool crashes in the Audio section your sound card is incorrectly set up (but this tutorial does not deal with the problem since Notepad++ does not use sound). Under the Applications tab a drop down menu allows you to choose the Windows version you wish to simulate via WINE. A friend of mine told me he was having problems with Windows XP mode and that it was better to use Windows 2000, but I have not experienced any problems, so the choice is yours.
Stage 9 – Close all windows and install Notepad++ by double clicking on the installer which you have downloaded to your desktop: You simply follow the standard installation procedure, identical to that used in Windows. the directory which corresponds to C:\ in Windows is by default : ~/.wine/drive_c/ . Note also that it may take two or three seconds more for a Windows application to launch in WINE on Linux. The rest is identical.
Stage 10 – Configure Notepad++. Two options must be disabled in preferences dialog (Menu Settings->Preferences):
o Tab Switcher function which makes the program crash.
o Minimize to system tray function.