PlayOnLinux

Last updated
Developer(s) Quentin Pâris [1] and Aymeric Petit
Initial release2007;18 years ago (2007) [1]
Stable release
4.4 / 17 May 2020;5 years ago (2020-05-17)
Preview release
5.0 Alpha 2 [2]
Repository
Written in
PlayOnLinux 3/4 [3] [4]
PlayOnLinux 5 [5]
Operating system Linux, FreeBSD, [6] macOS [7]
Type Compatibility layer
License GPL/LGPL
Website www.playonlinux.com   OOjs UI icon edit-ltr-progressive.svg

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. [8] [9]

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 (released in 2011 [10] ) 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 (first alpha build released in 2018 [11] ), uses the same codebase for Mac and Linux. It started development in 2015 and switched from being written in Python to being written in Java for portability across operating systems. [5]

To reflect the development of a common codebase for operating systems, it has first been named POL-POM-5, later POL-POM, and is finally developed under the name Phoenicis. [11]

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. [12] 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. [13] 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"=""]&&exit0source"$PLAYONLINUX/lib/sources" POL_SetupWindow_Init  POL_SetupWindow_message"Hello World!""My first message" POL_SetupWindow_Close exit

See also

References

  1. 1 2 "PlayOnLinux - elementary OS". elementary OS (in French). Retrieved 9 July 2020.
  2. Larabel, Michael (2019-01-01). "PlayOnLinux 5.0 Alpha 2 Now Available". Phoronix. Retrieved 2025-08-31.
  3. "PlayOnLinux and PlayOnMac 4 (POL-POM-4)". GitHub . 21 November 2021.
  4. "PlayOnLinux/PlayOnLinux_3". GitHub . 2 June 2021.
  5. 1 2 Larabel, Michael (2015-06-04). "PlayOnLinux 5 To Switch From Being Written In Python To Using Java". Phoronix. Retrieved 2025-08-31.
  6. "PlayOnBSD". FreshPorts.
  7. "PlayOnMac".
  8. Raggi, Emilio; Thomas, Keir; Channelle, Andy; Parsons, Trevor; Vugt, Sander van; Thomas, Adam (2011-01-10). Beginning Ubuntu Linux. New York: Apress. p. 410-412. ISBN   978-1-4302-3040-3.
  9. Michael Mielewczik, "Gereifter Jahrgang. Windows-Programme unter Linux mit Wine 1.0.", Linux Life, vol. 5/2008, pp. 62–64
  10. Esselbach, Philipp (2011-08-20). "PlayOnLinux 4.0 released". Linux Compatible. Retrieved 2025-08-31.
  11. 1 2 Larabel, Michael (2018-09-23). "PlayOnLinux 5.0 Alpha Released With Redesigned UI, Phoenicis". Phoronix. Retrieved 2025-08-31.
  12. Grant, Rickford (2012). Ubuntu Made Easy. San Francisco: No Starch Press. p. 331. ISBN   978-1-59327-425-2.
  13. "Documentation - PlayOnLinux". Archived from the original on 2016-03-13.