ID:751722
 
I think I have a problem with step 2 Step 1 gives me an output "OK" 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
Those installation instructions are fairly old. My guess is that at the time, only a beta version of wine worked, so special instructions (step 1) was needed.

All you should need to do to install wine on Ubuntu is run the following commands:
sudo apt-get update
sudo apt-get install wine


There's a decent chance you might need to undo what was done in step one.
In response to Stupot
how do I undo ;? can I gget the instructions from the beginning .. thnk u
I am having A problem with my install/remove manager. it gives some err wen I start it . Thnk u
In response to Getenks
hmm, are you sure you did everything in step one?

These instructions are straight from http://www.winehq.org/download/deb

Alternative command Line Instructions for Installing Wine:

It is also possible to add the Wine repositories and install via the command line, as follows. These may be useful on Kubuntu, Xubuntu, and other Ubuntu derivatives.

First, open a terminal window (Applications->Accessories->Terminal). Then add the repository's key to your system's list of trusted APT keys by copy and pasting the following into your terminal:

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

Next, add the repository to your system's list of APT sources:

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

Then update APT's package information by running 'sudo apt-get update'. You can now install Wine normally or by typing 'sudo apt-get install wine' into the terminal.
In response to Getenks
Actually, could you give the result of this command:

cat /etc/apt/sources.list.d/winehq.list
In response to Stupot
Stupot wrote:
Actually, could you give the result of this command:

cat /etc/apt/sources.list.d/winehq.list
This is the result
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /apt/sources.list.d</title>
</head>
<body>
<h1>Index of /apt/sources.list.d</h1>
<table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[DIR]"></td><td><a href="/apt/">Parent Directory</a></td><td>&nbsp;</td><td align="right"> - </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="dapper.list">dapper.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">151 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="edgy.list">edgy.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">139 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="etch.list">etch.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">160 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="feisty.list">feisty.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">181 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="gutsy.list">gutsy.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">181 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="hardy.list">hardy.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">180 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="intrepid.list">intrepid.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">190 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="jaunty.list">jaunty.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">192 </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="lenny.list">lenny.list</a></td><td align="right">04-Sep-2009 00:50 </td><td align="right">164 </td></tr>
<tr><th colspan="5"><hr></th></tr>
</table>
<address>Apache/2.2.11 (Ubuntu) Server at wine.budgetdedicated.com Port 80</address>
</body></html>


In response to Getenks
Ouch.
Can you put that in <code> tags please?
In response to Stupot
Stupot wrote:
Alternative command Line Instructions for Installing Wine:
result
root@george-laptop:~#

The Start Terminal Window

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
result
root@george-laptop:~# wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Next I dont know what to do


Next, add the repository to your system's list of APT sources:

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

Then update APT's package information by running 'sudo apt-get update'. You can now install Wine normally or by typing 'sudo apt-get install wine' into the terminal.
In response to Getenks
Thank You All
Now it works ; I started BYOND with Wine.. :)

Last Request - How to Start a programm with Wine using commmand in terminal ?
In response to Getenks
Next time, use google. :)

In your terminal:
<code> wine my_program.exe</code>
In response to Flame Sage
sure Thanks :)