Downloaded WINE, followed FAQ, still cannot find it

Questions about Wine on Linux
Locked
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

Before you install Wine, make sure that there is no previous Wine installation...
Fresh install,no WINE here

Links to binary packages for Wine for some of the major distros can be found at the WineHQ downloads page...
Downloaded and unzipped, nothing. I go into the folder and read the README text, basically go to tools, and run the wineinstall program
get this prompt "Wine Installer v1.0


We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine? Enter 'no' to build Wine without installing:
(yes/no)
yes, goes for about a few seconds and disappears, and after that, and
william@williamlaptop ~ $ wine --help
The program 'wine' is currently not installed. To run 'wine' please ask your administrator to install the package 'wine'
wine: command not found
there have been a few different things I have seen, but cannot find now, that suggest different command line things, but to no avail. This is day two of this, and don't know what to do
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

You downloaded a source tarball, not a binary package. To use that you would have to build Wine yourself, which you probably don't want to do, but if you do, don't use the wineinstall script, as it hasn't been updated in years and won't tell you about missing dependencies. Follow these instructions for building Wine: https://wiki.winehq.org/Building_Wine, or if you are on Ubuntu, follow these: https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu.

If you don't want to build Wine yourself, you need to install one of the binary packages. WineHQ builds binary packages for Fedora, Ubuntu, Debian, Mageia, and MacOSX; follow the instructions linked to from the Downloads page for whatever distro you are on. If your distro isn't listed on that page, you will have to ask your distro whether they package Wine and if so where to find the packages.
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

Ah, yes. This was the one I couldn't remember how I got there
Currently running Linux Mint, so went here https://wiki.winehq.org/Ubuntu

william@williamlaptop ~ $ sudo dpkg --add-architecture i386
[sudo] password for william:
william@williamlaptop ~ $ sudo add-apt-repository ppa:wine/wine-builds
Adding PPAs is not supported
william@williamlaptop ~
cannot get past this point
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

Ask on the Mint forum. That's a package manager issue, not a Wine issue. We have lots of Mint users, and no one else has reported that problem.
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

So at least I have it.
william@williamlaptop ~ $ wine --version
wine-1.6.2
I don't know if I should keep on this thread, or make a new one, but I tried to open an exe file with it and nothing happens
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

1.6.2 is three years old and no longer supported, so you need to upgrade. However, it should be able to run many things. What exe did you try to run and how did you try to run it? Does wine notepad work?
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

