Linux Tutorial: Running Microsoft DOS and Microsoft ...



[pic]

Running Microsoft DOS and Microsoft Windows Executables

| |

|This covers Linux software which allows one to run Microsoft DOS and Microsoft Windows applications on a Linux system. |[|

| |p|

| |i|

| |c|

| |]|

• - DOS emulator home page

• WINE - Subsystem to run Microsoft Windows programs. It allows Linux to handle Windows API calls natively. (not an emulator) (OSS) I could never get Outlook 2000 to run under the open source version of wine. (Use Crossover's commercial release of WINE below.)

o WineX - Wine with DirectX API extensions to support games.

o Rewind - MIT/X11 fork of Wine project.

• Win4Lin - Linux version of SCO Unixware Merge - Requires Windows operating system. Lacks NETBIOS networking support. No DirectX support but does give you native Linux filesystem access which VMWare does not. Requires MS/Windoew OS license.

• VMWare - Virtual x86 Intel machine to run any Intel operating system including Windows. (Commercial product) No access to Linux file system. Must interface with Linux through network. Requires MS/Windoew OS license. Only method to be able to run any Microsoft application.

[pic]

|[p| |

|ic|[pic] |

|] |Wine: Installation / Configuration / Use with Microsoft Office 2000 |

|[p| |

|ic|The Wine compatibility layer is an implementation of the Microsoft API on X-Windows which allow Linux to run Microsoft Windows |

|][|application. The limitation is that since the Microsoft applications have been compiled to run on Intel 32 bit architectures, |

|pi|Wine is limited to the same architecture. The executable will run natively in Linux. Wine is NOT a virtual machine. Thus Wine |

|c]|does NOT read each binary instruction. Wine does NOT require the installation of the Microsoft Windows operating system. The |

|[p|Microsoft Windows application will run on Linux executing its Intel binary instructions. The Wine compatibility layer is invoked|

|ic|every time the application makes a call to a Microsoft Windows API function. Wine will handle the call and make the appropriate |

|] |X-Window call to display or render the appropriate graphics. |

| |Wine Installation: (as root) |

| |Go to the WineTools home page to find which version of Wine should be used. (Wine version 20041019 was recommended for use with |

| |WineTools 2.1.2) |

| |You can download the latest RPM binary from . |

| |They recommend downloading an older version compatable with the WineTools configuration/application installation tool from |

| |. |

| |Binaries are available for a multitude of Linux distributions running on Intel 32 bit compatable (i386/i686i/AMD x86_64) |

| |architecture. Use ctrl-F to search page and find the correct version. |

| |Install Wine: rpm -ivh wine-20050524-1fc3winehq.i686.rpm |

| |NOTE: I had the best success with the latest version of Wine!!! |

| |Download and install xdialog. (Required for WineTools) |

| |rpm -ivh xdialog-2.1.2-1.1.fc3.rf.i386.rpm |

| |WineTools: menu driven Wine configuration tool and installer for Microsoft Windows applications. |

| |Make a note of which version of Wine should be used with WineTools. will release newer versions of Wine which are not|

| |compatable. |

| |rpm -ivh winetools-2.1.2-jo.i386.rpm |

| |Configuration: |

| |Copy default config file: |

| |mkdir ~/.wine |

| |cp /usr/share/doc/wine-20050524/samples/config ~/.wine/config |

| |This configuration can be edited: configuration details |

| |Edit file /etc/fstab |

| |/dev/cdrom /cdrom iso9660 ro,noauto,users,unhide 0 0 |

| |or |

| |/dev/hdd /mnt/cdrom auto umask=0,unhide,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0 |

| | |

| |or use mount command: mount -t iso9660 -o ro,unhide /dev/hdd /mnt/cdrom |

| |Add the parameter "unhide". |

| |Configure and test Wine installation by running /usr/bin/winecfg |

| |[pic] |

| |[pic] |

| |This generates the registry, "C:" drive, ... in ~/.wine/... |

| |Download/Install DCOM98 (Distributed Component Object Model) - [Download] [Info] |

| |Extract: wine dcom98.exe /C |

| |Install: WINEDLLOVERRIDES="ole32=n;rpcrt4=n;oleaut32=n" wine dcom98.exe |

| |Note wget has a download size limit of 2GB. Use ncftpget or curl. |

| |Install Microsoft Office: |

| |cd /mnt/cdrom |

| |wine INSTALL.EXE |

| |DLLOVERRIDES="ole32=n;oleaut32=n;rpcrt4=n" wine INSTALL.EXE |

| |WineTools: Wine configuration tool - I could not get this to work at all!!! |

| |Fedora Core users: Turn off pre-linking (as root) |

| |prelink -uav |

| |rm -f /etc/prelink.cache |

| |To turn back on: /etc/cron.daily/prelink |

| |Download fonts from and place into ~/winetools/fonts |

| |Start Wine configuration program as regular user: /usr/local/bin/wt2 |

| |Select "OK" to get to "Base setup". |

| |[pic] |

| |Select each item and then "OK". Only one language needs to be selected. |

| |Note: True Type Arial font installation requires an internet connection. - Don't do this step!!! |

| |Your "C:" drive will be located in /home/user1/.wine/drive_c |

| |[Potential Pitfall]: Later, when launching WineTools, the dialog box will directly specify the compatable versions of Wine. This|

| |is not necessarily in sync with the web page which lists compatability for a given version of WineTools and maybe not for the |

| |version you are using. |

| |[pic] |

| | |

| |[pic] |

| |Links: |

| | |

| |DOSemu - DOS emulator installation and configuration |

| |DOSemu HOWTO - Mike Deisher |

| |. |

| | |

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download