Wine is invoked using Terminal commands.Īs an example of using Wine, here is how to install WinPgm, a fictitious windows application. Even after installing Wine, you will not find it listed with the desktop apps that came with your Linux distribution. $ wine iexplore How to install a Windows app $ sudo pacman -S -needed samba gnutls lib32-gnutls Scrolling does not work, but links and window resizing do. If the window that opens is solid black, click the Refresh button to obtain at least partial functionality. Lately, iexplore fails to run properly on some distributions. If installing gecko is offered, accept the offer. The second command runs Wine's web browser. The first of the next two commands ensures that optional dependencies required by iexplore are installed. $ wine clock Run Wine's builtin web browser Just for fun, or to see Wine in action … Display a simple clock If you are creating custom Wine prefixes, this configuration must be repeated for each prefix. The default Wine configuration prepares Wine as a Windows 10 environment. When prompted, set your preferred version of Windows. If installing mono or gecko is offered, accept the offer. To bring up Wine's configuration panel, open a Terminal window and execute winecfg. The previous command uses the same code to create a list of the dependencies and then passes that list to pacman for installation. $ sudo pacman -S -asdeps -needed $(pacman -Si wine | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ')īy way of explanation, executing the next command displays the optional dependencies on the Terminal screen. If you are installing wine-staging, replace wine by wine-staging. Just Copy/Paste it into a Terminal prompt and execute it. $ sudo pacman -S -asdeps -needed list-of-optional-dependencies-to-installĮasy This command – which is thanks to Jay Ta'ala – will install all uninstalled optional dependencies. If you want to know what a specific optional dependency does, you can search for it among the Arch Linux packages at /packages/. asdeps causes the packages to be marked as dependencies, and -needed prevents packages that are already installed from being reinstalled. Then make a list containing the packages you want to install, and install them with a command like the next one. Refer to the list of optional dependencies displayed by pacman during the installation, and note which were not installed, or execute this command, which will display all of Wine's optional dependencies. Straight-forward The straight-forward way to install optional dependencies also allows you to select which dependencies you want. Here are two ways to install optional dependencies: Straight-forward and Easy. My preference is a complete Wine installation, which means installing all optional dependencies, but leaving out packages that are known to be not needed is reasonable. Wine has more than forty optional dependencies that give Wine additional functionality. $ sudo pacman -S wine wine-mono wine-gecko Verify the installation succeeded (But leave wine-mono and wine-gecko as they are.) If you prefer Wine Staging, replace wine with wine-staging. The next command will install Wine Development. If there are conflicts with gcc-libs, consult the multilib section in the Arch Linux Wiki. After verifying no special handling should be expected, execute the following to update your system. Do a full system upgradeīefore updating your system, you are advised to check the latest news on the Arch Linux home page. If using nano, executeĪnd remove the leading # characters from the two lines of the section, yielding To enable multilib, use your favorite command line editor (nano, vim, emacs) to uncomment the section of /etc/nf. Without the ability to run 32-bit apps, Wine would have limited value. Many Windows apps are 32-bit or have 32-bit components, and even 64-bit apps often have installation. The multilib repository enables 32-bit apps to run on 64-bit installations. Sound issues, if any, can be addressed through the settings panel that opens when winecfg is executed or by referring to the Arch Wiki information on Wine Sound. For possibly enhanced graphics, see Graphics drivers in the Arch Wiki. Īn Arch Linux installation including a desktop is expected, in which case Wine should just work. Additional information that may be of interest can be found in the ArchWiki Wine article at /title/Wine. This document explains how to install a recent version of Wine Development or Wine Staging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |