LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-27-2004, 02:28 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
wine and slackware


I have wine build 20040716 installed in slackware 9.1. I successfully unpacked the tarball, if I want to run notepad what would the command be to run notepad? I have windows 98 installed on another partition on the same hard drive, what windows programs can be ported to wine I would really appreciate a general idea of how to get started.

Last edited by paul62; 07-27-2004 at 03:34 PM.
 
Old 07-27-2004, 02:37 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Well that depends on where notepad is installed. There is a version of notepad included anyway which can be run by:
wine notepad
but why anyone would want to run notepad on Wine I have no idea.
If your windows partition is /dev/hda1 and you mount it to /mnt/hda then I imagine notepad would be at:
/mnt/hda/Windows/notepad.exe and so can be run with:
Code:
wine /mnt/hda/Windows/notepad.exe
but obviously that needs altering to suit your path and environment.

You also need to work on your punctuation; that last sentence is horrible.
 
Old 07-27-2004, 02:53 PM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I tried the command wine notepad.exe when I am logged in as root and I get the message "command not found" what might I be doing wrong?
 
Old 07-27-2004, 03:07 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Looks like you don't have wine installed. Or it could just be that it's not in root's path. Try it as a normal user and if you still get nothing then post the output of:
Code:
find /usr -iname "wine"
here.
 
Old 07-27-2004, 03:27 PM   #5
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
The result of this last command was nothing , I tried not logging in as root running th ecommand and it just went to bash.
 
Old 07-27-2004, 03:48 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Then you don't have wine installed.

Hang on...you say you "Successfully unpacked the tarball"...have you actually compiled it though?!

(i.e. have you run tools/wineinstall ?)
 
Old 07-28-2004, 12:32 PM   #7
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I got the tarball unpacked through using the exdtract command in midnight commander, and assumed that would be compiling it, what is the command for compiling it? I woould reallly appreciate the help.
 
Old 07-28-2004, 02:20 PM   #8
EArthquake
LQ Newbie
 
Registered: Apr 2004
Location: Serbia
Distribution: Slackware 10.0
Posts: 8

Rep: Reputation: 0
u have a step by step explained in readme or install file of unpacked tarball
 
Old 07-28-2004, 04:03 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Yep, read the README or INSTALL files (I'm not capitalising to be rude, they usually are all in caps!)

Unpacking is just like extracting a zip file - it doesn't compile the program.

Now you'd better hope you installed those devel packages....
 
Old 07-28-2004, 05:11 PM   #10
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
Perhaps this is not true in the case of Wine, but the usual way to compile a program from source are these steps:
Code:
./configure
make
<su to root>
make install
However, doing it this way might make it difficult to remove the program later, since the files are spread out on your file system. Some Makefiles will provide an uninstall target, so that one can use make uninstall to remove the files. Now, this would of course require you to keep the source which one might not always want to do. So, the alternative way is to use the very nice program checkinstall instead of the make install:
Code:
./configure
make
<su to root>
checkinstall
checkinstall can make rpm, deb, and tgz packages. Works like a charm

Cheers
 
Old 07-28-2004, 05:32 PM   #11
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Quote:
Originally posted by Bebo
Perhaps this is not true in the case of Wine, but the usual way to compile a program from source are these steps:
Code:
./configure
make
<su to root>
make install
However, doing it this way might make it difficult to remove the program later, since the files are spread out on your file system. Some Makefiles will provide an uninstall target, so that one can use make uninstall to remove the files.
Cheers
No, it's not how Wine does it. Wine uses a script called wineinstall in the tools subdirectory. And compiling software generally doesn't make it hard to remove if you know what you're doing. Whilst a few more complicated programs spread themselves out, most go no further than putting a folder in the /usr/shared directory and a binary in /usr/bin. Occasionally you get a library in /usr/lib but even so, to remove the whole thing is a case of:
Code:
rm -rf `whereis wine`

I also want to add (and I mean no disrespect) that I think you [Paul62] have chosen the wrong distribution for a beginner. Whilst I believe Slackware to be the best distro, and it's the only one I've ever been truly happy with, I think you'll find something more geared towards the novice user to be much better to find your feet with linux. Slackware requires mainly manual configuration, whereas something like Mandrake or Fedora will have a lot of tools to do the job for you.

That's my 2 pence anyway.
 
Old 07-28-2004, 05:57 PM   #12
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
"If you know what you're doing" - or if you want to make life a bit simpler and don't want to chase files all over the place.

Cheers
 
Old 07-28-2004, 06:02 PM   #13
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Quote:
Originally posted by Bebo
"If you know what you're doing" - or if you want to make life a bit simpler and don't want to chase files all over the place.

Cheers
Well if settling dependencies and having to wait for new packages to be available is your thing...
 
Old 07-28-2004, 06:30 PM   #14
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
What does that have to do with whether you do an ordinary make install or a checkinstall?
 
Old 07-28-2004, 07:58 PM   #15
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
Quote:
Originally posted by Bebo
What does that have to do with whether you do an ordinary make install or a checkinstall?
I apologise, I missed that bit of your post. Actually, this wasn't supposed to end up as an argument about install methods, I was initially just trying to demonstrate that it isn't hard to remove a normally installed program if you know how to make use of "output as input" (which is a phrase I've just coined...what's it really called?!)
 
  


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 for Slackware 9.1 Zuggy Linux - Software 3 12-10-2004 03:52 PM
wine on slackware 9.1 Superme Linux - Software 11 09-18-2004 02:16 PM
wine in slackware greythorne Slackware 11 07-13-2004 10:49 AM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 01:29 PM
Slackware 9.0 and wine(x) bob_smith Slackware 7 09-21-2003 09:45 AM


All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
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