Part VThe Part (Best web hosting) of Tens27_
Friday, February 15th, 2008Part VThe Part of Tens27_
Part VThe Part of Tens27_
If you re trying to find the .winedirectory in the GUI and can t see it, youprobably have to go to the View menu and choose Show Hidden Files. So, torun the program, I double-click it and, when asked what program to run it with, enter wine. That s it (see Figure 19-5). Now pull out those old Windows 95and 98 CDs and give them a try! Not all of them will work, but some probablywill. The cool thing is that you can keep trying them on and off over time asnewer versions of Wine come out. Figure 19-5: WINErunning anold homedesignWindows 98program. 366Part IV:Getting Things Done
Fedora Core:Available through yum, depending on what repositoriesyou ve added (see Chapter 12). Type yum search wineto find the available packages. Then, install both of them. For example, on my AMDAthlon machine, I type yum -y install winesetuptk wine.athlonin order to install the setup tool and the main program. Knoppix:From the main menu, choose WINE. Linspire:From the main menu, choose Programs.SoftwareDevelopment.CNR More.WINE for Linspire. Mandrake:Available through the package installation program (Chapter 12). Search for wine. (xwine is not the same as WineX.) SuSE:Available through YaST s software installation routine (seeChapter 12). You can find it in System.Emulators.PC .WINE. Xandros:Not available. The adventurous are welcome to go towww.winehq.org, click the Download link, and try to build this program from source code (see Chapter 12). You can find the Wine documentation at www.winehq.org/site/docs/ wine-user/index. Start in the Configuring Wine section. Now comes the fun part trying to run your old Windows software. Youdon t really run Wine, per se. Instead, you invoke Wine whenever you need touse something from the Windows world. To install a Windows program throughWine, insert the CD-ROM or floppy into the appropriate drive. Your distribu- tion might open the File Manager for you, or you may need to open the FileManager manually. Regardless, your goal is to run the installation routine, which is typically SETUP.EXE. You can double-click this icon in the FileManager and, when asked what program you want to use to open this file, answer wine. As I write this, I m trying some old home design program I bought back whenI was silly enough to think I d be able to afford to build a house before I wasninety. Because it s difficult to describe a standard Wine session, I thought I dwalk you through how this goes for me. The installer loads and runs just fine. I stick with the defaults (because Wineis still a work-in-progress and it s best not to taunt it with getting too fancy) and then wait while the installer adds all of the files to my SuSE system. Now, to run my new old software. To run a Wine program, I first need to know whatthe path is to that program. I can find it by looking in the ~/.winedirectory. In this case, the program was installed into /home/dee/.wine/fake_ windows/Program Files/HOUSE. The file house.exelooks like the one for launching the program. 365Chapter 19: Windows-Only Media Formats and Programs26_
Installing and Using WineAnd then there s Wine (www.winehq.org), a complete rebuild of MicrosoftWindows 9xfunctionality that runs under Linux. Wine is in many ways themother of everything in the previous section. However, because it s a freeand very complicated project, it s not quite as friendly as the commercial versions. It s kind of like the others but with all the makeup and hairsprayremoved. Some Linux distributions offer Wine RPMs directly on their installation CDsor through their packaging schemes. For the distributions covered in thisbook, do the following to install WINE for the distributions that don t have it already installed, or to start it for the distributions that do have it. (SeeChapter 12 for more details on installing software.) Figure 19-4: A VMwarewindowcontainingWindowsXP, butrunning in Linux. 364Part IV:Getting Things Done
VMwareIf you absolutely haveto do something under Windows itself but only haveone computer and it s running Linux (or vice versa, for that matter), there sVMware (www.vmware.com). This is a popular tool in technical support officeswhere people need access to many different kinds of machines to test things. It s also popular with authors, like myself, because it allows us to grab thosetricky screenshots of the boot process and installer screens. In VMware, you run a full session of another operating system (or even anextra session of the same one you re running on the main machine) withinyour desktop see Figure 19-4. If your machine is powerful enough, youcould have five different operating systems all running in their own windowson a single computer. A minus to VMWare is that it requires a bit of extra oomph in your system. Check out its requirements and then try to go as farabove them as you can. It also runs in a self-contained window. A plus, though, is that this programreally is the next best thing to buying another computer. Figure 19-3: The Trans- GamingPoint2Playinstaller. 363Chapter 19: Windows-Only Media Formats and Programs26_
CedegaMore interested in games than office tools? There s also TransGaming sCedega (www.transgaming.com), which was once called WineX. This versionof the free Wine project (see the upcoming section Installing and Using Wine ) is specifically designed to support Direct X, which is used in Windows to makeprogramming for multimedia and games easier. Subscribers have access toregular updates, allowing them to make use of their favorite games and alsoadd any games they like to the growing list of games that are being testedwith the system. Go to www.transgaming.com/searchgame.php, scroll to the bottom of thescreen, and click the Here link. A listing of all games, in order, appears so thatyou re able to find out what games are supported at what level. A handynew(ish) feature is the Point2Play installer (see Figure 19-3), which you can use to ready your computer for the Cedega experience. A plus to Cedega is, again, that you don t need to keep those Windows CDslying around. However, its support for individual games can be spotty, so besure to check the Web site before you invest in this product. Also, be sure tomake use of the help forums! Figure 19-2: Windows 98installingunderWin4Lin in a SuSE9.1 window. 362Part IV:Getting Things Done
What I most appreciate about CodeWeavers (and all these companies, really) is that they are very upfront about what works really well, what works exceptfor a few features, and what works not so well. All you have to do is checktheir Web site. For those who always seem to want to scream piracy when itcomesto Linux, you actually do have to own the programs you want to run(say, Microsoft Office) and install them through CrossOver Office off of their original CDs or DVDs. However, you don t have to own the version of Microsoft Windows the software would run under. CodeWeavers has built a re-implementation of the necessary Windows functionality under the hoodinstead. Are you an iPod and iTunes junkie? There s no Linux version of iTunes avail- able, but CrossOver Office lets you run iTunes under Linux. A plus to CodeWeavers CrossOver Office is that the applications run in indi- vidual windows just like every other program on your machine. A minus isthat not all Windows software is supported, because hooks have to be builtunder the hood for each new piece of software. CrossOver Office comes with the Xandros Deluxe desktop (available for instal- lation through the Xandros Networks, see Chapter 12) and is available forpurchase from the Xandros Networks store for other Xandros users. Win4LinAnother option is Win4Lin from NeTraverse (www.netraverse.com/). Win4Lin actually offers you a platform within which you install MicrosoftWindows (so have those CDs handy) and then run programs on top of it. Asof this writing, Win4Lin supports Windows 95, 98 (see Figure 19-2), and ME. Soon, it will support newer versions of Windows as well. A plus to Win4Lin is that it supports a more full range of Windows software. Aminus is that it runs in its own separate window, so its applications aren tintegrated into the rest of your desktop. You also have to actually keep yourMicrosoft Windows operating system CDs around because you need to beable to install the operating system into Win4Lin though you can then putthem in storage after you ve done the installation. You also end up having tohave a special kernel (boot session) to run Win4Lin 5.0, so if you hate reboot- ing, this program may not be the solution for you though you could justmake this your default boot option. Win4Lin is available for purchase for Linspire users through their Click And Run Warehouse; from the main menu, choose Programs.Utilities. CNR More.Win4Lin. 361Chapter 19: Windows-Only Media Formats and Programs26_
Commercial SoftwareA growing number of commercially available tools let you work with anythingfrom Microsoft Office to your Windows games under Linux. Mind you, ulti- mately the Linux user s goal is to not have to use any of these extra programlayers but in the meantime, it s nice not to be inconvenienced. I ve reviewedor at least used every one of these products (often more than once over theyears), so I m not just going by their Web sites. Many of these vendors offer server, as well as desktop products. I m focusingon the desktop. For more about their server products, check out their Websites. CodeWeaversCodeWeavers (www.codeweavers.com) provides an excellent product that Iuse from time to time: CrossOver Office. This program allows you to useMicrosoft Office (along with a growing number of office applications) directlyunder Linux. It also comes with a hefty number of plug-ins (see Figure 19-1) that you might miss when it comes to Web surfing. It s a bit jarring to runMicrosoft Word and Windows Media Player under Linux at first becausethere s no native(without special software) way to do this otherwise butit s certainly handy. You can even use the iPod s iTunes through CrossOverOffice! Figure 19-1: TheCrossOverOffice InstallSoftwaredialog box, in Xandros 2.5.360Part IV:Getting Things Done
Chapter 19Windows-Only Media Formatsand ProgramsIn This Chapter Running Microsoft Office and Web tools with CrossOver Office Using Windows inside Linux with Win4Lin Playing Windows games with Cedega Creating a virtual computer inside Linux with VMWare Trying out the free Windows inside Linux tool, WINEA gentleman is a man who can play the accordion, but doesn t. UnknownThere is little more maddening for computer users than to find a file onlineor have someone send a file, just to discover that they can t use it. Whilethis issue is less of a problem for Linux users as each day passes, things dosometimes still crop up that have to be dealt with so that you can move for- ward instead of spinning your wheels. Also, you may want certain programsthat you just can t live without and haven t found a replacement that you rehappy with yet. Fortunately, you have a number of options available in both of these scenar- ios. If you re looking for software, then a good place to start (aside fromChapter 12) is linuxshop.ru/linuxbegin/win-lin-soft-en/. Here, youcan see whether there really isn t a Linux tool that can do the job. You may be surprised. After looking at this site, you have two options. You can takeadvantage of commercial packages that can help you to access these docu- ments and features under Linux, or you can wade in and try to get Wine working, which is the free base beneath all these tools. When it comes to fileformats, you also ultimately may have to go looking for ways to run Windowstools under Linux to handle files that you otherwise can t use under Linuxquite yet. Do a Web search on the file format (for example, .doc) and theword linuxfor recommendations as well.
358Part IV:Getting Things Done