[solved] Where is Wine

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
KeesA

[solved] Where is Wine

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
KeesA

Re: where is Wine

Post 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.
bigj231

Re: where is Wine

Post 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
KeesA

Re: where is Wine

Post by KeesA »

Thank you, I would never find out myself.
How do people know all this?
Is there a book for or something online?
bigj231

Re: where is Wine

Post 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.
Essexraptor

Re: where is Wine

Post 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)

:)
KeesA

Re: where is Wine

Post by KeesA »

I found a site explaining and teaching the use of the terminal and made some progress.
Gandalf the White

Re: where is Wine

Post 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
KeesA

Re: where is Wine

Post 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?
Gandalf the White

Re: where is Wine

Post 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
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: where is Wine

Post 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
Linux Registered User: # 573034

Hamza21.com
Gandalf the White

Re: where is Wine

Post by Gandalf the White »

Today, I found an upgrade available via Synaptic. Version 1.5, I think.
KeesA

Re: where is Wine

Post 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
Locked

Return to “Beginner Questions”