PlayOnLinux

From Wikipedia, the free encyclopedia
Jump to: navigation, search
PlayOnLinux
PlayOnLinux Logo.png
Play on Linux interface
Developer(s) Quentin PÂRIS and Aymeric PETIT
Stable release 4.2.4 / 14 July 2014; 44 days ago (2014-07-14)
Written in Python (wxPython)
Operating system Linux
Type Compatibility layer
License GPL/LGPL
Website www.playonlinux.com

PlayOnLinux is a graphical front-end for the Wine software compatibility layer which allows Linux users to install Windows-based video games, as well as many other applications such as Apple iTunes, Safari, Microsoft Office (2000 to 2010), Microsoft Internet Explorer.[1][2]

The system provides wrapper shell scripts that specify the configuration of Wine needed in order to install and run a particular application.

It uses an online database of scripts to apply to different applications that need special configuration; if the game is not in the database, a manual installation can be performed. programs can be installed and each one is put in a different container (WINEPREFIX) to prevent interference of one with another. This provides isolation in much the same way that CrossOver's bottles work. Thus, applications may use different versions and configurations of Wine as appropriate. The installation of these is managed by the PlayOnLinux software itself without the requirement to install Wine separately.

The program also allows the user to create virtual partitions, in which specific programs can be installed with different Wine versions and programs, similar to a multi-boot computer.

PlayOnLinux is developed using a combination of Bash, Python and wxPython.

Scripting language[edit]

PlayOnLinux includes advanced functions in bash allowing the community to make scripts easily by controling the installation process.[3] Each supported program has its own script written in this language.

For example, the simple following script will popup a setup window with the message Hello World:

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_message "Hello World!" "My first message"
 
POL_SetupWindow_Close
exit

See also[edit]

References[edit]

External links[edit]