Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 05-26-07   #1 (permalink)
.
 
Chipp's Avatar
 
intel ati

Join Date: Dec 2004
Location: At Rehersal
Posts: 14,142
Blog Entries: 28

FAQs Submitted: 18
Folding Team Rank: 240
Hardware Reviews: 3
Trader Rating: 9
Default [FAQ] Installing Wine

Wine: An introduction and Installation Guide

Undoubtedly, when you migrated to your new linux installation, there were programs you used on Windows that you cannot find a suitable substitute for in linux programs. However, all hope is not lost. There is a program called Wine, which installs on linux and allows you to install and run most Windows programs in a linux environment.

There are several ways you can get Wine. Depending on your distro, you may have many different package management programs available to you. In this guide, I will cover installing Wine from a console with both APT, Yum, and Slackware.

Installing with APT

If you have APT available to you, you'll need to start by opening a console. To run APT, you'll need to be root. However, to prevent you from accidentally doing damage to your system, we will use sudo to only run a single command as root.

We need to add Wine's repositories to APT, so it is able to download the files neded to install Wine.

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Use one of the following commands, depending on your distribution with APT: (Commands from winehq.org)

For Ubuntu Feisty (7.04):
sudo wget http://wine.budgetdedicated.com/apt/....d/feisty.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Edgy (6.10):
sudo wget http://wine.budgetdedicated.com/apt/...st.d/edgy.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Dapper (6.06):
sudo wget http://wine.budgetdedicated.com/apt/....d/dapper.list -O /etc/apt/sources.list.d/winehq.list

For Debian Etch (4.0):
sudo wget http://wine.budgetdedicated.com/apt/...st.d/etch.list -O /etc/apt/sources.list.d/winehq.list

And to make sure the repos are enabled, we need to update APT.

sudo apt-get update

Now that you have the repositories enabled and APT knows where to get the files from, it's time to install Wine. It's really not terribly difficult.

sudo apt-get install wine


Now that Wine is installed, go ahead and jump down to the Using Wine section.

Installing with Yum
If you are using RedHat or Fedora, you will want to use Yum to install Wine as it is an incredibly simple process. All you need to do is run

su

And then

yum install wine


You're done! Now check out the Using Wine section.

Installing with Slackware
These instructions are from dangerousHobo, thankyou!
First you need to update glibc from 2.3 to 2.5. You can download the three packages you need here.

ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz
ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz
ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz

Install them by typing: installpkg glibc-*.tgz
then you can install wine.
http://sourceforge.net/project/showf...ackage_id=6301
and install that with: installpkg wine*.tgz

Now you can go ahead and configure.
Using Wine
So, now you've got Wine installed, but, how in the world do you get it to do anything? First, you need to know that Wine makes a “clone” of a Windows system, including C, a Windows folder, Program Files, My Documents, and anything else that a program would need to install itself. These are all accessible from your Home folder.

Before you start using Wine, you'll need to configure it. To do so, run

winecfg

Most of the settings here are self-explanatory. One thing to note is that though the default version of Windows is 2000, many programs work better with Windows 98 set, so keep that in mind if you are having issues. Once Wine is configured, you can start using it. Below are some basic Wine commands for you to start playing with. Most applications install Start Menu entries that appear in your desktop environment's Application menu, however, you can also launch programs manually. These are also useful for running programs that do not have installers, or running the installers themselves.

Running a .exe file
wine /yourlocation/program.exe

Accessing the Control Panel
wine control

Menu to uninstall programs
uninstaller

Running a .msi file (program installer)
wine msiexec /i /yourlocation/file.msi


That's it! You've now installed Wine and you hopefully have a basic idea of how to use it. If you ever get lost, helpful resources include www.winehq.org, as well as Google. Thank you for reading, and

System: The Production Box
CPU
Intel E2160 @ 3.0ghz (lapped up to 1200 grit)
Motherboard
Abit IP35-E
Memory
2x1gb OCZ Plat Rev. 2 DDR2
Graphics Card
ATI X1900XT
Hard Drive
120gb Hitatchi Deskstar IDE
Sound Card
E-Mu 0404 USB
Power Supply
CoolerMaster RM-500
Case
CoolerMaster Centruion 5
CPU cooling
Ultra90 (lapped) and Sanyo Denki 92mm
GPU cooling
Zalman VF900
OS
Windows Vista x64
Monitor
Viewsonic VE175b

Last edited by Chipp : 06-01-07 at 03:37 PM.
Chipp is offline I fold for Overclock.net Overclocked Account Chipp's Gallery   Reply With Quote
Old 05-28-07   #2 (permalink)
Intel Overclocker
 
mariogreymist's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Dark Side of the Moon
Posts: 240

Rep: 15 mariogreymist Unknown
Unique Rep: 14
Trader Rating: 0
Default

Chipp, first off, thanks for doing that for Slackware.

Secondly, I get the following message when I run winecfg:

wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60edc103 (thread 0009), starting debugger...
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x60edc103).


That seems serious.
__________________
Anonymous does not forgive.

