PlayOnLinux explained

PlayOnLinux
Developer:Quentin Pâris[1] and Aymeric Petit
Latest Release Version:4.4
Latest Preview Version:5.0 Alpha 2[2]
Programming Language:
PlayOnLinux 3/4[3] [4]
PlayOnLinux 5
Operating System:Linux, FreeBSD,[5] macOS[6]
Genre:Compatibility layer
License:GPL/LGPL

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 2016), 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.

Versions

Version 4.0 (2011[8]) is able to run on Mac and Linux. It used two separate source trees and was therefore called "POL" on Linux systems and "POM" on Mac.

Version 5.0 Phoenicis

Version 5.0, currently under development, uses the same codebase for Mac and Linux. It has been named POL-POM-5, later POL-POM, and currently is being developed under the name Phoenicis. [9]

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.[10] 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:

  1. !/bin/bash

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

See also

External links

Notes and References

  1. Web site: PlayOnLinux - elementary OS . elementary OS . 9 July 2020 . fr.
  2. Web site: Release of PlayOnLinux 5.0 alpha 2.
  3. Web site: PlayOnLinux and PlayOnMac 4 (POL-POM-4). GitHub. 21 November 2021.
  4. Web site: PlayOnLinux/PlayOnLinux_3. GitHub. 2 June 2021.
  5. Web site: PlayOnBSD. FreshPorts .
  6. Web site: PlayOnMac .
  7. Web site: Play on Linux . Play on Linux . 18 January 2020.
  8. Web site: PlayOnLinux 4.0 is released ! - PlayOnLinux - Run your Windows applications on Linux easily! .
  9. POL wiki https://wiki.playonlinux.com/index.php/Building_PlayOnLinux_5
  10. Web site: Documentation - PlayOnLinux. https://web.archive.org/web/20160313040750/https://www.playonlinux.com/en/dev-documentation-1.html. 2016-03-13. dead.