I cannot find Wine Notepad, so have no idea if it works,I would have thought it would be in the startup menu, but it doesn't show up
but another thing is what winecfg does (or doesn't do)
william@williamlaptop ~ $ winecfg
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
the program in question is RuneScape-Setup.exe
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

Try deleting ~/.wine, then run winecfg again (~/.wine should be automatically recreated when you do).

FYI, to run notepad, just open a terminal and type

Code: Select all

wine notepad 
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

Wine notepad works, by delete do you mean rm /.wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

w_houle wrote:Wine notepad works, by delete do you mean rm /.wine?
https://wiki.winehq.org/FAQ#How_do_I_wi ... llation.3F

I decided to google your "Adding PPAs is not supported" message, and found https://forums.linuxmint.com/viewtopic.php?t=196925. Is the "Linux Mint" you're using actually LMDE? If so, you need to be using the Debian packages, not the Ubuntu ones. https://wiki.winehq.org/Debian
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by Bob Wya »

w_houle wrote:Wine notepad works, by delete do you mean rm /.wine?
Technically that should be:

Code: Select all

rm -rf ~/.wine
(with recursive & force flags - run as your stock Linux user)
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

I just uninstalled wine through software manager, used the link for Debian
this is where it ended

Code: Select all

william@williamlaptop ~ $ sudo dpkg --add-architecture i386
[sudo] password for william: 
william@williamlaptop ~ $ wget https://dl.winehq.org/wine-builds/Release.key
--2017-01-07 17:29:56--  https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.56.69
Connecting to dl.winehq.org (dl.winehq.org)|151.101.56.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3140 (3.1K) [application/pgp-keys]
Saving to: ‘Release.key’

Release.key         100%[=====================>]   3.07K  --.-KB/s   in 0s     

2017-01-07 17:29:56 (17.2 MB/s) - ‘Release.key’ saved [3140/3140]

william@williamlaptop ~ $ sudo apt-key add Release.key
OK
william@williamlaptop ~ $ deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
No command 'deb' found, did you mean:
 Command 'debc' from package 'devscripts' (main)
 Command 'derb' from package 'icu-devtools' (main)
 Command 'debi' from package 'devscripts' (main)
 Command 'dwb' from package 'dwb' (main)
deb: command not found
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

Code: Select all

william@williamlaptop ~ $ deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
That's not a command. As the wiki instructions state, it's a line you need to add to /etc/apt/sources.list (if the file doesn't exist, you need to create it). On a Debian system, DISTRO is supposed to be replaced with the appropriate Debian version (wheezy, jessie, stretch or sid), but I'm not sure what you need to put there for LMDE.

You need to ask about this on the LMDE forum. I don't use a Debian-based system, so I can't really help you with this.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by Bob Wya »

@w_houle

The actual Wiki Download instructions should probably read (for simplicity's sake):

Code: Select all

sudo dpkg --add-architecture i386
wget -q https://dl.winehq.org/wine-builds/Release.key -O- | sudo apt-key add -
sudo sh -c "echo 'deb https://dl.winehq.org/wine-builds/debian/ '$(lsb_release -cs)' main'>/etc/apt/sources.list.d/winehq.list"
# Uncomment for Wheezy users only:
# sudo sh -c "echo 'deb http://ftp.de.debian.org/debian/ oldstable main'>/etc/apt/sources.list"
sudo apt-get update
sudo apt-get install winehq-devel
That should probably work on Ubuntu or Debian...
Bob
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

This is what I got
william@williamlaptop ~ $ sudo dpkg --add-architecture i386
[sudo] password for william:
william@williamlaptop ~ $ wget -q https://dl.winehq.org/wine-builds/Release.key -O- | sudo apt-key add -
OK
william@williamlaptop ~ $ sudo sh -c "echo 'deb https://dl.winehq.org/wine-builds/debian/ '$(lsb_release -cs)' main'>/etc/apt/sources.list.d/winehq.list"
william@williamlaptop ~ $ sudo apt-get update
Ign http://extra.linuxmint.com betsy InRelease
Ign http://mirrors.usinternet.com betsy InRelease
Ign http://ftp.us.debian.org jessie InRelease
Hit http://extra.linuxmint.com betsy Release.gpg
Hit http://ftp.us.debian.org jessie-updates InRelease
Hit http://mirrors.usinternet.com betsy Release.gpg
Hit http://security.debian.org jessie/updates InRelease
Hit http://extra.linuxmint.com betsy Release
Hit http://ftp.us.debian.org jessie Release.gpg
Get:1 https://content.runescape.com trusty InRelease [2,236 B]
Hit http://ftp.us.debian.org jessie Release
Hit http://mirrors.usinternet.com betsy Release
Get:2 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://ftp.us.debian.org jessie-updates/contrib amd64 Packages
Hit http://www.deb-multimedia.org jessie InRelease
Get:3 https://dl.winehq.org betsy InRelease [238 B]
Hit http://extra.linuxmint.com betsy/main amd64 Packages
Ign https://dl.winehq.org betsy InRelease
Get:4 http://ftp.us.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Get:5 http://ftp.us.debian.org jessie-updates/main i386 Packages/DiffIndex [6,916 B]
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://extra.linuxmint.com betsy/main i386 Packages
Hit http://ftp.us.debian.org jessie-updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://mirrors.usinternet.com betsy/main amd64 Packages
Get:6 http://ftp.us.debian.org jessie-updates/non-free i386 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Get:7 https://content.runescape.com trusty/non-free amd64 Packages [667 B]
Get:8 https://dl.winehq.org betsy Release.gpg [240 B]
Hit http://www.deb-multimedia.org jessie/main amd64 Packages
Ign https://dl.winehq.org betsy Release.gpg
Hit http://ftp.us.debian.org jessie-updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Hit http://mirrors.usinternet.com betsy/upstream amd64 Packages
Get:9 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:10 http://ftp.us.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://www.deb-multimedia.org jessie/non-free amd64 Packages
Hit http://ftp.us.debian.org jessie/main amd64 Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://mirrors.usinternet.com betsy/import amd64 Packages
Get:11 https://dl.winehq.org betsy Release [236 B]
Hit http://ftp.us.debian.org jessie/contrib amd64 Packages
Get:12 https://content.runescape.com trusty/non-free i386 Packages [20 B]
Hit http://www.deb-multimedia.org jessie/main i386 Packages
Hit http://ftp.us.debian.org jessie/non-free amd64 Packages
Ign https://dl.winehq.org betsy Release
Hit http://mirrors.usinternet.com betsy/main i386 Packages
Hit http://ftp.us.debian.org jessie/main i386 Packages
Get:13 https://dl.winehq.org betsy/main amd64 Packages [259 B]
Hit http://ftp.us.debian.org jessie/contrib i386 Packages
Hit http://www.deb-multimedia.org jessie/non-free i386 Packages
Ign http://extra.linuxmint.com betsy/main Translation-en_US
Hit http://mirrors.usinternet.com betsy/upstream i386 Packages
Hit http://ftp.us.debian.org jessie/non-free i386 Packages
Ign http://extra.linuxmint.com betsy/main Translation-en
Get:14 https://content.runescape.com trusty/non-free Translation-en_US [686 B]
Hit http://mirrors.usinternet.com betsy/import i386 Packages
Hit http://www.deb-multimedia.org jessie/main Translation-en
Get:15 https://dl.winehq.org betsy/main i386 Packages [258 B]
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://www.deb-multimedia.org jessie/non-free Translation-en
Hit http://ftp.us.debian.org jessie/non-free Translation-en
Get:16 https://dl.winehq.org betsy/main Translation-en_US [260 B]
Get:17 https://content.runescape.com trusty/non-free Translation-en [686 B]
Get:18 https://dl.winehq.org betsy/main Translation-en [257 B]
Get:19 https://content.runescape.com trusty/non-free Translation-en_US [686 B]
Get:20 https://dl.winehq.org betsy/main amd64 Packages [259 B]
Get:21 https://content.runescape.com trusty/non-free Translation-en [686 B]
Get:22 https://dl.winehq.org betsy/main i386 Packages [258 B]
Get:23 https://dl.winehq.org betsy/main Translation-en_US [260 B]
Get:24 https://content.runescape.com trusty/non-free Translation-en_US [686 B]
Get:25 https://dl.winehq.org betsy/main Translation-en [257 B]
Get:26 https://content.runescape.com trusty/non-free Translation-en [686 B]
Get:27 https://dl.winehq.org betsy/main amd64 Packages [259 B]
Get:28 https://dl.winehq.org betsy/main i386 Packages [258 B]
Get:29 https://content.runescape.com trusty/non-free Translation-en_US [686 B]
Get:30 https://dl.winehq.org betsy/main Translation-en_US [260 B]
Get:31 https://dl.winehq.org betsy/main Translation-en [257 B]
Get:32 https://content.runescape.com trusty/non-free Translation-en [686 B]
Get:33 https://dl.winehq.org betsy/main amd64 Packages [259 B]
Get:34 https://content.runescape.com trusty/non-free Translation-en_US [686 B]
Ign https://content.runescape.com trusty/non-free Translation-en_US
Get:35 https://dl.winehq.org betsy/main i386 Packages [258 B]
Get:36 https://content.runescape.com trusty/non-free Translation-en [686 B]
Ign https://content.runescape.com trusty/non-free Translation-en
Get:37 https://dl.winehq.org betsy/main Translation-en_US [260 B]
Get:38 https://dl.winehq.org betsy/main Translation-en [257 B]
Get:39 https://dl.winehq.org betsy/main amd64 Packages [259 B]
Err https://dl.winehq.org betsy/main amd64 Packages
HttpError404
Get:40 https://dl.winehq.org betsy/main i386 Packages [258 B]
Err https://dl.winehq.org betsy/main i386 Packages
HttpError404
Get:41 https://dl.winehq.org betsy/main Translation-en_US [260 B]
Ign https://dl.winehq.org betsy/main Translation-en_US
Ign http://mirrors.usinternet.com betsy/import Translation-en_US
Get:42 https://dl.winehq.org betsy/main Translation-en [257 B]
Ign https://dl.winehq.org betsy/main Translation-en
Ign http://mirrors.usinternet.com betsy/import Translation-en
Ign http://mirrors.usinternet.com betsy/main Translation-en_US
Ign http://mirrors.usinternet.com betsy/main Translation-en
Ign http://mirrors.usinternet.com betsy/upstream Translation-en_US
Ign http://mirrors.usinternet.com betsy/upstream Translation-en
Fetched 21.7 kB in 5s (3,803 B/s)
W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 4/Packages HttpError404

W: Failed to fetch https://dl.winehq.org/wine-builds/debia ... 6/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
william@williamlaptop ~ $ sudo apt-get install winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-devel
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by Bob Wya »

Well Clem will insist on renaming everything... rather pointlessly IMHO...
So you'll have to manually fix the sources file:

Code: Select all

sudo sed -i 's/betsy/jessie/g' /etc/apt/sources.list.d/winehq.list
Bob
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

It would look like it had worked. I used the code and it looked like it would work, but when I went to my cd to run the install.exe, it did nothing. By default it says to open with VLC media player, under it says open with... and there's a lot of options, but wine is not an option. I could enter a custom command, but not Wine, so if that last bit put Wine on... I don't know how to find it
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by dimesio »

Does it work when you run it from the command line? https://wiki.winehq.org/Wine_User%27s_G ... mmand_line
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

wasn't working, so I went with something a little earlier on the page
william@williamlaptop ~ $ wine --version
The program 'wine' is currently not installed. To run 'wine' please ask your administrator to install the package 'wine'
wine: command not found
so I went through all that, and still didn't get it
w_houle
Level 2
Level 2
Posts: 15
Joined: Thu Jan 05, 2017 5:52 pm

Re: Downloaded WINE, followed FAQ, still cannot find it

Post by w_houle »

Tried it again, and finally got some traction
william@williamlaptop ~ $ wine --version
wine-2.0-rc3
now it's just a matter of getting it to work
Locked