"Deciding between a Republican and a Democrat is like being picky about the flavor of the Kool-aid that Jim Jones is offering you." - me

Quote:
A good day ain't got no rain. A bad day's when I lie in bed and think of things that might have been.
Paul Simon

System: Does the trick
CPU
Core 2 Duo E6600 @3.08Ghz
Motherboard
MSI P6n SLI 650i
Memory
2x1Gb GSkill & 2X512mb Kingston PC6400
Graphics Card
EVGA 8800GTS 320
Hard Drive
WD 250GB SATA 7200RPM + Seagate 7200.10 80gb
Power Supply
Mad Dog 550
Case
Antec Sonata II
CPU cooling
Zalman 7000 W adapter
GPU cooling
Stock
OS
Vista home premium 64
Monitor
37' Westinghouse 1080P hdtv
mariogreymist is offline   Reply With Quote
Old 05-28-07   #3 (permalink)
.
 
Chipp's Avatar
 
intel ati

Join Date: Dec 2004
Location: At Rehersal
Posts: 14,142
Blog Entries: 28

FAQs Submitted: 18
Folding Team Rank: 240
Hardware Reviews: 3
Trader Rating: 9
Default

Quote:
Originally Posted by mariogreymist View Post
Chipp, first off, thanks for doing that for Slackware.

Secondly, I get the following message when I run winecfg:

wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60edc103 (thread 0009), starting debugger...
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x60edc103).


That seems serious.
Hobo could probably help you more with that one that I could. I don't even know what version of glibc ships with Slack, let alone which versions are needed for Wine. :

System: The Production Box
CPU
Intel E2160 @ 3.0ghz (lapped up to 1200 grit)
Motherboard
Abit IP35-E
Memory
2x1gb OCZ Plat Rev. 2 DDR2
Graphics Card
ATI X1900XT
Hard Drive
120gb Hitatchi Deskstar IDE
Sound Card
E-Mu 0404 USB
Power Supply
CoolerMaster RM-500
Case
CoolerMaster Centruion 5
CPU cooling
Ultra90 (lapped) and Sanyo Denki 92mm
GPU cooling
Zalman VF900
OS
Windows Vista x64
Monitor
Viewsonic VE175b
Chipp is offline I fold for Overclock.net Overclocked Account Chipp's Gallery   Reply With Quote
Old 05-28-07   #4 (permalink)
Intel Overclocker
 
mariogreymist's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Dark Side of the Moon
Posts: 240

Rep: 15 mariogreymist Unknown
Unique Rep: 14
Trader Rating: 0
Default

Thanks, I just asked him.

I figured out what it means, but the fix I will need some help with.
__________________
Anonymous does not forgive.

"Deciding between a Republican and a Democrat is like being picky about the flavor of the Kool-aid that Jim Jones is offering you." - me

Quote:
A good day ain't got no rain. A bad day's when I lie in bed and think of things that might have been.
Paul Simon

System: Does the trick
CPU
Core 2 Duo E6600 @3.08Ghz
Motherboard
MSI P6n SLI 650i
Memory
2x1Gb GSkill & 2X512mb Kingston PC6400
Graphics Card
EVGA 8800GTS 320
Hard Drive
WD 250GB SATA 7200RPM + Seagate 7200.10 80gb
Power Supply
Mad Dog 550
Case
Antec Sonata II
CPU cooling
Zalman 7000 W adapter
GPU cooling
Stock
OS
Vista home premium 64
Monitor
37' Westinghouse 1080P hdtv
mariogreymist is offline   Reply With Quote
Old 05-29-07   #5 (permalink)
Programmer
 
hereonyourown's Avatar
 
intel nvidia

Join Date: Jul 2006
Location: Dover, UK
Posts: 1,047

Rep: 85 hereonyourown is acknowledged by some
Unique Rep: 67
Trader Rating: 0
Default

nicely done Chipp! very useful. I wonder if this WINE also support DSL (Damn Small Linux) because I can't seem to find anything about it.

System: Mac Mini
CPU
1.83GHz Intel Core 2 Duo
Motherboard
Original
Memory
1GB of 667MHz DDR2 SDRAM (PC2-5300)
Graphics Card
Intel GMA950 graphics processor with 64MB of DDR2
Hard Drive
80GB 5400-rpm Serial ATA hard disk drive
Sound Card
Original
Power Supply
Original
Case
Original
CPU cooling
Original
GPU cooling
Original
OS
Mac OS X v10.5 Leopard
Monitor
Apple HD Display 23"
hereonyourown is offline   Reply With Quote
Old 05-30-07   #6 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,478

FAQs Submitted: 7
Folding Team Rank: 396
Trader Rating: 0
Default

Wine for Slackware 11:

First you need to update glibc from 2.3 to 2.5. You can download the three packages you need here.

ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz
ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz
ftp://slackware.oregonstate.edu/pub/...2.5-i486-2.tgz

Install them by typing: installpkg glibc-*.tgz
then you can install wine.
http://sourceforge.net/project/showf...ackage_id=6301
and install that with: installpkg wine*.tgz

Then you can type winecfg.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 05-30-07   #7 (permalink)
Linux Lobbyist
 
