LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2017, 09:40 PM   #1
matrixebiz
Member
 
Registered: Jun 2011
Posts: 48

Rep: Reputation: Disabled
Help install wine on Debian 8


Hello, can I get the easiest working instructions for installing Wine please.
I've tried;
sudo apt-get update
sudo apt-get install wine

but I'm not sure what that does because when I try to run a windows executable, the system asks me what I want to use to open the file.

I had it installed before using some of the below but now I've tried it again and it just wont install.

dpkg --add-architecture i386
apt-get install software-properties-common
apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
wget https://dl.winehq.org/wine-builds/Release.key && apt-key add Release.key
apt-get install apt-transport-https
Next add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:

deb https://dl.winehq.org/wine-builds/debian/ jessie main

apt-get update
apt-get install --install-recommends winehq-stable

apt update && apt install winehq-stable
 
Old 08-18-2017, 12:18 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,482

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Did you get any errors? You have to run wine-setup to build the directory tree, and to add Windows programs. After the Windows program is added to wine, you just run:
Code:
$ wine program.exe
Or maybe it's wine setup without the dash.
 
Old 08-18-2017, 06:19 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 527

Rep: Reputation: 246Reputation: 246Reputation: 246
According to https://wiki.debian.org/Wine there are a couple of lines involved in installing wine, especially because of the need for multilib support on 64-bit machines.

Check your system's architecture well before you proceed:
Code:
dpkg --print-architecture
 
Old 08-18-2017, 08:40 AM   #4
matrixebiz
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
Hello, I have amd64 and when I run wine myfile.exe I get an error: Bad EXE format for Z:\root\Downloaded\myfile.exe

When I run the : apt-get install --install-recommends winehq-stable after adding the repository, some of the jessie files say 404 error

EDIT: I'm going to start over. Which guide should I use?

https://wiki.winehq.org/Debian
https://wiki.debian.org/Wine

Last edited by matrixebiz; 08-18-2017 at 08:50 AM.
 
Old 08-18-2017, 09:41 AM   #5
matrixebiz
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
So the error I get trying the install is W: Fetch https://dl.wine... httpError404

Last edited by matrixebiz; 08-18-2017 at 10:22 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to install Wine on Debian joboy Linux - Software 8 06-21-2016 12:08 PM
Install Wine on Debian joboy Linux - Software 5 04-12-2016 02:49 AM
Need help with Debian Wine install please lend27 Linux - Software 2 04-14-2015 03:43 PM
[SOLVED] How to install Wine in Debian ? Bhanu999 Linux - Software 6 06-14-2013 05:55 AM
[SOLVED] Debian Squeeze - Can't install wine. Zaraphrax Linux - Software 59 01-27-2011 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration