LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-27-2013, 01:53 PM   #1
scorpioofthewoods
Member
 
Registered: Mar 2006
Location: USA
Distribution: Fedora & Ubuntu
Posts: 215
Blog Entries: 2

Rep: Reputation: 20
Moving Wine Program between distros?


I have a program I run in Wine on one distro (Ubuntu). I would like to have it on another installed distro (Debian Sid).

My question is can I just move the program folder that is in the wine folder to the other distro's wine folder? Would I need to move the whole wine folder? Or do I need to reinstall the entire program?

The reason I would like to move it rather than reinstall is that the installer downloads large files to install, several GB. While I can certainly download over several hours, I would rather not if I could avoid it.

Thanks
 
Old 04-27-2013, 02:02 PM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,789

Rep: Reputation: Disabled
I have no idea if it will work. I have never used Wine. But why not just try moving the folder as you suggested. Either it works or it doesn't. If it doesn't you can always remove the folder. Or am I missing something? Just keep a backup of the original folder in case you need it.
jdk

Last edited by jdkaye; 04-27-2013 at 02:04 PM.
 
Old 04-27-2013, 02:11 PM   #3
scorpioofthewoods
Member
 
Registered: Mar 2006
Location: USA
Distribution: Fedora & Ubuntu
Posts: 215
Blog Entries: 2

Original Poster
Rep: Reputation: 20
I don't use Wine much so I am not sure if there would be an issue or what all I might need to copy. So I thought I would ask first. I will try moving things and see what happens I guess.
 
Old 04-27-2013, 02:15 PM   #4
odiseo77
Senior Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,009

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
I would move the entire '.wine' directory, to preserve registry entries, and in case the additional files the program in question downloads are stored outside its own directory. The only downside of this method is that you will lose the program's launchers of your desktop, so you will probably have to recreate them.
 
Old 04-28-2013, 05:35 AM   #5
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 551
Blog Entries: 3

Rep: Reputation: 66
If there are no other installed programs on the new distro, then you can simply move the .wine directory. Moving only the program will lose registry entries, at the least.

As far as the Desktop entries, you'll be able to find them in a directory under .local/share, although I can't remember at the moment where exactly they are (find . -name "wine" will help). You'll want to put them in the same directory on the new installation.
 
Old 04-28-2013, 12:23 PM   #6
scorpioofthewoods
Member
 
Registered: Mar 2006
Location: USA
Distribution: Fedora & Ubuntu
Posts: 215
Blog Entries: 2

Original Poster
Rep: Reputation: 20
I finally got it to work. I was having problems when I tried to run it on Debian. It kept complaining about the system being 64 and wine being 32. I am not sure why as the Ubuntu install is also 64 bit.

Searching the only solution I could find was to delete the wine folder and run winecfg. That was not ideal but I thought I would give it a try anyway and just reinstall. However while the installer would run it would not install. It would just give errors, none of which I understood or could find anything about googling.

Finally instead of copying the entire wine folder I just copied the program's folder. It runs perfectly, atleast so far.
 
Old 04-29-2013, 06:27 AM   #7
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 551
Blog Entries: 3

Rep: Reputation: 66
Wine under all distros I am aware of will be 32 bit. Debian does make you jump through a few hoops (such as enabling the i386 repos), but WINE itself should not complain once installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine: How do I input into a running Wine Program with Cyrillic Characters? Riddick Linux - Software 3 08-16-2009 11:58 AM
Getting a program under WINE to recognize IE under WINE (sounds fun, eh?) WhiteyDude Linux - Software 1 10-14-2007 01:14 PM
Moving out of SCO Unix any distros?? Frost Linux - Distributions 20 06-02-2005 11:08 PM
Moving swap and sharing folders in distros jazzyjazz Slackware 1 11-19-2003 06:40 AM
Moving Program PionexUser Linux - Newbie 4 07-24-2003 06:37 AM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration