LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to get WINE to install and work??? (https://www.linuxquestions.org/questions/linux-software-2/how-to-get-wine-to-install-and-work-160791/)

Em3rald 03-22-2004 01:14 AM

How to get WINE to install and work???
 
Grr. I know Linux is supposed to be wonderful and all, but sometimes I want to bash my head against the wall. Here's the skinny on my setup:

Me = nearly total NewB
Distro = Mandrake Community 10.0
Machine = Athlon 1.33 w/ 256MB PC2100; hda = 20GB NTFS w/ Windows2K; hdb1 = 50GB NTFS (files only); hdb2 = 10GB Linux EX2

I downloaded the brand new WINE for Mandrake (RPM), and (oops) didn't follow instructions quite right - I double-clicked while in KDE (all installation procedures indicate going from console). Dunno if that's the source of the problem, but regardless I am in a pickle.

Problems:
1) Cannot RPM -e the original package. It says that it's not installed. Is this because I used KDE and double-clicked the RPM file?
1b) if I try to re-install it over itself, it says that the package is already installed.
2) Cannot find the wine-yyyymmdd/documentation/samples folder which contains the config file that I am supposed to edit.
3) When I try to run any programs (such as Notepad), while in console, it tells me all kinds of problems with the directory structure, and with the config file. I would just download a config file if I could find one, but I am not even totally convinced that this would solve my problem.

Goal:
To have a working version of WINE so that I can run a couple of programs which I used frequently in Windows. My ultimate goal is to enable Linux to be my complete computing solution so that I can remove EVERY LAST TINY BIT of Microsoft junk from my computer. I am tired of the recurring problems and security issues with Windows, but more than that I think the Microsoft business model is unethical. However, this is not the time for this debate (laugh). Suffice it to say that I want to become well-versed enough in Linux to make Windows useless.

xgreen 03-22-2004 02:00 AM

http://winehq.org/site/howto

Em3rald 03-22-2004 02:52 AM

{laugh} ... you think I didn't look there? Heh heh. I suppose I should have mentioned that I have indeed tried the installation method they outlined on that page, and that it has done nothing more than confound me further. As I mentioned before, I cannot find the wine-20040304/documentation/samples folder from which I am to copy the config file from.

Indeed, when I run Notepad as they outlined, it returns to me an error stating that the afore mentioned config file has not been correctly configured (go figure). As well, it indicates to me that the [/root/.wine] folder does not exist, and yet this folder is not mentioned at all in the 'how to'.

Thanks for the help, but I'm gonna need some more input. I am strongly considering scrapping this Linux installation and starting over on a reformatted drive. This time with a little foreknowledge.

xgreen 03-22-2004 09:39 AM

do you have these folder inside your home directory?

wine/c_drive
.wine/c_drive/Windows
.wine/c_drive/Windows/Fonts
.wine/c_drive/Windows/Start Menu/Programs
.wine/c_drive/Windows/System
.wine/c_drive/Windows/System32
.wine/c_drive/Windows/Temp
.wine/c_drive/Program Files
.wine/c_drive/Program Files/Common Files

rocketman3245 03-22-2004 10:27 AM

I had the same problem. How I uninstalled it was to dubble click on an older rpm of wine and it asked me if i want to uninstall the old one on my compute. I said yes and it installed the older vertion then went to rpm drake and removed it there.

vr6stress 03-22-2004 12:53 PM

i ran into this same exact problem on mdk10

missing xmessage and didn't have the .wine stuff...


how do i overcome this?

Em3rald 03-22-2004 04:49 PM

Quote:

Originally posted by nazmin
do you have these folder inside your home directory?

wine/c_drive
.wine/c_drive/Windows
.wine/c_drive/Windows/Fonts
.wine/c_drive/Windows/Start Menu/Programs
.wine/c_drive/Windows/System
.wine/c_drive/Windows/System32
.wine/c_drive/Windows/Temp
.wine/c_drive/Program Files
.wine/c_drive/Program Files/Common Files

Of course! I did in fact follow the procedure outlined on the install page as indicated above. Hell, I went one step further! I created the same directories in [/root] on the off chance the above were supposed to be there. I went ANOTHER step after that, I created the folders 2 ways, one as nested, the other as just naming them exactly as above (the resulting folder names were identical, only they weren't nested).

Again, I believe the problem might be partially rooted (pardon the pun) in the fact that the config file does not exist, and I cannot find the folder in which it is to reside, as indicated on the afore mentioned how to page.

I think I am going to try someone elses method to install an older version, then uninstall.

Em3rald 03-23-2004 01:11 AM

Problem fixed! Here is the quick solution
 
Turns out it installed okay, just that it didn't create all the folders and files in the right places. Could be the fault of the RPM file with Mandrake Community 10.0

The solution:

A program called winesetuptk - a toolkit which very quickly and painlessly auto-configures WINE to run correctly under the existing configurations, whether a config file exists or not.

You can get it from ...

http://sourceforge.net/project/showf...?group_id=6241

the specific file link is ...

http://prdownloads.sourceforge.net/w...6.rpm?download

This RPM installs a program in your [./usr/bin] directory called wineconfigtk. Under KDE, just doubleclick it and get ready for instant gratification!!!

vr6stress 03-23-2004 08:47 AM

let me ask this, i uninstalled wine, and installed from the a source (current) and everything went great, except for a little misunderstanding in the config file which i straighted out (yeah for a noob)...but now when i run notepad it just drops to the next line and does nothing....no errors or anything...

will this toolkit thing still work for me, or do i have some other problem?

Avatar 06-11-2004 11:08 AM

Same problem But I'm running Mandrake 9.2

I installed from the RPM. The ~/.wine directory (ies) were not created and I can't find the so-called "installation" directory (even the find command didn't find it.)

Where did the rpm put this directory. According to the installation instructions, I'm supposed to be using it.

thx

EDIT: also, since I dont' have a config file, I'm supposed to copy one from {wine installation directory}/documentation/samples/config but of course, I can't find it.

HELP!!!

Jimbo99 06-11-2004 06:48 PM

First, go out and install apt-get.

Second install Synaptic.

Third rebuild the rpm database

Fourth use Synaptic to uninstall it.

RPM sucks the big witches ti**y without some other tool managing what's happening. And I mean it sucks.

Jimbo99 06-11-2004 06:49 PM

At the terminal prompt in your home directory type

cd .wine

Avatar 06-14-2004 02:47 PM

Em3rald

With regards to your RPM package installing pains. This has nothing to do with wine, but I was in your shoes at one time and totally confounded on how my package was "not installed" and then "already installed" all the time. !!!!

To REMOVE a package, you have to type "rpm -e <packagename>" where <packagename> is the original name of the package minus the .i586.rpm part. Example if I installed a RPM called "OpenOffice.org-libs-1.1-0.rc4.2mdk.i586.rpm" then to remove it I type "rpm -e OpenOffice.org-libs-1.1-0.rc4.2mdk"

If you don't know the name of the original rpm file you can find the exact packagename like this (for above example)

"rpm -qa | grep OpenOffice" returns
OpenOffice.org-1.1-0.rc4.2mdk
OpenOffice.org-l10n-en-1.1-0.rc4.2mdk
OpenOffice.org-libs-1.1-0.rc4.2mdk

you type the whole package name. If you miss a part, you get the "Package "whatever" is not installed" error. Hope this helps.


All times are GMT -5. The time now is 01:13 PM.