LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2008, 07:53 AM   #61
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31

I installed wine:
Put source folder where it was looking for it.

Used:
chmod +x wine.SlackBuild
(worked fine)
then:
./wine.SlackBuild
It did a bunch of stuff and said Package Installation Complete or something after it finished. But I don't see where it installed it or anything. :O
 
Old 05-16-2008, 08:03 AM   #62
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Usually puts finished packages in /tmp. So, do:
Code:
cd /tmp
installpkg name-of-package
 
Old 05-16-2008, 08:19 AM   #63
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
root@darkstar:/tmp# installpkg wine-1.0_rc1-i486-1_SBo.tgz
Installing package wine-1.0_rc1-i486-1_SBo...
PACKAGE DESCRIPTION:
wine: wine (Wine Is Not an Emulator)
wine:
wine: Wine is an Open Source implementation of the Windows API
wine: on top of X and Unix.
wine:
wine: Homepage: http://www.winehq.com/
wine:
Executing install script for wine-1.0_rc1-i486-1_SBo...

root@darkstar:/tmp#

That's what I did, it exited after the Executing install script.
 
Old 05-16-2008, 08:39 AM   #64
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Yeah, well, it's installed OK. Never used Wine (only the alcoholic stuff), so I don't know where you go from there.
 
Old 05-16-2008, 09:55 AM   #65
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
You could try some search commands to find out where wine is located. Try:

whereis packagename

or

which packagename
 
Old 05-16-2008, 10:23 AM   #66
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Try man wine, or look in /usr/doc.
 
Old 05-16-2008, 10:51 AM   #67
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
A Wine entry is made in the main menu (KDE anyway) as soon as you try to install a Windows program.
So, click on the install.exe and Wine will take it over from there.
 
Old 05-16-2008, 01:30 PM   #68
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
If you want to run a Windows executable (like an installer, or just a stand-alone app) run `wine /path/to/program.exe`. It should be noted that you should run `winecfg` as your normal user to setup all of the options.
 
Old 05-16-2008, 06:54 PM   #69
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Can I run .msi files through wine? If so, how?
 
Old 05-16-2008, 07:01 PM   #70
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
austinramsay@darkstar:~/Desktop$ dir
Austin/ Home.desktop System.desktop
Firefox\ Setup\ 2.0.0.14.exe SteamInstall.msi trash.desktop
austinramsay@darkstar:~/Desktop$ wine Firefox Setup 2.0.0.14.exe
wine: could not load L"C:\\windows\\system32\\Firefox.exe": Module not found
austinramsay@darkstar:~/Desktop$

and

austinramsay@darkstar:~/Desktop$ wine SteamInstall.msi
wine: could not load L"Z:\\home\\austinramsay\\Desktop\\SteamInstall.msi": Bad EXE format for
austinramsay@darkstar:~/Desktop$

I can't find anything out on what's going wrong.

EDIT:

austinramsay@darkstar:~/Desktop$ wine msiexec /i SteamInstall.msi

That ran fine. But, what about the exe file?

Last edited by austinramsay; 05-16-2008 at 07:06 PM.
 
Old 05-16-2008, 07:06 PM   #71
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Google is your friend (or should be). A quick search for "wine .msi" turned up this: http://wiki.jswindle.com/index.php/Wine_MSI

Just running `msiexec` prints out a list of options. To install something, type `msiexec /i appname.msi` (it looks like the even simpler `msiexec appname.msi` might also work).

[edit]Why on earth would you want to run Firefox through WINE? A native (Linux) version of Firefox is included with Slackware. Try just running `firefox` from a terminal (or from your desktop environment's program menu -- in KDE, click the K, then Internet, then Firefox). For future reference though, the reason it isn't working is because of the space in the Firefox package's name. `wine "Firefox Setup 2.0.0.14.exe"` might do it (if not, `wine Firefox\ Setup\ 2.0.0.14.exe` would do the trick).[/edit]

Last edited by T3slider; 05-16-2008 at 07:10 PM.
 
Old 05-16-2008, 08:24 PM   #72
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Starting Steam

Steam is installed, but I am not sure how to start it, I see an icon on my desktop that says Steam.Ink, and I try to use it, but I get an error saying:

Unable to run the command specified. The file or folder file:///mnt/winc//Program Files/Steam/Steam.exe does not exist.
 
Old 05-16-2008, 08:30 PM   #73
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by austinramsay View Post
Steam is installed, but I am not sure how to start it, I see an icon on my desktop that says Steam.Ink, and I try to use it, but I get an error saying:

Unable to run the command specified. The file or folder file:///mnt/winc//Program Files/Steam/Steam.exe does not exist.
Windows shortcuts don't work in Linux. Look and see if a .desktop file was created for you. If not, then you can make your own. Here is an example of one that I use.

Code:
[Desktop Entry]
Comment=
Exec=env WINEPREFIX="/home/username/.wine" wine "C:\\Program Files\\TurboRisk\\TurboRisk.exe"
GenericName=
Icon=
Name=TurboRisk
Path=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
 
Old 05-16-2008, 08:40 PM   #74
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Where do I enter that code at?
 
Old 05-16-2008, 08:44 PM   #75
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by austinramsay View Post
Where do I enter that code at?
You don't have to. Try right clicking the KDE menu to add a desktop entry and then use the example I gave you to create your own Exec line. After it is created you can probably find the .desktop file (Linux "Shortut") under ~/.local/share/applications/
 
  


Reply



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
Thinking about trying out Slackware. halflife28 Slackware 19 05-19-2006 03:30 PM
Thinking of Slackware Boffy Slackware 13 04-19-2005 02:21 AM
Thinking of using Knoppix or Slackware Ishkabibble Linux - Distributions 8 12-15-2004 12:16 AM
Thinking of buying Slackware Hero Doug Slackware 19 07-07-2004 04:23 PM
Thinking of getting Slackware ultimatejester Slackware 18 02-08-2004 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:02 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
Open Source Consulting | Domain Registration