Hi, I was wondering if I can get some help?
I have wine-staging installed and for the most part it works. I'm very new to Wine and don't entirely get how it works.
I installed wine using the command line and added the appropriate repository as the Ubuntu Software Centre installed a much older version than I wanted.
1) If I type wine at the command line I get "command not found" so I have to run everything using /opt/wine-staging/bin/wine .....
This works but I would rather be able to just type "wine <application>" and have it run. How do I fix this?
2) I have programs installed in the default drive_c and there are desktop shortcuts which work when I double click on them
How do I know whether they are running wine or wine64 ?
How would I set a default "wine"? or a default wine for an app.
3) I have downloaded winetricks to have a look at but when I run it I get "wineserver not found!" how can I fix this? Knowing that I do indeed have wine installed.
I'm sure it's just down to environment variables not being set correctly but as I say I'm new and still learning.
Confused - A few Questions:
Re: Confused - A few Questions:
You haven't followed the WineHQ: Ubuntu installation Wiki!NewtSoup wrote:Hi, I was wondering if I can get some help?
I have wine-staging installed and for the most part it works. I'm very new to Wine and don't entirely get how it works.
I installed wine using the command line and added the appropriate repository as the Ubuntu Software Centre installed a much older version than I wanted.
1) If I type wine at the command line I get "command not found" so I have to run everything using /opt/wine-staging/bin/wine .....
The winehq-staging, winehq-devel and winehq-stable all install compatibility symbolic links in: /usr/bin/
Note: the hq suffix!
Alternatively just add the wine-staging package out-of-tree PATH to your (Wine) user's PATH env variable:
Code: Select all
printf '\n%s\n' 'export PATH="/opt/wine-staging/bin:${PATH}"' >>"${HOME}/.bashrc"
You explicitly have to type:NewtSoup wrote:2) I have programs installed in the default drive_c and there are desktop shortcuts which work when I double click on them
How do I know whether they are running wine or wine64 ?
How would I set a default "wine"? or a default wine for an app.
Code: Select all
wine64
You can find the native Linux .desktop launchers Wine automagically builds with:
Code: Select all
find "${HOME}/.local/share/applications/" -name '*.desktop'
This because you have the wine-staging package installed outside of your user's PATH. See my answer to 1).NewtSoup wrote: 3) I have downloaded winetricks to have a look at but when I run it I get "wineserver not found!" how can I fix this? Knowing that I do indeed have wine installed.
Reading program documentation, and any supplied Wiki's/FAQ's, is a really good habit to get into...NewtSoup wrote: I'm sure it's just down to environment variables not being set correctly but as I say I'm new and still learning.
Bob
Re: Confused - A few Questions:
Thanks for the help.
In my defence I did read the Wiki Page for installing Wine in Ubuntu
The instructions are:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get install --install-recommends winehq-staging
That's all.
And I did exactly that.
So if it installed outside my user path it wasn't of my particular doing.
I wouldn't know anything about "compatibility symbolic links"
Like I said I'm very new to this ( and Linux ) - I followed the instructions to install Wine Staging because it's the only one that makes Star Trek Online run at the moment.
I apologise for not knowing enough. My anxiety makes it hard for me to cope with walls of instruction.
I'm proud to have got as far as I have
In my defence I did read the Wiki Page for installing Wine in Ubuntu
The instructions are:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get install --install-recommends winehq-staging
That's all.
And I did exactly that.
So if it installed outside my user path it wasn't of my particular doing.
I wouldn't know anything about "compatibility symbolic links"
Like I said I'm very new to this ( and Linux ) - I followed the instructions to install Wine Staging because it's the only one that makes Star Trek Online run at the moment.
I apologise for not knowing enough. My anxiety makes it hard for me to cope with walls of instruction.
I'm proud to have got as far as I have
Re: Confused - A few Questions:
Are you sure you didn't mistakenly put wine-staging instead of winehq-staging when you actually ran that command? The reason I ask is because doing that would produce exactly the problem you're experiencing.sudo apt-get install --install-recommends winehq-staging
Re: Confused - A few Questions:
Basically then - to put that jargon in simpler terms...NewtSoup wrote:...
I wouldn't know anything about "compatibility symbolic links"
...
All the main winehq-staging package contains is shortcut links:
Code: Select all
...
/usr/bin/wine -> /opt/wine-staging/bin/wine
...
/usr/share/applications/wine.desktop -> /opt/wine-staging/share/applications/wine.desktop
...
The wine-staging package contains all the out-of-tree actual Wine binaries, libraries, manual, and desktop files.
The files are stored into this directory:
Code: Select all
/opt/wine-staging/
FYI ...
The packages are built this way... So that you can install:
- wine-devel (the Wine Development package)
- wine-staging (the Wine Staging package)
- wine-stable (the Wine Stable package)
Take a look at the Linux Filesystem Hierarchy Standard.
Code: Select all
/opt
Bob