I need to install Wine or Play on Linux

Linux parrot 4.16.0-parrot12-amd64 #1 SMP Parrot 4.16.12-1parrot12.1 (2018-05-28) x86_64 GNU/Linux
I installed Parrot by Memory stick;
Parrot is configured to multiboot with other systems;

I need to install Wine or Play on Linux, about to play old Win games.
( By using Synaptic Package Manager Play on Linux appears as a topic inside menu: Applications - Accessories, but when I click on it nothing happens. )

Try using Wine, it should already be installed.
Or you can try running playonlinux inside the command line and it should give you an output with the errors (probably missing dependencies) that will help you solve the problem.

$playonlinux
Reading profile /etc/firejail/playonlinux.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 3023, child pid 3024
Child process initialized in 96.64 ms
Looking for python…
Looking for python2.7…
Looking for python2.6…
Looking for python2…
Please install python before trying to run this program

Parent is shutting down, bye…

Checking with Synaptic Package Manager there was no one row containing Python
Attempting to install Python 2.7 I executed all the commands at:

How to install python 2.7 on debian · GitHub

Unfortunately the last line execution reported: Command not found

After installation of Python 2.7 and checking with Synaptic Package Manager there were many rows containing Python, but:

$playonlinux
Reading profile /etc/firejail/playonlinux.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 3023, child pid 3024
Child process initialized in 96.64 ms
Looking for python…
Looking for python2.7…
Looking for python2.6…
Looking for python2…
Please install python before trying to run this program

Parent is shutting down, bye…

I am not an expert, so I don’t know what to do anymore…

For some reason it doesnt seem to have the right permissions to run. It isn’t able to use python or other executables it needs. There maybe an obvious fix to this i will have another look later.

In the meantime try using wine and see if that works it will probably be less hassle than this.

The problem caused by firejail.
Run firejail --noprofile playonlinux

playonlinux didnt find python beacuse not allowed use by firejail.

1 Like

ahh firejail, thats one to remember. (Probably should have been obvious as it says it in the output)

Had a quick look at their documentation and if you want to be able to run it out of the start menu or without running firejail --noprofile playonlinux each time from the command line, you will have to make it a profile.

mkdir $HOME/.config/firejail
cd $HOME/Documents/
cp /etc/firejail/default.profile playonlinux.profile

Then just edit that file putting comments ‘#’ in front of the lines that are restricting the applications functionality (Just do all of them) then run:

mv playonlinux.profile $HOME/.config/firejail/playonlinux.profile

Then whenever you run playonlinux from the menu or the command line it should work.

Im having an issue running wine and playonlinux on parrot 4.6, I installed wine and it shows but when I click on it nothing happens, I installed both wine 32 and wine64, I did post my own topic but it hasnt been posted yet.