Entry
TSE: Linux: Emulator: Run: How to run TSE using the Wine emulator on Linux?
Aug 25th, 2003 09:39
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden - 11 August 2003 - 03:36 am -----------------------
TSE: Linux: Emulator: Run: How to run TSE using the Wine emulator on
Linux?
---
Note:
Only TSE g32.exe will run on Linux Wine (so not e.exe, or e32.exe),
because
some necessary APIs have not been implemented (yet) in Wine.
---
Wine = 'WINdows Emulator' (16/32 bits Windows emulator)
---
While Wine is usually thought of as a Microsoft Windows emulator,
the Wine developers would prefer that users thought of Wine as a
Windows compatibility layer for UNIX.
The Wine RPM package includes a program loader, which allows unmodified
Windows 3.1/95/98/ME/NT/2000/XP binaries to run under Intel UNIX.
Wine does not require Microsoft Windows, but it can use native system
.dll files if they are available.
---
FAQ: Frequently asked questions about Wine (e.g. configuration):
http://www.europe.redhat.com/documentation/FAQ/Wine-FAQ
---
Main page for Wine:
http://www.winehq.com
---
Steps: Overview:
1. -Check your glib version
Wine like all Linux software uses a library called glibc.
Different versions of Linux distributions ship different versions
of glibc. Make sure the Wine build you are downloading is built
for your version of glibc.
glibc 2.1 - Red Hat 6.x, Mandrake 7.x, SuSE 7.x, Debian 2.x
glibc 2.2 - Red Hat 7.0 through 8.0, Mandrake 8.0 through 9.0,
SuSE 8.x, Debian 3.0
glibc 2.3 - Red Hat 9.0, Mandrake 9.1
---
To see the version of glib installed (e.g. in Linux Red Hat v9.0)
type e.g. on the console command line (check this further):
glib-config --version
2. -download the Wine installation .rpm (or .deb) package
You will have to download the package for your
version of Linux, thus usually there is a
separate rpm for Linux Red Hat, SuSE, TurboLinux,
Slackware, Mandrake, ...).
---
To search for the version of Wine which is used for your Linux
version, use e.g.:
http://rpmseek.com/rpm-pl/wine.html?hl=com&cs=wine:PN:0:0:0
---
See also, e.g. for commercial versions:
http://www.winehq.org/?page=download
---
To download for example the Linux Red Hat v8.0 Wine rpm, use e.g.
the URL:
http://rpmseek.com/rpm/wine-20020605-2.i386.html?
hl=com&cs=wine:PN:0:0:0:0:213305
This file
wine-devel-20020605-2.i386.rpm
is about 6.5 megabyte.
3. -I downloaded and copied this file then from Windows XP to Linux
(e.g. Red Hat v8.0), using ftp, but use any other means to
transfer it to your Linux.
http://www.faqts.com/knowledge_base/view.phtml/aid/23667/fid/1149
4. -To install this Wine binary .rpm (or .deb) packages:
o In case you have a previous version of Wine installed,
it is recommended to uninstall it first
o To install via DEB (Debian-based distributions), use the command
apt-get install wine
5. -To install the Wine .rpm package on Linux Red Hat v8.0,
the following steps could be done:
1. Possibly open a console (e.g. right click on the desktop, and
choose 'New terminal')
2. Login as root, by typing the command:
su
and supply the root password
3. The easiest and most automatic way to install is to open e.g.
the filemanager (Nautilus).
(I tried also the command line install
rpm -i wine-20020605-2.i386.rpm
but it immediately started to complain about packages it
needed, so I skipped this option).
4. Then in your file manager navigate to the directory (e.g.
/TEMP/) where you downloaded and or stored your Wine .rpm file
5. Double clicking on the package name
wine-20020605-2.i386.rpm
will open a window, and a package dependence will be
determined (this may take a few minutes)
6. Click button 'Continue' to start the installation.
This worked OK.
7. Checking where Wine is located, type:
find / -name wine*
This shows that Wine was installed in:
/usr/lib/wine/
and further also in:
/usr/bin
/usr/share
and
/etc/
So possibly have a look in this directory:
cd /usr/lib
dir
6. To install TSE in Wine, you could do the following:
(source: Peter Birch)
1. create a "/c" directory on your Linux partition.
mkdir /c
2. create some relevant subdirectories
mkdir /c/windows
mkdir /c/windows/system
mkdir /c/tsepro
mkdir /c/tmp
3. Start the installation of TSE v4.x, and install it in the
/c/tsepro
directory.
4. Install the Windows information in the
/c/windows
directory
7. How do I configure Wine to run on my system?
Wine requires that you have a file called
"usr/local/etc/wine.conf" (you can supply a different filename
when configuring wine) or a file called ".winerc" in your home
directory. The format of this file is explained in the Wine man
page. The file "wine.ini" contains a config file example. More
explicit directions can be found in the README file that will be
located in the base Wine directory after you ungzip and untar the
distribution file.
8. In your Wine configuration file, you might put or add the
following information (make a backup first):
[Drive C]
"Path" = "/c"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"
[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "c:\\tmp"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;c:\\tsepro"
"Profile" = "c:\\windows\\Profiles\\Administrator"
9. To run your Windows programs in Linux, write them after
the 'wine' executable, as a parameter.
General format:
wine -- <your Windows or DOS program executable name>
---
e.g.
wine -- /c/tsepro/setup.exe
---
e.g.
wine -- dir
10. To make life easier, and less typing, you might define
some shorthands, aliases.
If using bash, put the following in your shell initialization
file (e.g. .bashrc):
alias g32='wine -- /c/tsepro/g32.exe'
alias sc32='wine -- /c/tsepro/sc32.exe'
If you then type g32, it will start the TSE v4.x editor,
and sc32 will run the TSE command line compiler.
---
[ Internet: see also:
http://www.faqts.com/knowledge_base/view.phtml/aid/22119/fid/1149 ]
----------------------------------------------------------------------