Difference between revisions of "Windows Emulation/9.2"

From PC-BSD Wiki
Jump to: navigation, search
m
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{NavHeader|back=XBMC|forward=Files and File Sharing}}</noinclude>
+
<noinclude><translate>
[http://www.winehq.org/ Wine] is an application that allows you to create a Windows environment for installing Windows software. This can be useful if your favourite Windows game or productivity application has not been ported to Linux or BSD.
+
  
Wine is not guaranteed to work with every Windows application. If you are unsure if the application that you require is supported, search for it in the Browse Apps section of the [http://appdb.winehq.org/ Wine Application Database]. The [http://wiki.winehq.org/ Wine Wiki] contains many resources to get you started and to refer to if you encounter problems with your Windows application.
+
<!--T:1-->
 +
{{NavHeader|back=XBMC|forward=Remote Desktop}}</noinclude>
  
===Installing and Using Wine===
+
<!--T:2-->
 +
{{citelink|url=http://www.winehq.org/|txt=Wine}} is an application that allows you to create a Windows environment for installing Windows software. This can be useful if your favorite Windows game or productivity application has not been ported to Linux or BSD.
  
Wine can be installed from [[Using AppCafe™ | AppCafe™]]. In Figure 8.5a, the user has performed a search to find the Wine PBI. You should install the version that is correct for your architecture (32-bit or 64-bit).
+
<!--T:3-->
 +
Wine is not guaranteed to work with every Windows application.[[File:Wine1b.jpeg|thumb|260px|'''Figure 9.6b: Wine Configuration Menu''']] If you are unsure if the application that you require is supported, search for it in the "Browse Apps" section of the {{citelink|url=http://appdb.winehq.org/|txt=Wine Application Database}}. The {{citelink|url=http://wiki.winehq.org/|txt=Wine Wiki}} contains many resources to get you started and to refer to if you encounter problems with your Windows application.
  
'''Figure 8.5a: Installing Wine from AppCafe™'''
+
=== Installing and Using Wine === <!--T:4-->
  
[[File:Wine.jpeg]]
+
<!--T:5-->
 +
Wine can be installed from {{local|link=AppCafe®}}. In Figure 9.6a, the user has performed a search to find the Wine PBI.  
  
Once installed, an icon for Wine Configuration will be added to the Control Panel and, depending upon your desktop, a desktop icon may be created as well. Double-clicking this icon will load the Wine configuration menu shown in Figure 8.5b. You can also start this program by typing '''winecfg''' at the command line.
+
<!--T:6-->
 +
[[File:Wine1.png|thumb|393px|'''Figure 9.6a: Installing Wine from AppCafe®''']]
  
'''Figure 8.5b: Wine Configuration Menu'''
+
<!--T:7-->
 +
Once installed, an icon for Wine Configuration will be added to the Control Panel and, depending upon your desktop, a desktop icon may be created as well. Double-clicking the icon will load the Wine configuration menu shown in Figure 9.6b. You can also start this program by typing '''winecfg''' at the command line.
  
[[File:Wine1b.jpeg]]
+
<!--T:8-->
 +
Click the "Add application" button to browse to the application's installer file. By default, the contents of your hard drive will be listed under "drive_c". If the installer is on a CD/DVD, use the drop-down menu to browse to <span class=traverse>your home directory{{rarr}}''.wine''{{rarr}}''dosdevices''</span> folder. The contents of the CD/DVD should be listed under ''d:''. If they are not, the most likely reason is that your CD/DVD was not automatically mounted by the desktop. To mount the media, type the following as the superuser:
  
Click the Add application button to browse to the application's installer file. By default, the contents of your hard drive will be listed under "drive_c". If the installer is on a CD/DVD, use the drop-down menu to browse to your home directory -> ''.wine'' -> ''dosdevices'' folder. The contents of the CD/DVD should be listed under ''d:''. If they are not, the most likely reason is that your CD/DVD was not sutomatically mounted by the desktop. To mount the media, type the following as the superuser:
+
<!--T:9-->
 +
{{txtbox|box='''mount -t cd9660 /dev/cd0 /cdrom'''}}
  
'''mount -t cd9660 /dev/cd0 /cdrom'''
+
<!--T:10-->
 +
You should hear the media spin and be able to select the installer file. Once selected, press "Apply" then "OK" to exit the configuration utility.
  
You should hear the media spin and be able to select the installer file. Once selected, press Apply then OK to exit the configuration utility.
+
<!--T:11-->
 +
To install the application, click the Winefile desktop icon or type '''winefile''' to see the screen shown in Figure 9.6c:
  
To install the application, click the Winefile desktop icon or type '''winfile''' to see the screen shown in Figure 8.5c:
+
<!--T:12-->
 
+
[[File:Wine2.jpeg|thumb|393px|'''Figure 9.6c: Installing the Application Using winefile''']]
'''Figure 8.5c: Installing the Application Using winfile'''
+
 
+
[[File:Wine2.jpeg]]
+
  
 +
<!--T:13-->
 
Click the button representing the drive containing the installer (in this example, ''D:\'') and double click on the installation file (e.g. ''setup.exe''). The installer should launch and you can proceed to install the application as you would on a Windows system.
 
Click the button representing the drive containing the installer (in this example, ''D:\'') and double click on the installation file (e.g. ''setup.exe''). The installer should launch and you can proceed to install the application as you would on a Windows system.
  
'''NOTE:''' if you had to manually mount the CD/DVD, you will need to unmount it before it will eject. As the superuser, use the command '''umount /mnt'''.
+
<!--T:14-->
 +
{{warning|icon64=if you had to manually mount the CD/DVD, you will need to unmount it before it will eject. As the superuser, use the command '''umount /mnt''' in an xterm.}}
  
Once the installation is complete, browse to ''C:\'' and find the application's location. Figure 8.5d shows an example of running Internet Explorer within '''winfile'''.
+
<!--T:15-->
 +
Once the installation is complete, browse to ''C:\'' and find the application's location. Figure 9.6d shows an example of running Internet Explorer within '''winefile'''.
  
'''Figure 8.5d: Running the Installed Application'''
+
[[File:Wine3.jpeg|thumb|393px|'''Figure 9.6d: Running the Installed Application''']]
 +
=== Using Swine === <!--T:16-->
 +
This is a helpful configuration application available from {{local|link=AppCafe®}}.<br/>
 +
(Need images and further text to flesh this out)
  
[[File:Wine3.jpeg]]
+
<!--T:17-->
<noinclude>[[category:handbook]]</noinclude>
+
<noinclude>
 +
{{refheading}}
 +
[[category:Windows Emulation]]
 +
[[category:Common Tasks]]
 +
[[category:handbook]]
 +
<languages/>
 +
</translate>
 +
</noinclude>

Revision as of 15:42, 4 November 2013

(Sorry for the inconvenience)

Contents

Wine[1] is an application that allows you to create a Windows environment for installing Windows software. This can be useful if your favorite Windows game or productivity application has not been ported to Linux or BSD.

Wine is not guaranteed to work with every Windows application.
Figure 9.6b: Wine Configuration Menu
If you are unsure if the application that you require is supported, search for it in the "Browse Apps" section of the Wine Application Database[2]. The Wine Wiki[3] contains many resources to get you started and to refer to if you encounter problems with your Windows application.

Installing and Using Wine

Wine can be installed from AppCafe®. In Figure 9.6a, the user has performed a search to find the Wine PBI.

Figure 9.6a: Installing Wine from AppCafe®

Once installed, an icon for Wine Configuration will be added to the Control Panel and, depending upon your desktop, a desktop icon may be created as well. Double-clicking the icon will load the Wine configuration menu shown in Figure 9.6b. You can also start this program by typing winecfg at the command line.

Click the "Add application" button to browse to the application's installer file. By default, the contents of your hard drive will be listed under "drive_c". If the installer is on a CD/DVD, use the drop-down menu to browse to your home directory → .wine → dosdevices folder. The contents of the CD/DVD should be listed under d:. If they are not, the most likely reason is that your CD/DVD was not automatically mounted by the desktop. To mount the media, type the following as the superuser:

mount -t cd9660 /dev/cd0 /cdrom

You should hear the media spin and be able to select the installer file. Once selected, press "Apply" then "OK" to exit the configuration utility.

To install the application, click the Winefile desktop icon or type winefile to see the screen shown in Figure 9.6c:

Figure 9.6c: Installing the Application Using winefile

Click the button representing the drive containing the installer (in this example, D:\) and double click on the installation file (e.g. setup.exe). The installer should launch and you can proceed to install the application as you would on a Windows system.


WARNING If you had to manually mount the CD/DVD, you will need to unmount it before it will eject. As the superuser, use the command umount /mnt in an xterm.

Once the installation is complete, browse to C:\ and find the application's location. Figure 9.6d shows an example of running Internet Explorer within winefile.

Figure 9.6d: Running the Installed Application

Using Swine

This is a helpful configuration application available from AppCafe®.
(Need images and further text to flesh this out)


References


  1. http://www.winehq.org/
  2. http://appdb.winehq.org/
  3. http://wiki.winehq.org/
Other languages:German 89% • ‎English 100% • ‎French 11%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox