• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install playonlinux on Ubuntu

{{postValue.id}}

To install playonlinux on Ubuntu

PlayOnLinux is a software tool that is used to install and run window applications on Linux operating systems. It will act as a front end GUI tools and wine will act as back end tool to install windows based applications. Installation of PlayOnLinux is explained in this article.


To Install PlayOnLinux

Update the repositories before installing any kind of packages.

root@linuxhelp:~# apt-get update
Get:1 http://in.archive.ubuntu.com wily InRelease [218 kB]
Get:2 http://security.ubuntu.com wily-security InRelease [65.9 kB]
Get:3 http://security.ubuntu.com wily-security/main Sources [53.2 kB]
Get:4 http://security.ubuntu.com wily-security/restricted Sources [2,854 B]    
.
.
.
Get:64 http://in.archive.ubuntu.com wily-backports/multiverse i386 Packages [28 B]
Get:65 http://in.archive.ubuntu.com wily-backports/main Translation-en [496 B]
Get:66 http://in.archive.ubuntu.com wily-backports/multiverse Translation-en [28 B]
Get:67 http://in.archive.ubuntu.com wily-backports/restricted Translation-en [28 B]
Get:68 http://in.archive.ubuntu.com wily-backports/universe Translation-en [1,390 B]
Fetched 32.7 MB in 1min 23s (394 kB/s)                                         
Reading package lists... Done

Run the following command to install PlayOnLinux.

root@linuxhelp:~# apt-get install playonlinux -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
.
.
.
Setting up unixodbc (2.3.1-3) ...
Setting up odbcinst (2.3.1-3) ...
Setting up wine1.6 (1:1.6.2-0ubuntu10) ...
Setting up wine (1:1.6.2-0ubuntu10) ...
Setting up playonlinux (4.2.6-1) ...
Setting up wine1.6-amd64 (1:1.6.2-0ubuntu10) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9.1) ...

Accept the license agreement and Click enter to proceed further.

Installation-PlayOnLinux-install-run-window-applications-Ubuntu-configuring-ttf-mscorefonts
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-configuring-ttf-mscorefonts-license

After installation, execute the following command to open PlayOnLinux or search it in unity dashboard.

root@linuxhelp:~# playonlinux
Looking for python... 2.7.10 - selected
PlayOnLinux is not supposed to be run as root. Sorry

The above error occurs, if you execute as root user.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-execute-as-root-user

To fix this issue, move to /usr/share/playonlinux/lib directory and edit the “ sources” file.

root@linuxhelp:~# cd /usr/share/playonlinux/lib
root@linuxhelp:/usr/share/playonlinux/lib# ls
debug.lib       playonlinux.lib  setupwindow.lib  website.lib
deprecated.lib  plugins.lib      sources          wine.lib
dosbox.lib      scripts.lib      variables
root@linuxhelp:/usr/share/playonlinux/lib# vim sources

Comment the following lines in the file.

#if [ " $(id -u)"  = " 0"  ]
#then
#       echo " PlayOnLinux is not supposed to be run as root. Sorry" 
#       exit
#fi

Move to the " python" directory and edit “ mainwindow.py” file

root@linuxhelp:/usr/share/playonlinux/lib# cd /usr/share/playonlinux/python
root@linuxhelp:/usr/share/playonlinux/python# ls
configure.py   gui_server.pyc  lib             sp.py              wrapper.pyc
configure.pyc  guiv3.py        mainwindow.py   sp.pyc
debug.py       guiv3.pyc       mainwindow.pyc  wine_versions.py
debug.pyc      install.py      options.py      wine_versions.pyc
gui_server.py  install.pyc     options.pyc     wrapper.py
root@linuxhelp:/usr/share/playonlinux/python# vim mainwindow.py

Comment the following lines in that file.

# if(os.popen(" id -u" ).read() == " 0
"  or os.popen(" id -u" ).read() == " 0" ):
# wx.MessageBox(_(" {0} is not supposed to be run as root. Sorry" ).format(os.environ[" APPLICATION_TITLE" ]),_(" Error" ))
# os._exit(0)

Execute the following command to open PlayOnLinux.

root@linuxhelp:~# playonlinux
Looking for python... 2.7.10 - selected
[main] Message: PlayOnLinux (4.2.6) is starting
[clean_tmp] Message: Cleaning temp directory

Now click “ Install a program”
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Install-a-program

Choose the Application to install from any categories in the top panel.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Choose-picasa-Application

Click “ Next”
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-PlayOnLinux-Installation-wizard

We can install software from local drive or download it form internet. Then, choose the second option to download from internet.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-download
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-downloading-PlayOnLinux
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-downloading-wine

Choose your language.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-PlayOnLinux-language

Click “ Next”
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-PlayOnLinux-wizard

Now Agree the license agreement and click “ Next”
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-PlayOnLinux-license

Installation-PlayOnLinux-install-run-window-applications-Ubuntu-PlayOnLinux-wizard

The Picasa installation wizard appears. Now agree the terms and conditions.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Picasa-license

Choose the virtual path inside wine to install Picasa and click “ Install”
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Choose-virtual-path

Installation-PlayOnLinux-install-run-window-applications-Ubuntu-install-Picasa

Click “ Finish” and the Picasa GUI appears.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Finish

Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Picasa-viewer-configuration

Installation-PlayOnLinux-install-run-window-applications-Ubuntu-Picasa-GUI

Now you can start using Picasa on PlayOnLinux.
Installation-PlayOnLinux-install-run-window-applications-Ubuntu-start-using-Picasa

Tags:
wyatt
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is playonlinux?

A

PlayOnLinux is a software tool that is used to install and run window 1.Applications on Linux operating systems.

2. It will act as a front-end GUI tools and wine will act as back-end tool to install windows based applications.

Q

How to Install PlayOnLinux on Ubuntu?

A

Run the following command to install PlayOnLinux.

# apt-get install playonlinux

Q

How to open PlayOnLinux on Ubuntu?

A

Execute the following command to open PlayOnLinux.
# playonlinux
Now click &ldquo Install a program&rdquo

Q

Why use PlayOnLinux?

A

1.GUI; no need for the command line interface (CLI).
2. Hides the complexity of Wine.
3. You can manually install "unsupported" applications.

Q

What alternatives are there?

A

For the finest results, either dual-boot with Windows, or run Windows in a virtual machine such as VirtualBox (if your machine can handle it). This gives you 100% compatibility, but of course, you do need a Microsoft Windows license.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.