Question on Install

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
asmith
Level 2
Level 2
Posts: 22
Joined: Sun Apr 19, 2009 5:07 am

Question on Install

Post by asmith »

Hi,

I'm newbie on here, and on Wine too, So please go easy on me ^^

Is there a way to install wine on a linux server without the root access?
I have a servage account, and I need to install wine on it.

Is there a way?

Thanks a lot
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Question on Install

Post by vitamin »

asmith wrote:Is there a way to install wine on a linux server without the root access?
Yes, Wine can run from any directory.

However that means you can't use binary pre-compiled package(s) to install Wine. You'll need to compile it yourself.

And you'll have to "install" it for each user on the server.
asmith
Level 2
Level 2
Posts: 22
Joined: Sun Apr 19, 2009 5:07 am

Re: Question on Install

Post by asmith »

Thanks for your reply.
vitamin wrote:You'll need to compile it yourself.
And you'll have to "install" it for each user on the server.
The word "Install" is a bit scary to me in this case.
Do you mean I can copy its files to some directory? Is there a guide "how to do it for dummies" ? :D
Sorry if I'm asking primitive questions. I really hope I can get this to work.

I'm hoping I could run some windows applications through PHP using Wine.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Question on Install

Post by vitamin »

asmith wrote:The word "Install" is a bit scary to me in this case.
Because that will be 'make install' but in a different then default directory. Ex:

Code: Select all

./configure --prefix=$HOME/mywine && make depend all install
asmith wrote:I'm hoping I could run some windows applications through PHP using Wine.
That you won't be able to do. Most apps need valid X session. And you can't really have that with apache.
asmith
Level 2
Level 2
Posts: 22
Joined: Sun Apr 19, 2009 5:07 am

Post by asmith »

Still I'd like to give it a shot.

Its an small application that converts a file to an image. Its not popular. If it doesn't need session x, might there be still a chance?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

asmith wrote:Still I'd like to give it a shot.

Its an small application that converts a file to an image. Its not popular. If it doesn't need session x, might there be still a chance?
Try it.
asmith
Level 2
Level 2
Posts: 22
Joined: Sun Apr 19, 2009 5:07 am

Post by asmith »

I downloaded the Wine source code from the bottom of the download page. "Source downloads"

emm :
1. I must just upload it to a folder on my server? How configure it there?

2. I want to give the file 'x.ext' to the windows-based program 'win-app' to convert it.
Can I use it like this (If Wine is setup) :

<?php
exec('wine win-app x.ext');
?>

lol am I dreaming ? XD
Locked