[SOLVED] Wine is installing to root folder instead of home.

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[SOLVED] Wine is installing to root folder instead of home.

Postby M0rph3us on Sat Aug 23, 2014 4:45 pm

Hi,

I'm new to Linux, so please bear with me. I installed PlayOnLinux, which then asked me to insall Wine so I did that as well. I installed Amazon Kindle via POL but it refused to launch, just saying that POL had encountered an error. So I uninstalled it to start over. I then downloaded the installer.exe file for Kindle, created a directory for it in "~/.wine/drive_c/Program Files/Amazon" and placed the installer.exe there. Next, I navigated to the Amazon folder in the terminal and ran "wine KindleForPC-installer.exe" which seemed to work fine. However, the install placed the launcher file in "/root/Desktop" and the My Kindle Content folder in "/root". Kindle will launch from there and work correctly, but I really don't want it in the root directory where I don't have ownership. To put it simply, I want the launcher and content folder in my home directory like everything else. Since I don't have ownership of root though, I can't even move the files to the desired location.

Very frustrated. Can anyone help with this?
Last edited by M0rph3us on Fri Aug 29, 2014 9:32 pm, edited 2 times in total.
M0rph3us
Level 1
Level 1
 
Posts: 10
Joined: Sat Aug 23, 2014 4:33 pm

Linux Mint is funded by ads and donations.
 

Postby gibbs1984 on Sat Aug 23, 2014 5:29 pm

Can't really help with where the programme is installed but just so you know you'll still be able to move files there as you can always open a folder as root by right clicking it and selecting Open As Root.
Linux Mint 17 (Cinnamon) 32bit.
User avatar
gibbs1984
Level 5
Level 5
 
Posts: 664
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Wine is installing to root folder instead of home.

Postby Mute Ant on Sat Aug 23, 2014 8:22 pm

The only way it can get into /root/ is if you used sudo. It sounds like the Wine software installer made a failed attempt to find /root/.wine/ and used /root/ instead. So, don't use sudo, you are not installing software into the Linux system and you really don't want wild code outside of /home. New Wine programs should arrive right where you put the installer, in the pseudo-windows area of your home folder...
    ~/.wine/drive_c/Program Files/
Mute Ant
Level 6
Level 6
 
Posts: 1004
Joined: Tue Sep 03, 2013 7:45 pm

Re: Wine is installing to root folder instead of home.

Postby M0rph3us on Fri Aug 29, 2014 5:15 pm

Sorry to not reply sooner.

I use keystroke combinations to launch terminal and root terminal, and I must have used root to install it the first time. After wiping everything and starting over, paying close attention to where things were installing, it all works correctly now.

Thanks for the help!
M0rph3us
Level 1
Level 1
 
Posts: 10
Joined: Sat Aug 23, 2014 4:33 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Google [Bot], Hecubus, zach_hustles and 22 guests