Wheezy Baby's Avatar
 
amd nvidia

Join Date: May 2006
Location: ./
Posts: 2,722

Rep: 168 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 129
FAQs Submitted: 1
Folding Team Rank: 1997
Hardware Reviews: 13
Trader Rating: 4
Default

Quote:
Originally Posted by hereonyourown View Post
nicely done Chipp! very useful. I wonder if this WINE also support DSL (Damn Small Linux) because I can't seem to find anything about it.
To my knowledge, Wine is not distro-dependable. Do you know what kind of installer is used by DSL? Or what it is based off of?
__________________

Help me shop for the holidays:
FS: SB Live 7.1 PCI |
Xbox and 360 Games


..Gaming on linux, more possible every day
..


Need help with linux?
Check the FAQ Directory or Make your own thread



System: ::: Linux Gaming Rig :::
CPU
AMD Athlon X2 BE-2400
Motherboard
Biostar A770
Memory
G.Skill 2x2GB DDR2-800
Graphics Card
eVGA GeForce 8800GS
Hard Drive
Seagate Barracuda 320GB
Sound Card
SoundBlaster Live! 7.1
Power Supply
Silverstone ST400 400w
Case
Antec Three Hundred
CPU cooling
Rosewill RCX-Z940-SL
GPU cooling
Stock
OS
Ubuntu 8.04 (No Windows)
Monitor
Asus VW223T 22" Wide
Wheezy Baby is offline I fold for Overclock.net Wheezy Baby's Gallery   Reply With Quote
Old 05-30-07   #8 (permalink)
.
 
Chipp's Avatar
 
intel ati

Join Date: Dec 2004
Location: At Rehersal
Posts: 14,142
Blog Entries: 28

FAQs Submitted: 18
Folding Team Rank: 240
Hardware Reviews: 3
Trader Rating: 9
Default

Quote:
Originally Posted by Wheezy Baby View Post
To my knowledge, Wine is not distro-dependable. Do you know what kind of installer is used by DSL? Or what it is based off of?
It's a Debian based distro, and DSL has included scripts to install APT, if you wanted to go that route.

System: The Production Box
CPU
Intel E2160 @ 3.0ghz (lapped up to 1200 grit)
Motherboard
Abit IP35-E
Memory
2x1gb OCZ Plat Rev. 2 DDR2
Graphics Card
ATI X1900XT
Hard Drive
120gb Hitatchi Deskstar IDE
Sound Card
E-Mu 0404 USB
Power Supply
CoolerMaster RM-500
Case
CoolerMaster Centruion 5
CPU cooling
Ultra90 (lapped) and Sanyo Denki 92mm
GPU cooling
Zalman VF900
OS
Windows Vista x64
Monitor
Viewsonic VE175b
Chipp is offline I fold for Overclock.net Overclocked Account Chipp's Gallery   Reply With Quote
Old 05-30-07   #9 (permalink)
4.0ghz
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 5,576

Rep: 408 Melcar is a proven memberMelcar is a proven memberMelcar is a proven memberMelcar is a proven memberMelcar is a proven member
Unique Rep: 275
Trader Rating: 0
Default

Just build it from source.
__________________
Honos et Potestas



System: Fun Box
CPU
Athlon X2 4000+ @ 3.0GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD3850 512MB (800/1000)
Hard Drive
160 SATAII Barracuda
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu
Monitor
Viewsonic Q20wb (20" WS)
Melcar is offline Overclocked Account   Reply With Quote
Old 05-30-07   #10 (permalink)
Linux Lobbyist
 
Wheezy Baby's Avatar
 
amd nvidia

Join Date: May 2006
Location: ./
Posts: 2,722

Rep: 168 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 129
FAQs Submitted: 1
Folding Team Rank: 1997
Hardware Reviews: 13
Trader Rating: 4
Default

Quote:
Originally Posted by Chipp View Post
It's a Debian based distro, and DSL has included scripts to install APT, if you wanted to go that route.
Yeah do that, much simpler and APT is very good.

Quote:
Originally Posted by Melcar View Post
Just build it from source.
Do this only if you are up to it.
__________________

Help me shop for the holidays:
FS: SB Live 7.1 PCI |
Xbox and 360 Games


..Gaming on linux, more possible every day
..


Need help with linux?
Check the FAQ Directory or Make your own thread



System: ::: Linux Gaming Rig :::
CPU
AMD Athlon X2 BE-2400
Motherboard
Biostar A770
Memory
G.Skill 2x2GB DDR2-800
Graphics Card
eVGA GeForce 8800GS
Hard Drive
Seagate Barracuda 320GB
Sound Card
SoundBlaster Live! 7.1
Power Supply
Silverstone ST400 400w
Case
Antec Three Hundred
CPU cooling
Rosewill RCX-Z940-SL
GPU cooling
Stock
OS
Ubuntu 8.04 (No Windows)
Monitor
Asus VW223T 22" Wide
Wheezy Baby is offline I fold for Overclock.net Wheezy Baby's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 01:11 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.39164 seconds with 8 queries