What is Wine and why is Wine “Not an Emulator”? I use Wine to run a Windows application that is a better fit for my purposes than what’s available for Linux. I couldn’t really answer that question. So I went to the source: WineHQ to look it up.
Wine is not an Emulator like DOSbox is, for example. DOSbox allows you to run DOS applications like old games in a Emulated Environment. What the game or program “sees” is a standard DOS PC with Emulated old hardware with the old graphics cards (Tandy, Hercules, VESA) and antique sound cards like the original SoundBlaster or Gravis Ultra Sound. There are versions of DOSbox for post-DOS Windows (NT and later) and Linux because those old DOS games can’t run on either.
With Wine what the program “sees” is a Modern Windows PC, without a single bit of actual Microsoft code involved. The program sees standard Windows APIs for video, sound and networking. The program “sees” a Windows file system even though the actual file system is far different.
Because the code of the Windows program natively runs in a Windows API and on your computer’s processor, the program will run very nearly as fast on Wine as if it were running in Windows.
Wine is part of the Linux Desktop Manager. You can cut and paste from Wine Windows to Linux Windows – and back. Programs running in Wine can interact with the Linux environment.
Wine being described as the “Not an Emulator” Emulator…Does that sort of make sense now?
What use is Wine? Better question for most because Linux now has plenty of good software. Why would Wine actually be worth the trouble to install and configure it?
If there is some Windows software that you absolutely must have there is a really good chance it will run in Linux using Wine. Part of the WineHQ is a Database of Applications that run in Wine and are rated “Platinum”, “Gold” and “Silver” (the Wine Application Database). A link at the bottom of that page points to the Wine-Reviews Blog where you will find much more information about configuring Wine and fixing problems.
Here is one application that’s a must-have for me
Back in the days before I figured out how to use Wine I needed to re-boot into Windows in order to use the Windows Anti-Virus application to detect evil in my downloads. It was inconvenient to reboot and had the bonus problem of only scanning for Windows MalWare. It wasn’t looking for Linux MalWare so I could have become infected even after all my precautions.
Wine plus the ClamWin Portable Anti-Virus is the answer to both the re-booting hassle and the lack of scanning for Linux MalWare. ClamWin Portable uses the virus definitions from the ClamAV Linux Anti-virus, which is used on servers to scan email for Windows, Macintosh, Linux and even Unix viruses.
To use ClamWin Portable with Linux first you have to install Wine. Ubuntu has Wine in the Ubuntu Software Center. After Installing, then Wine needs to be configured. With Ubuntu the Wine “Not an Emulator” comes up mostly ready to go.
There is a graphical configuration panel that makes Wine easy to configure. You need only to do one thing for ClamWin Portable to work: map a Windows Drive letter to the target files you want to scan.
Copy the ClamWin Portable folder (inside the PortableApps Folder) from a USB Flash Drive you installed it on to some convenient place on your harddrive.
See the end for the short How-To on portable applications
I put mine on the NTFS data partition that Windows Vista and Ubuntu Linux share. It can go anywhere that you want to put it.
Then right-click on the executable, ClamWinPortable.exe, to start it using Wine
This is a good thing!
The Linux Operating System doesn’t allow a copied file to be set as executable. During Linux application installation part of the installation process is setting scripts and executables as “executable”. Installing software requires “root” access. A Trojan or other MalWare could get onto your system but GNU/Linux won’t let it run.
To set the executable bit you have to have root access. One way on most GNU/Linux systems is using the “sudo” command in your terminal.
There is a place where you can get Anti-Virus test files to test you Anti-Virus with, at EICAR anti-virus test files . This is what a detected virus will look like:
I skipped over them because they are Windows Applications and it really is easier to install them on your USB FlashDrive using Windows. It can be done using Wine but it really is a lot of needless work if you have a Windows installation.
There is a wide variety of portable Apps on the PortableApps.com website. You will find that any application will work on Linux with Wine installed, including the Portable Apps menu, if direct hardware access is not needed. Wine only makes a Linux Box “look” like a Windows box.
Find me on Google+