I am trying to install Wine on Debian 8 using these instructions:
sudo dpkg --add-architecture i386
This works.
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
This works.
deb https://dl.winehq.org/wine-builds/debian/ JESSIE main
This gives me:
-su: deb: command not found
Then, if I try to finish install with:
sudo apt-get install winehq-devel
I get:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package winehq-devel
Best Answer
The
deb
line isn't a command, it's a configuration line you need to add, either to/etc/apt/sources.list
, or better, to a new file in/etc/apt/sources.list.d
(say/etc/apt/sources.list.d/winehq.list
. Once you've done that,should work.
Instead of doing that though, you could install the Debian-maintained package. To get a recent version of Wine, add
deb http://http.debian.net/debian jessie-backports main
to/etc/apt/sources.list
, then runfollowed by either
for the current stable release, 1.8.4 as of October 2016, or
for the latest development release (after it's migrated to Debian testing), 1.9.19 as of October 2016.