Linux OS |Linux Training |A+ |CCNA | Visual Basic | XHTML

home |shopping cart | reseller program | specials | contact


The Book Pack
with CDs
Get All 5 Books, 3 CDs
for Only $79.95



Go Wireless! ---- Handheld With Linux


Zaurus 5500
With Linux Training $295.95

Over a 1000 Programs available for this Handheld Computer that does it all!

Linux Energy Drink

The LinuxOnlineClub!

Instant Access to Online Linux Training!


$14.99
for 6 Months Access and Discounts


Windows From Linux - Wine

Wine for Linux

Wine
A windows platform for your Linux machine

Wine is a program that allows Linux users to use Windows programs. Wine sets up a fake windows file system on your Linux partition and enables you to load programs that will only run on a Windows platform. Programs such as your training CD's, or Excel, Word, Internet Explorer. Wine has not yet been perfected it does have some problems. But it does give Linux users an opportunity to use some of their must have programs that only operate in Windows. Get the Wine Training CD

Which Version of Wine?
One of the frustrations of using Wine is that there are a number of versions and companies that offer wine. This section is to help you figure out which one you have.

Use this command:
rpm -q wine

If a Wine version is installed you will get a return:

wine-20030508-1rh9winehq
This is the version for Red Hat 9.

codeweavers-wine-20020904-7.i386.rpm
This is the codeweavers.com version of Wine.

wine-20030219-1rh8winehq.i686.rpm
This one is from winehq.com, notice it is especially designed for Red Hat 8.0 "rh8".

You can see there are different dates and you need to take this into account. Get the most recent date and the Wine for your particular version of Linux. Download the RPM for your Version.

Install RPMS by copying them to to your /tmp directory:

drag and drop if you are graphical user interface

if not from a terminal, after the drive is mounted (mount /mnt/cdrom):

cp wine-20030508-1rh9winehq.i686.rpm /tmp

This is for Red Hat 9, of course move the one that is for your operating system.

install using this command:

rpm -ivh wine-20030508-1rh9winehq.i686.rpm

That's It!

When Wine is installed it will create a directory structure that looks like this:

/usr/share/wine-c
autoexec.bat
config.sys
My Documents
Program Files
windows

You can see that under the wine-c directory is a basic windows system imitation. This is Drive "C" in your Wine config file. Wine imitates the directory structure of a Windows machine to get it all to work. Your programs that you install on the "C" drive will go into this "Program Files" directory.

Test Wine with this command to run notepad:

wine /usr/share/wine-c/windows/system/notepad.exe

Wine from a Terminal

Once Wine is installed you can run it by following this procedure.

First mount the CDROM that you are going to use. This is done by opening a terminal and typing:
mount /dev/cdrom

Once the CDROM is mounted, view the contents of the CDROM to find the exact name of the .exe program that runs the CD. This can be done by typing:
cd /mnt/cdrom

You will now be on the CDROM and if you type:
ls

You will see the contents of the CDROM. There will be a file with a .exe
extension on it (example:linux+.exe). Type the command Wine and follow
it with the name of the exe file on the CDROM, example:
wine linux+.exe

That will start the program and you can then run the training CD. Wine should be ready to run the CD.

Installing Programs in the Terminal

Let's say you want to install Office 2000 on your Linux machine. You would mount the CDROM as in the previsous page and then you would start the installation by typing:

wine /mnt/cdrom/SETUP.EXE

This will begin the setup process of the Office 2000 program. You will have the choice where to install the program. If you install the program in the "C" drive it will be installed at this location:

/usr/share/wine-c/Program Files/Office/

When you look at the config file on the next page you will see that Wine sets up drives:

Drive A = Floppy
Drive C = /usr/share/wine-c
Drive D = /mnt/cdrom
Drive E = /tmp
Drive F = a user's Home directory for example /home/fred
Drive Z = /

This helps you know where you are setting up each program installation.

Config File

Your config file is found in each user's directory. For example use these commands:

cd ~
cat .wine/config

[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Serial" = "87654321"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/usr/share/wine-c"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Drive Z]
"Path" = "/"
"Type" = "network"
"Label" = "Root"
"Filesystem" = "win95"

 

 

Tech Manuals

"Linux Trained" Shirts

$12.95


Linux Training
We write all of our training.

Linux Commands
Samba
NFS
Log Files
Firewalls
Hardware Administration
SSH
User Admin
Subnetting
Routers


Zaurus with Linux Training $299.95

Build a Computer
Now on DVD
$12.95


Packages

Linux SuperPack
You get 52 CDs, 1 DVD, 3 Books and a Free Shirt.
Only $299.95

Take a Look at this Training Package
4000 Pages on CD
728 Pages in Books
14 Hours of Linux Training with Flash
and Audio!
1 Hour of Training on DVD

2 Day Weekend Training Classes

3 Day
Training Classes




Linux Books


We write our own Books.
$6.95-$15.95


OpenOffice in
5 Minutes


308 Page Book and OpenOffice 1.2
$15.95


10 Point Security Check for Linux Systems
$6.95

Linux Administrator Manual
$15.95

New! Multimedia
The books covers Gimp, Audacity, Dia, K3B and other programs that relate to multimedia. $15.95

Build a FTP Server
$5.95

Store and Info

specials

best sellers

new items

books

contact us

Using Wine for CDs

 
 
 
 
© 2003-2005 SpiderTools.com

Linux is a registered trademark of Linux Torvalds. All other trademarks are trademarks of their respective owners.
Site Design By:
CyberMontana Inc.