Page 1 of 1

[solved] Where is Wine

Posted: Sun Jan 13, 2013 3:37 pm
by KeesA
Hallo forum,

I want to make a batchfile to start wxDev-cpp from a terminal.
To do so, I have to locate Wine.
I now have:

#!/bin/bash

cd ~/.wine/drive_c/ProgramFiles/Dev-Cpp/
./devcpp.exe

I found this in a tutorial on a website, but it don't work.
I downloaded Wine from the software center of Mint14 but I don't know where it is and what I must do to make the batchfile open the program.

tnx

Re: where is Wine

Posted: Sun Jan 13, 2013 4:26 pm
by KeesA
I deinstalled Wine from the softwarecenter and installed it out of the terminal.
with: sudo apt-get install wine
Then: chmod +x ./devcpp
Don't know why but the turorial said so.
Now it works!
Note that ProgramFiles is without a space in my Wine/Windows.

Re: where is Wine

Posted: Sun Jan 13, 2013 5:23 pm
by bigj231
To find where a program is stored, use the 'which' command. it will make your scripting infinitely less painful.

The syntax is:

Code: Select all

which wine

Re: where is Wine

Posted: Sun Jan 13, 2013 7:13 pm
by KeesA
Thank you, I would never find out myself.
How do people know all this?
Is there a book for or something online?

Re: where is Wine

Posted: Fri Jan 18, 2013 5:01 pm
by bigj231
I actually found it by googling for a solution to a problem I was having. I was trying to make a script, and it had the same problem yours had.

Re: where is Wine

Posted: Fri Jan 18, 2013 8:05 pm
by Essexraptor
KeesA wrote:Thank you, I would never find out myself.
How do people know all this?
Is there a book for or something online?

Google it.... try several different search wordings

join and read forums like this ! (also use the search box)

:)

Re: where is Wine

Posted: Fri Jan 18, 2013 9:36 pm
by KeesA
I found a site explaining and teaching the use of the terminal and made some progress.

Re: where is Wine

Posted: Fri Jan 18, 2013 9:58 pm
by Gandalf the White
As a fellow Newbie, I have just installed Wine.

Here is how I did it (no offense to the local Gurus).

I assume you have updated and upgraded all your Cinnamon files via your Terminal.
Open your Synaptic Package Manager.
Click on the Search button.
Enter wine in the new popup window.
Click on this new window's Search button.
You might have to slide down the window containing all the packages since the "w" in wine will be at the bottom of the list.
Chick on the S column next to wine package.
You'll want to install all the associated packages.
You should be able take it from here. :P

Sorry, if this procedure is a little off. My memory is not what it used to be. :oops:


Good luck...Gandalf

Re: where is Wine

Posted: Sat Jan 19, 2013 6:22 am
by KeesA
Hallo Gendalf,
Thanks for the suggestion.
When I found the Wine-packages in Synaptic, I saw that I wanted to delete 1 associated package (the one with the Microsoft Browser) and wanted to install 1 package (the one with the debugger)
Al the associated Wine packages are of the most recent version 1.4.
What I don't understand is that when I click the green field on the left, the options are limited to:

re-install
remove
remove completely

Mark for upgrade is grey and I cannot give it the focus to select this option.
Why is this so, and does it mean I can't upgrade Wine anyhow in the future?

Re: where is Wine

Posted: Sat Jan 19, 2013 10:45 am
by Gandalf the White
KeesA wrote:Hallo Gendalf,
Thanks for the suggestion.
When I found the Wine-packages in Synaptic, I saw that I wanted to delete 1 associated package (the one with the Microsoft Browser) and wanted to install 1 package (the one with the debugger)
Al the associated Wine packages are of the most recent version 1.4.
What I don't understand is that when I click the green field on the left, the options are limited to:

re-install
remove
remove completely

Mark for upgrade is grey and I cannot give it the focus to select this option.
Why is this so, and does it mean I can't upgrade Wine anyhow in the future?
When re-install is selectable, I think that means that wine is already available on your system.
Worse come to worse, you can always reinstall it. Can't see that that would hurt anything, but I am a newbie. :wink:
I think you can find wine in your Menu by selecting All > Winetricks (Install applications on Wine).

As for that last part I have not idea.

Good Luck

Re: where is Wine

Posted: Sun Jan 20, 2013 2:22 am
by TheDynamicHamza21
KeesA wrote: Mark for upgrade is grey and I cannot give it the focus to select this option.
Why is this so, and does it mean I can't upgrade Wine anyhow in the future?
Yes you can upgrade. There are two ways to upgrade a program; wait until it becomes available in repositories,which can take weeks to months or never. The second way is to add a ppa to your software sources to upgrade. Here's how to install the lastest version of wine on Mint.

http://www.noobslab.com/2012/12/install ... buntu.html

Re: where is Wine

Posted: Sun Jan 20, 2013 2:33 am
by Gandalf the White
Today, I found an upgrade available via Synaptic. Version 1.5, I think.

Re: where is Wine

Posted: Mon Jan 21, 2013 6:49 am
by KeesA
I think I will wait for an official upgrade.
All works fine, so their is no special need to upgrade but I was wondering why this option is not checkable at the moment in Synaptic.
The use of ppa's is on some Linux-boards discouraged.
Some say that ppa's are not always enough tested and can not always be trusted.

Kind regards,

Kees