|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
[FAQ] Installing Wine
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Me? Oh, I live here.
![]() |
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
__________________
... wherever I may roam; where I lay my head is home ... Rule #1: Obey All Rules --- E2160 with 100% Overclock - Running at 3.6ghz --- Do your part to keep Overclock.net a professional forum! Read and follow this thread!
Last edited by Chipp : 06-01-07 at 02:37 PM |
|||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Intel Overclocker
Join Date: Feb 2007
Location: Dark Side of the Moon
Posts: 240
Rep: 15
![]() Unique Rep: 14
Trader Rating: 0
|
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:
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||||
|
Me? Oh, I live here.
![]() |
Quote:
__________________
... wherever I may roam; where I lay my head is home ... Rule #1: Obey All Rules --- E2160 with 100% Overclock - Running at 3.6ghz --- Do your part to keep Overclock.net a professional forum! Read and follow this thread!
|
||||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Intel Overclocker
Join Date: Feb 2007
Location: Dark Side of the Moon
Posts: 240
Rep: 15
![]() Unique Rep: 14
Trader Rating: 0
|
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:
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||
|
Programmer
![]() |
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.
|
|||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Photography nut
![]() |
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:
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
|
||||||||||||||
|
|
|
|
#7 (permalink) | |||||||
|
Linux Lobbyist
![]() |
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?
__________________
|
|||||||
|
|
|
|
|
#8 (permalink) | |||||||||||||
|
Me? Oh, I live here.
![]() |
It's a Debian based distro, and DSL has included scripts to install APT, if you wanted to go that route.
__________________
... wherever I may roam; where I lay my head is home ... Rule #1: Obey All Rules --- E2160 with 100% Overclock - Running at 3.6ghz --- Do your part to keep Overclock.net a professional forum! Read and follow this thread!
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
Angry Linux Gamer
![]() |
Just build it from source.
__________________
CPU-Z Validation GPU-Z Validation FGLRX look out thread Linux ATI driver installation ATI Overclocking in Linux ATI open source driver installation
|
|||||||||||||
|
|
|
|
#10 (permalink) | ||||||||
|
Linux Lobbyist
![]() |
Quote:
Do this only if you are up to it.
__________________
|
||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|