ID:62862
 
Keywords: install, wine
This guide is intended for Ubuntu 9.04 and wine-1.1.18

Step 1: Open your terminal and run the following:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Step 2: Depending on which version of Ubuntu you are using... run the following command:
For Ubuntu Jaunty (9.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/ jaunty.list -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Intrepid (8.10):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/ intrepid.list -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Hardy (8.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/ hardy.list -O /etc/apt/sources.list.d/winehq.list


Step 3: Run this in the terminal:
sudo apt-get update
sudo apt-get install wine


Step 4: Run this in the terminal:
winecfg
This will begin the initial setup of WINE, once a window opens, it's safe to close it.


WINE is now installed.
Small mistake, pointed by Stephen001 to me but I'd thought I'd make a post on his behalf, in Step 3 the link provided to the Terminal consists of a space right after the "/" thus hitting me with Terminal errors, "Invalid OpenPGP"-something.

On a side-note, yay for WINE, I got it working and I can now use BYOND Virtually from my Virtual Ubuntu Interprid.
I've been looking at it, and I still don't understand what you mean, mind being a bit more clear? :O
Flame Sage wrote:
I've been looking at it, and I still don't understand what you mean, mind being a bit more clear? :O

It seems to have been fixed now, thank you.
Err, I followed your instructions, got an error at step three: "E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/winehq.list"

Now I get this message when trying to open my Add/Remove thingy: "Failed to check for installed and available applications

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'." Synaptic is also broken...
Err, I followed your instructions, got an error at step three: "E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/winehq.list"

Now I get this message when trying to open my Add/Remove thingy: Failed to check for installed and available applications

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

Edit: Fixed, had to manually remove the thing from the sources list. Not sure if this was just my problem alone, probably was.
I think I have a problem with step 2
Ubuntu 9.04 - my Ubuntu ver
I get this

--2009-10-18 16:17:58-- http://wine.budgetdedicated.com/apt/sources.list.d/
Resolving wine.budgetdedicated.com... 81.171.111.247
Connecting to wine.budgetdedicated.com|81.171.111.247|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2425 (2.4K) [text/html]
Saving to: `/etc/apt/sources.list.d/winehq.list'

100%[======================================>] 2,425 --.-K/s in 0.001s

2009-10-18 16:17:59 (1.63 MB/s) - `/etc/apt/sources.list.d/winehq.list' saved [2425/2425]

--2009-10-18 16:17:59-- http://jaunty.list/
Resolving jaunty.list... failed: Name or service not known.
wget: unable to resolve host address `jaunty.list'
FINISHED --2009-10-18 16:17:59--
Downloaded: 1 files, 2.4K in 0.001s (1.63 MB/s)

---------------------
Step 3
command =sudo apt-get update

result=
E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/winehq.list

command=sudo apt-get install wine

result=E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/winehq.list
E: The list of sources could not be read.

--------------------------------
Step 4
command = winecfg
result =
The program 'winecfg' is currently not installed. You can install it by typing:
apt-get install wine
bash: winecfg: command not found
-----------------------------
Help Please
If you're using Linux 9.10 like I am, for step 2 use the following command:

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/ lenny.list -O /etc/apt/sources.list.d/winehq.list

This will fix the "E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/winehq.list" error, at least it fixed it for me.


Scratch that, it doesn't work now...
There's always the offical guide: http://www.winehq.org/download/deb
I guess you all just copied the text with the space in it. There isn't supposed to be a space between the sources.list.d/ and the jaunty.list or whatever version you have.
after i wrote sudo apt-get install wine in the terminal it started installing and i closed the terminal at 2% what happens now is it canceled ?? oh and please explain in a simple way am new to ubuntu :)

and when i type it agin it gives me this message :
ghaith@ghaith-laptop:~$ sudo apt-get install wine
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ghaith@ghaith-laptop:~$
TY IS THERE A WAY TO GET LESS LAAAAAAAAAAAAAAG!?