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)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
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: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD

Last edited by Chipp : 06-01-07 at 02:37 PM
Chipp is offline 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)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
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: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD
Chipp is offline 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, Kent, UK
Posts: 1,355

Rep: 101 hereonyourown is acknowledged by manyhereonyourown is acknowledged by many
Unique Rep: 81
Trader Rating: 1
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: PianoNoire
CPU
Intel Core 2 Duo E8500
Motherboard
DFI LANPARTY JR P45-T2RS
Memory
OCZ Blade Series 4GB DDR2 PC2-8500C5
Graphics Card
Sparkle 9800GT SX98GT512D3L-NM
Hard Drive
Western Digital Black 500GB
Power Supply
Enermax EG285SX-VB
Case
Piano Black Media Center MicroATX
CPU cooling
Scythe Shuriken Rev.B
GPU cooling
Stock
OS
Microsoft Windows 7 RC
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,485

Rep: 409 dangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven member
Unique Rep: 215
FAQs Submitted: 7
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 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,833

Rep: 172 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 133
FAQs Submitted: 1
Hardware Reviews: 13
Trader Rating: 5
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?
__________________

..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 2x1GB 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 Wheezy Baby's Gallery   Reply With Quote
Old 05-30-07   #8 (permalink)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
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: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD
Chipp is offline Overclocked Account Chipp's Gallery   Reply With Quote
Old 05-30-07   #9 (permalink)
Angry Linux Gamer
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 6,242

Rep: 510 Melcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famous
Unique Rep: 344
Trader Rating: 1
Default

Just build it from source.

System: Magicbox
CPU
Phenom X4 9650 @ 3GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD4850 @ 750/1100
Hard Drive
WD 640GB SATAII / Seagate 160GB SATAII
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Kubuntu 64 bit / Windows 7 64 bit
Monitor
Acer X193W+BD 19" WS LCD (1680x1050)
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,833

Rep: 172 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 133
FAQs Submitted: 1
Hardware Reviews: 13
Trader Rating: 5
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.
__________________

..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 2x1GB 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 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 -5. The time now is 03:08 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

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