Running Windows Programs on Ubuntu with Wine Wine Importer Shanna Korby, Fotolia

Total Page:16

File Type:pdf, Size:1020Kb

Running Windows Programs on Ubuntu with Wine Wine Importer Shanna Korby, Fotolia KNoW-HoW Wine Running Windows programs on Ubuntu with Wine Wine importer Shanna Korby, Fotolia Korby, Shanna Users who move from Windows to Ubuntu often miss some of their favorite programs and games. Wouldn’t it be practical to run Windows applications on the free Ubuntu operating system? Time for a little taste of Wine. BY TIM SCHÜRMANN any Ubuntu migrants miss to develop something similar for Linux. Box or VMware, Wine does not emulate games and graphics programs A short while later, the first version of a whole PC and thus cannot be consid- Msuch as CorelDRAW or prod- Wine was released. Today, more than ered a real emulator. This also explains ucts such as Adobe Photoshop. The only 300 volunteer programmers from all over the name Wine, which means Wine Is solution is to install Windows parallel to the world continue to contribute to the Not an Emulator. Ubuntu – or try Wine, which tricks ap- Wine project. Because of the way Wine works, it of- plications into believing they are run- fers a number of advantages. Chiefly, ning on a Windows system. What’s in a Name? you do not need an expensive Windows The history of Wine goes back to the To run Windows programs on Ubuntu, license. Programs will run almost as fast year 1993. At the time, Sun developed a Wine uses a fairly complex trick: It sits as on the Redmond operating system, small tool to run Windows applications between the Windows application and and windows behave as if they belong on its own Solaris operating system, Ubuntu like a simultaneous interpreter. to a native Ubuntu program. without the need for a Windows license If the Windows application says: “Draw An interpreter can only be as good as or other interaction. This software in- a button,” Wine passes this command its knowledge of the two languages, and spired Bob Amstadt and Eric Youngdale directly to Ubuntu. In contrast to Virtual- therein lies the problem: Because Micro- 30 ISSUE 01 UBUNTU USER Wine KNoW-HoW program fared in tests per- formed by Wine users. The Platinum rating is only awarded if a program runs without errors and without any impairment to func- tionality on Wine. A cou- ple of older CorelDRAW versions have made Gold status; the current X4 ver- sion refuses to cooperate entirely (Garbage). Adobe Photoshop CS2 will run more or less as the makers intended, whereas the cur- rent CS3 version has reached only Bronze status. Things are even worse in the case of Adobe Illustra- tor. As a rule of thumb, the older a program is, the bet- ter your chances are of get- ting it to work. Figure 1: The Wine database lists numerous applications that run on Wine – for example, the CorelDRAW A Wrench in the graphics package. Works Clicking on a program ver- soft refused to release details of its oper- cannot revitalize hardware with Win- sion tells you exactly what the trouble is. ating system until just recently, Wine de- dows-only driver support. A new window appears with details of velopers were forced to adopt a trial and what does and doesn’t perform as ex- error approach. Such a method involves Preparation pected. In addition, user reports at the time-consuming, painstaking work, and Before you fire up your package manager bottom and tips for talking the program considering the multiple-gigabyte operat- and launch into the Wine install, you into cooperating can be very useful. The ing system monster they were facing, it might want to take a look at the appli- steps this requires, some of which are was very much a labor of Sisyphus. On cation database on the Wine homepage very complex, are something you should top of this, some software manufacturers [1]. This database summarizes the level not attempt unless you are an experi- use some pretty nasty programming of support for various Windows tricks, and if you want to talk these ap- programs: whether or not they run plications into running on Ubuntu, Wine on Wine and, if so, how well be- needs to know these tricks. Unfortu- haved they are. To access the data- nately, most software vendors keep this base, go to the Wine homepage kind of information safely under lock and, from among the tabs at the and key. top, click AppDB. In the AppDB Despite years of work, then, Wine is area on the left, select Browse still officially under development, and Apps, go through the drop-down most of the work taking place now is list labeled Category until you find going into the fields of multimedia, the category and application you video, and 3D graphics. This said, Wine are interested in, and click on does support DirectX 8 and 9 quite well Update filter. CorelDRAW and by now. The developers started work on Photoshop are hidden below Mul- the tenth incarnation of this critical timedia | Graphics | Graphics Edit- graphics interface for games last year. ing, for example. Alternatively, An additional limitation is that Wine can use the search function to find only handle very simple 32-bit Windows your application in the database. applications, although improved support If you decide to investigate for 64-bit software is being worked on CorelDRAW, you are taken to the even now. page shown in Figure 1, where Wine has another disadvantage: It can you will find ratings for different Figure 2: This window shows you the current Wine only handle Windows applications; it versions that tell you how well the settings. UBUNTU USER ISSUE 01 31 KNoW-HoW Wine Figure 3: Start the Windows application installation file using Wine. Figure 5: Installing WinRAR with Wine. enced Ubuntu user. In some cases, pro- Launch System | Administration | Synap- The Wine Configuration tool will then grams refuse to work because Internet tic Package Manager, enter your pass- go on to create a hidden .wine directory Explorer is missing; for example, Lex- word in the resulting dialog, then type below your home directory. The soft- ware accounting software relies on Inter- wine in the search box and click Search. ware uses this directory to store the net Explorer for some operations. In the list of results, mark the wine entry basic configuration, which you can see If your application is still listed as bro- for installation. Synaptic will present a in Figure 2. Right now, do not modify ken in the database, you should check list of additionally required changes. anything here, but click Cancel to close the test date (in Test Results). If the test Now confirm these with Mark and start the tool. was a while back, you might want to ex- the installation by clicking Apply. periment yourself. Wine continues to Installing a Windows mature, and it is conceivable that your Preparations Program application has been taken care of. Wine integrates with the desktop start To take Wine for a test run, download Once you have established that your menu. To launch Wine, click on Applica- the WinRAR packer [2], then open the Windows application is likely to run on tions | Wine | Configure Wine. file manager. Next, locate the file and Wine, you need an installation disc for the Windows application. Although Wine is free of charge, you need a valid license for the Windows application. Installation Wine is included with Ubuntu and you can retrieve it from a repository. First, Figure 4: Choose "Open With" and select "Wine Windows Program Loader" for Win- dows applications. Figure 6: The Windows application WinRAR running on the Ubuntu desktop. 32 ISSUE 01 UBUNTU USER Wine KNoW-HoW start the installer by double-clicking on it. Alternatively, choose Open with "Wine Windows Program Loader" from the context menu, which opens after a right-click on any file (Figure 3). In WinRAR’s case, the self-extracting file wrar380.exe automatically executes the installer. In other cases, you might need to look for the installer for the Win- dows application in an archive file: It will typically be setup.exe, or autorun. exe. If Wine does not launch automatically Figure 8: Wine has a graceful approach to uninstalling Windows programs. after double-clicking on the installer, you should choose Open with Other Applica- entries as a con venient method for around: Each drive letter maps to an tion... (Figure 3), then choose Wine launching the Windows program. Ubuntu directory. Although a Windows Windows Program Loader in the window program running on Wine thinks it is shown in Figure 4. Now you just need to Tell Me Your Name storing data on drive C:, it is writing to a click Open. By default, Wine stores Windows pro- subdirectory called .wine/drive_c below Wine takes over in the background grams that think they are installing on the home directory. The Wine control and launches the Windows program. drive C: in a hidden subdirectory below center shows which letter maps to which Just follow the normal steps to install your home directory. To display the hid- directory. First choose Applications | the program. Although I talk about Win- den files, select View | Show Hidden Files Wine | Configure Wine or type winecfg dows drive letters in the next section, for in the Nautilus file browser, then change in a quick launcher (Alt+F2). Then visit now, confirm the default installation di- directory to .wine in your home direc- the Drives tab (Figure 7). The list at the rectory suggested by the application tory. One level below is a drive_c subdi- top shows you which drive letter maps (Figure 5). If any installer asks you to re- rectory and below this, Program Files to which Ubuntu directory.
Recommended publications
  • Virtualgl / Turbovnc Survey Results Version 1, 3/17/2008 -- the Virtualgl Project
    VirtualGL / TurboVNC Survey Results Version 1, 3/17/2008 -- The VirtualGL Project This report and all associated illustrations are licensed under the Creative Commons Attribution 3.0 License. Any works which contain material derived from this document must cite The VirtualGL Project as the source of the material and list the current URL for the VirtualGL web site. Between December, 2007 and March, 2008, a survey of the VirtualGL community was conducted to ascertain which features and platforms were of interest to current and future users of VirtualGL and TurboVNC. The larger purpose of this survey was to steer the future development of VirtualGL and TurboVNC based on user input. 1 Statistics 49 users responded to the survey, with 32 complete responses. When listing percentage breakdowns for each response to a question, this report computes the percentages relative to the total number of complete responses for that question. 2 Responses 2.1 Server Platform “Please select the server platform(s) that you currently use or plan to use with VirtualGL/TurboVNC” Platform Number of Respondees (%) Linux/x86 25 / 46 (54%) ● Enterprise Linux 3 (x86) 2 / 46 (4.3%) ● Enterprise Linux 4 (x86) 5 / 46 (11%) ● Enterprise Linux 5 (x86) 6 / 46 (13%) ● Fedora Core 4 (x86) 1 / 46 (2.2%) ● Fedora Core 7 (x86) 1 / 46 (2.2%) ● Fedora Core 8 (x86) 4 / 46 (8.7%) ● SuSE Linux Enterprise 9 (x86) 1 / 46 (2.2%) 1 Platform Number of Respondees (%) ● SuSE Linux Enterprise 10 (x86) 2 / 46 (4.3%) ● Ubuntu (x86) 7 / 46 (15%) ● Debian (x86) 5 / 46 (11%) ● Gentoo (x86) 1 /
    [Show full text]
  • Introduction to Containers
    Introduction to Containers Martin Čuma Center for High Performance Computing University of Utah [email protected] Overview • Why do we want to use containers? • Containers basics • Prepare your computer for containers • Build and deploy a container • Containers for complex software • https://www.surveymonkey.com/r/RDMBHMS 10/31/2017 http://www.chpc.utah.edu Slide 2 Hands on setup 1. Download the talk slides http://home.chpc.utah.edu/~mcuma/chpc/Containers17.pdf https://tinyurl.com/y8v44z95 2. If you have CHPC account, using terminal application (Mac terminal, PuTTY, GIT Shell) – ssh [email protected] 3. Make sure you can see singularity – which singularity 4. Make sure you can sudo singularity command – sudo singularity –version OR – if you don’t have CHPC account, use Singularity on your laptop 10/31/2017 http://www.chpc.utah.edu Slide 3 Why to use containers? 10/31/2017 http://www.chpc.utah.edu Slide 4 Software dependencies • Some programs require complex software environments – OS type and versions – Drivers – Compiler type and versions – Software dependencies • Python/R/MATLAB versions • glibc, stdlibc++ versions • Other libraries and executables • Python/R libraries 10/31/2017 http://www.chpc.utah.edu Slide 5 Reproducible research • Research outputs include software and data • Software reproducibility – Software repositories (svn, git) – Good but often software has dependencies • Data reproducibility – Data as publication supplementary info, centralized repositories (NCBI), … – Disconnected from the production environment
    [Show full text]
  • Sdruno (Extio) on Linux Using Wine 4.0 on Ubuntu 16.04 a Guide Put Together by the Community
    SDRuno (ExtIO) on Linux using Wine 4.0 on Ubuntu 16.04 A Guide Put Together by The Community The following procedure outlines the approach used to get the ExtIO version of SDRuno running under Wine within a Linux environment. This was pulled together as a result of the efforts of various individuals on the SDRplay forum and we have found that it works on Ubuntu 16.04. Please note the following: • This is for x86 platforms ONLY and will not work on ARM systems • If you have little or no experience with Linux, this is not recommended. Linux is in our view, not for the inexperienced or faint-hearted users. • This is NOT an ‘official’ SDRplay flow. We will not be providing ANY support for users who try this and have problems. We recommend that if you are having problems that you reach out via our community forum and hopefully the people that figured this out will be in a better position to advise you. • This flow also works for HDSDR. It may also work for SDR# or any other Windows applications that use the RTL_TCP interface or the ExtIO interface. • This will NOT work with the main version of SDRuno (non ExtIO version) at present, but we hope that we will be able to provide hooks in the future so that it will. • This does not diminish our commitment to develop a fully-fledged native Linux version of SDRuno as part of our cross-platform development program. This is intended to open more options for dedicated Linux users.
    [Show full text]
  • Reactos-Devtutorial.Pdf
    Developer Tutorials Developer Tutorials Next Developer Tutorials Table of Contents I. Newbie Developer 1. Introduction to ReactOS development 2. Where to get the latest ReactOS source, compilation tools and how to compile the source 3. Testing your compiled ReactOS code 4. Where to go from here (newbie developer) II. Centralized Source Code Repository 5. Introducing CVS 6. Downloading and configuring your CVS client 7. Checking out a new tree 8. Updating your tree with the latest code 9. Applying for write access 10. Submitting your code with CVS 11. Submitting a patch to the project III. Advanced Developer 12. CD Packaging Guide 13. ReactOS Architecture Whitepaper 14. ReactOS WINE Developer Guide IV. Bochs testing 15. Introducing Bochs 16. Downloading and Using Bochs with ReactOS 17. The compile, test and debug cycle under Bochs V. VMware Testing 18. Introducing VMware List of Tables 7.1. Modules http://reactos.com/rosdocs/tutorials/bk02.html (1 of 2) [3/18/2003 12:16:53 PM] Developer Tutorials Prev Up Next Chapter 8. Where to go from here Home Part I. Newbie Developer (newbie user) http://reactos.com/rosdocs/tutorials/bk02.html (2 of 2) [3/18/2003 12:16:53 PM] Part I. Newbie Developer Part I. Newbie Developer Prev Developer Tutorials Next Newbie Developer Table of Contents 1. Introduction to ReactOS development 2. Where to get the latest ReactOS source, compilation tools and how to compile the source 3. Testing your compiled ReactOS code 4. Where to go from here (newbie developer) Prev Up Next Developer Tutorials Home Chapter 1. Introduction to ReactOS development http://reactos.com/rosdocs/tutorials/bk02pt01.html [3/18/2003 12:16:54 PM] Chapter 1.
    [Show full text]
  • Windows Legacy Application Support Under Wine
    White Paper: Windows Legacy Application Support Under Wine Windows Legacy Application Support Under Wine Windows Legacy Application Support Under Wine Overview: With the constant pressure from Microsoft to migrate to newer versions of Windows, many users are left with unpalatable options for running their older applications. Wine Wine offers a viable offers a viable, inexpensive alternative for keeping alternative for keeping these legacy applications functioning in perpetuity. legacy Windows apps It is a truism that the needs of customers and vendors are often at running in perpetuity. cross-purposes. Nowhere has this been more vividly demonstrated than in the forced upgrade cycles of the Microsoft Windows platform, which have completely reversed the leverage customers normally wield over their suppliers. In many cases, end-users have seen little utility in switching to newer versions of Windows, but have been left with essentially zero choice in the matter. Forced OS upgrades have, in turn, forced the migration of many legacy applications. These older Windows programs—which in many cases are still perfectly functional—must either be redeveloped for a newer Windows platform, or replaced. This places yet another cost on top of the cost of the OS upgrade. However, this cycle, which once appeared unbreakable, now seems to be weakening. For one thing, Windows is no longer as dominant as it once was on the desktop. The rise of both Mac OS X and Linux have begun eating into the monopolistic power of Microsoft to dictate these cycles. Second is the fact that users now have a realistic alternative The MS OS forced- for running their legacy apps.
    [Show full text]
  • The Other Architectures and Wine
    The other Architectures and Wine By André Hentschel Agenda ● PowerPC ● MIPS ● ARM ● AArch64 ● Thumb-2 ● Buildroot PowerPC (32-Bit) ● Not quite matured ● Not many users left (even none?) ● Missing debugger support Status: Keep it alive as far as feasible MIPS (32-Bit / 64-Bit) ● Interesting with regards to Android ● I tried porting it, but there seems to be some nasty problem with virtual memory Status: Not working, not upstream ARM (32-Bit) ● Runs PEs, gets packaged ● Waiting for mingw-w64-arm ● Biggest area of potential improvements is floating point support (mostly for debugging purposes) Status: Most matured “other Architecture” ARM64 (AArch64) ● VarArgs support needed in GCC as it was with x86_64 ● Register X18 used for TEB on Windows, GCC uses it as temp register and as “static chain register” Status: Winelib only due to ABI problems Thumb-2 ● Bug 33349 ● “Use Thumb binaries on ARM?” ● Want to keep the ARM port compatible to old ARMv5TE hardware ● So maybe as “new” Architecture? Status: Thinking about it Buildroot.org ● A simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation ● A set of Makefiles and patches ● Can generate any or all of a cross- toolchain, a rootfs, a kernel image and a bootloader image Buildroot.org ● Wine (1.6.2) support since 2015.05 ● Can easily be used to test Wine on different architectures, just replace 1.6.2 with the version you like and select needed packages ● Should I add a Wiki page about it? config BR2_PACKAGE_WINE bool "wine" depends on BR2_TOOLCHAIN_USES_GLIBC # Wine only builds on certain architectures depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \ BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \ BR2_HOSTARCH = "aarch64" # Wine has much CPU specific code and mostly makes sense on x86 depends on BR2_i386 help Wine is a compatibility layer capable of running Windows applications on Linux.
    [Show full text]
  • DOS Virtualized in the Linux Kernel
    DOS Virtualized in the Linux Kernel Robert T. Johnson, III Abstract Due to the heavy dominance of Microsoft Windows® in the desktop market, some members of the software industry believe that new operating systems must be able to run Windows® applications to compete in the marketplace. However, running applications not native to the operating system generally causes their performance to degrade significantly. When the application and the operating system were written to run on the same machine architecture, all of the instructions in the application can still be directly executed under the new operating system. Some will only need to be interpreted differently to provide the required functionality. This paper investigates the feasibility and potential to speed up the performance of such applications by including the support needed to run them directly in the kernel. In order to avoid the impact to the kernel when these applications are not running, the needed support was built as a loadable kernel module. 1 Introduction New operating systems face significant challenges in gaining consumer acceptance in the desktop marketplace. One of the first realizations that must be made is that the majority of this market consists of non-technical users who are unlikely to either understand or have the desire to understand various technical details about why the new operating system is “better” than a competitor’s. This means that such details are extremely unlikely to sway a large amount of users towards the operating system by themselves. The incentive for a consumer to continue using their existing operating system or only upgrade to one that is backwards compatible is also very strong due to the importance of application software.
    [Show full text]
  • Linux Games Page 1 of 7
    Linux Games Page 1 of 7 Linux Games INTRODUCTION such as the number of players and the size of the map, then you start the game. Once the game is running clients may Hello. My name is Andrew Howlett. I've been using Linux join the game. Clients connect to the game using TCP/IP, since 1997. In 2000 I cutover to Linux for all my projects, so it is very easy to play multi-player games over the except I dual-booted Windows to play games. I like to play Internet. Like many Free games, clients are available for computer games. About a year ago I stopped dual booting. many platforms, including Windows, Amiga and Now I play computer games under Linux. The games I Macintosh. So there are lots of players out there. If you play can be divided into four groups: Free Games, native don't want to play against other humans, then Freeciv linux commercial games, Windows Emulated games, and includes some nasty AIs. Win4Lin enabled games. This presentation will demonstrate games from each of these four groups. BZFlag Platform BZFlag is a tank combat game along the same lines as the old BattleZone game. Like FreeCiv, BZFlag uses a client/ Before I get started, a little bit about my setup so you can server architecture over TCP/IP networks. Unlike FreeCiv, relate this to whatever you are running. This is a P3 900 the game contains no AIs – you must play this game MHz machine. It has a Crystal Sound 4600 sound card and against other humans (? entities ?) over the Internet.
    [Show full text]
  • The Linux Gamers' HOWTO
    The Linux Gamers’ HOWTO Peter Jay Salzman Frédéric Delanoy Copyright © 2001, 2002 Peter Jay Salzman Copyright © 2003, 2004 Peter Jay SalzmanFrédéric Delanoy 2004-11-13 v.1.0.6 Abstract The same questions get asked repeatedly on Linux related mailing lists and news groups. Many of them arise because people don’t know as much as they should about how things "work" on Linux, at least, as far as games go. Gaming can be a tough pursuit; it requires knowledge from an incredibly vast range of topics from compilers to libraries to system administration to networking to XFree86 administration ... you get the picture. Every aspect of your computer plays a role in gaming. It’s a demanding topic, but this fact is shadowed by the primary goal of gaming: to have fun and blow off some steam. This document is a stepping stone to get the most common problems resolved and to give people the knowledge to begin thinking intelligently about what is going on with their games. Just as with anything else on Linux, you need to know a little more about what’s going on behind the scenes with your system to be able to keep your games healthy or to diagnose and fix them when they’re not. 1. Administra If you have ideas, corrections or questions relating to this HOWTO, please email me. By receiving feedback on this howto (even if I don’t have the time to answer), you make me feel like I’m doing something useful. In turn, it motivates me to write more and add to this document.
    [Show full text]
  • MX-18.3 Users Manual
    MX-18.3 Users Manual v. 20190614 manual AT mxlinux DOT org Ctrl-F = Search this Manual Ctrl+Home = Return to top Table of Contents 1 Introduction................................................................................2 2 Installation..................................................................................8 3 Configuration...........................................................................37 4 Basic use..................................................................................93 5 Software Management...........................................................126 6 Advanced use.........................................................................141 7 Under the hood.......................................................................164 8 Glossary.................................................................................178 1 Introduction 1.1 About MX Linux MX Linux is a cooperative venture between the antiX and former MEPIS communities, using the best tools and talents from each distro and including work and ideas originally created by Warren Woodford. It is a midweight OS designed to combine an elegant and efficient desktop with simple configuration, high stability, solid performance and medium-sized footprint. Relying on the excellent upstream work by Linux and the open-source community, we deploy Xfce 4.12 as Desktop Environment on top of a Debian Stable base, drawing from the core antiX system. Ongoing backports and outside additions to our Repos serve to keep components current with developments.
    [Show full text]
  • MX-19.2 Users Manual
    MX-19.2 Users Manual v. 20200801 manual AT mxlinux DOT org Ctrl-F = Search this Manual Ctrl+Home = Return to top Table of Contents 1 Introduction...................................................................................................................................4 1.1 About MX Linux................................................................................................................4 1.2 About this Manual..............................................................................................................4 1.3 System requirements..........................................................................................................5 1.4 Support and EOL................................................................................................................6 1.5 Bugs, issues and requests...................................................................................................6 1.6 Migration............................................................................................................................7 1.7 Our positions......................................................................................................................8 1.8 Notes for Translators.............................................................................................................8 2 Installation...................................................................................................................................10 2.1 Introduction......................................................................................................................10
    [Show full text]
  • Download the Index
    41_067232945x_index.qxd 10/5/07 1:09 PM Page 667 Index NUMBERS 3D video, 100-101 10BaseT Ethernet NIC (Network Interface Cards), 512 64-bit processors, 14 100BaseT Ethernet NIC (Network Interface Cards), 512 A A (Address) resource record, 555 AbiWord, 171-172 ac command, 414 ac patches, 498 access control, Apache web server file systems, 536 access times, disabling, 648 Accessibility module (GNOME), 116 ACPI (Advanced Configuration and Power Interface), 61-62 active content modules, dynamic website creation, 544 Add a New Local User screen, 44 add command (CVS), 583 address books, KAddressBook, 278 Administrator Mode button (KDE Control Center), 113 Adobe Reader, 133 AFPL Ghostscript, 123 41_067232945x_index.qxd 10/5/07 1:09 PM Page 668 668 aggregators aggregators, 309 antispam tools, 325 aKregator (Kontact), 336-337 KMail, 330-331 Blam!, 337 Procmail, 326, 329-330 Bloglines, 338 action line special characters, 328 Firefox web browser, 335 recipe flags, 326 Liferea, 337 special conditions, 327 Opera web browser, 335 antivirus tools, 331-332 RSSOwl, 338 AP (Access Points), wireless networks, 260, 514 aKregator webfeeder (Kontact), 278, 336-337 Apache web server, 529 album art, downloading to multimedia dynamic websites, creating players, 192 active content modules, 544 aliases, 79 CGI programming, 542-543 bash shell, 80 SSI, 543 CNAME (Canonical Name) resource file systems record, 555 access control, 536 local aliases, email server configuration, 325 authentication, 536-538 allow directive (Apache2/httpd.conf), 536 installing Almquist shells
    [Show full text]