Is there a way to globely install software

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
rob.rice
Level 2
Level 2
Posts: 11
Joined: Mon Mar 31, 2008 2:43 pm

Is there a way to globely install software

Post by rob.rice »

it there a way to install software so that all users on my system can access it
or am I stuck with installing the same software over and over for each user (huge waste of disk space )
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Is there a way to globely install software

Post by austin987 »

On Thu, Feb 12, 2009 at 12:49 PM, rob.rice <[email protected]> wrote:
it there a way to install software so that all users on my system can access it
No.
or am I stuck with installing the same software over and over for each user (huge waste of disk space )
For now. It's disabled because sharing a wineserver can cause
corruption. You can work around it, but it's not supported (search the
forums for examples.


--
-Austin
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

You can consider my crude partial solution, as I just posted a while ago in another related thread:
I never install the software in the C: drive (unless I'm forced to by a dumb installer). I use a common drive letter, say E:, which points to a common folder say /Winsoft, chmoded 774. Installs in there are usually chmoded -R to 774 or 777.

I also use different .wine folders for each install which I copy to each user's home within ~/Wineprefixes. I also manually copy desktop launchers around and adjust then the path for each user (this is a family setup). Every time I start a new install, I configure wine to make sure E:->/Winsoft.

Furthermore, home folders are shared over a network of three computers using NFS but, for performance reasons, I copy the software installs over the net into the a folder /Winsoft specific to each computer.

This works mostly fine for a small setup of 3 computers and 5 users. Wow is always complaining about changes in hardware, but it works.
rob.rice
Level 2
Level 2
Posts: 11
Joined: Mon Mar 31, 2008 2:43 pm

Post by rob.rice »

there would be only one user at a time on the computer
I have root , rob .and guest accounts ( but may add more )
the guest account is for the times I let other people use my computer
Maicon Vinicius Nunes

Is there a way to globely install software

Post by Maicon Vinicius Nunes »

there would be only one user at a time on the computer
I have root , rob .and guest accounts ( but may add more )
the guest account is for the times I let other people use my computer


To allow other users to use a single wine prefix, comment these lines in
file wine-1.1.14/libs/wine/config.c

#ifdef HAVE_GETUID
if (st.st_uid != getuid()) fatal_error( "%s is not owned by you\n",
config_dir );
#endif

This works for me.

--
Maicon Vinicius Nunes
(51) 9355-1734

# Imprima esse e-mail! Ao imprimir vocÂ
rob.rice
Level 2
Level 2
Posts: 11
Joined: Mon Mar 31, 2008 2:43 pm

Post by rob.rice »

Thank you
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Is there a way to globely install software

Post by vitamin »

Maicon Vinicius Nunes wrote:To allow other users to use a single wine prefix, comment these lines in file wine-1.1.14/libs/wine/config.c
Really bad idea. They are there for a good reason. DO NOT recommend things like that here.

Having multiple users using the same prefix will corrupt it. This is not supported yet.
Locked