PlayOnLinux
![]() Play on Linux interface | |
Developer(s) | Quentin Pâris[1] and Aymeric Petit |
---|---|
Initial release | 2007[1] |
Stable release | 4.4
/ 17 May 2020 |
Preview release | 5.0 Alpha 2[2]
|
Repository | |
Written in |
|
Operating system | Linux, FreeBSD,[5] macOS[6] |
Type | Compatibility layer |
License | GPL/LGPL |
Website | www |
PlayOnLinux is a graphical frontend for the Wine software compatibility layer which allows Linux users to install Windows-based video games, Microsoft Office (2000 to 2010), Microsoft Internet Explorer, as well as many other applications such as Apple iTunes and Safari.[7]
While initially developed for Linux-based systems, it is also used on macOS and FreeBSD under the names PlayOnMac and PlayOnBSD, respectively. It can also be used on other operating systems supported by Wine.
Internals
PlayOnLinux is developed using a combination of Bash, Python and wxPython.
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.
Scripting language
PlayOnLinux includes advanced functions in Bash allowing the community to make scripts easily by controlling the installation process.[8] 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
References
- ^ a b "PlayOnLinux - elementary OS". elementary OS (in French). Retrieved 9 July 2020.
- ^ a b "Release of PlayOnLinux 5.0 alpha 2".
- ^ "PlayOnLinux and PlayOnMac 4 (POL-POM-4)". GitHub. 21 November 2021.
- ^ "PlayOnLinux/PlayOnLinux_3". GitHub. 2 June 2021.
- ^ "PlayOnBSD". FreshPorts.
- ^ "PlayOnMac".
- ^ "Play on Linux". Play on Linux. Retrieved 18 January 2020.
- ^ "Documentation - PlayOnLinux". Archived from the original on 2016-03-13.
External links
![](http://upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png)
- Official website
- Supported software at PlayOnLinux
- "Create a script for PlayOnLinux - Chapter 1: Getting to know Bash". Archived from the original on Mar 13, 2016.