Saturday, September 19, 2009

Wine

Installing Wine
Although Wine can be installed through the Add/Remove tool, you are going to install it through the terminal so that you get the latest and most stable package. Before you launch the terminal, make sure that you have enabled all of the repositories by going to System | Administration | Software Sources.

Now launch the terminal by going to Applications | Accessories | Terminal. At the terminal window, type the following:

sudo aptitude update

This will update all of the repositories with the latest packages. Now type sudo aptitude install wine

Once the Wine installation is complete, you need to configure it, so type

winecfg

Once the directory is created, and then updated, you should get a window that looks eerily similar to something you would see in Microsoft Windows. This configuration folder is actually a hidden folder where a fake C: drive is located as well as registry files like those you would find in the version of Microsoft Windows that you are running your application under. To change the version of Windows, click on the Applications tab.



Installing and Running Programs with Wine
Let’s start by downloading a program to install using Wine. Although any Windows executable file (containing the .exe extension) will work, we are going to use FileZilla. FileZilla is a free FTP client that has versions for any platform. First, start Firefox and type http://filezilla-project.org/download.php in your address bar. When the page opens, the first option available is Windows. Select the file called FileZilla_3.0.9.3_win32-setup.exe to download.

Once the file is downloaded, create a subfolder in your home folder called Windows. Whenever you download a Windows executable, drag the file into the Windows subfolder so you will know where it is. Once you have placed the FileZilla file in the Windows folder, launch the terminal again.

In the terminal, type the following to change to the Windows directory. Remember, the terminal is case sensitive, so “windows” is not the same as “Windows!”

cd Windows

Now that you are in the Windows directory, you need to install the FileZilla file. Make sure that you type everything correctly when working in the terminal. If you are receiving an error, odds are you mistyped something, so go back and check before becoming frustrated.

wine FileZilla_3.0.9.3_win32-setup.exe

If everything has been entered correctly, you should see a window pop up to complete the installation of your software. Congratulations! Follow the rest of the installation steps that the application gives you.

Now if you thought that installing a program with Wine was simple, wait until you see how easy it is to run a program in Wine. All you have to do is recompile all of the source code contained in your application to run under the Linux Kernel, and you should be ready to go! Oh wait, Wine did that for us!

All you have to do to run your program is go to Applications | Wine | Programs | FileZilla FTP Client | FileZilla. Each time you install a software application with Wine, it will appear in the Programs menu for you. Try it with Internet Explorer or Windows Media Player. Both of these applications are free to download, and you can run them perfectly by using Wine.



Wine Is Not Genuine
If you have been using Microsoft Windows lately, then you have probably encountered the Windows Genuine Advantage. Due to the popularity of Microsoft Windows and the cost of its software, Microsoft products are often pirated. Pirated software is an illegal copy of the software that often contains a crack of some sort that allows it to run. While cracked software may run with little or no problems, pirated Windows products will not pass the Windows Genuine Advantage check. Unfortunately, some Microsoft products running under Wine do not pass this check either. If you wish to use Internet Explorer or Media Player, you will have no problems. If you wanted to run Microsoft Office, you would run into trouble if you were to try to download templates for the Office suite.

Source of Information : McGraw Hill Osborne Media How to Do Everything Ubuntu

No comments: