In this article, we will examine how to set up and use PlayOnLinux 4.3.4, which allows you to run Windows-compatible software or games on a computer with Kali Linux 2022 (2022.3).
How to Set Up PlayOnLinux 4.3.4 to Use Windows Software on Kali Linux 2022.3
Thanks to PlayOnLinux, you can install the applications you commonly use in Windows on your Linux computer and continue to use the programs you have mastered. PlayOnLinux software offers users a simpler interface by using the Wine infrastructure, so users can search for software they want to install from the software database and quickly install it on their systems.
If you are using Kali Linux and one of the other Linux distributions, you can install this software on your system correctly and install the setup files with EXE or MSI extensions.
PlayOnLinux may not support every application, so you need to check the database of applications that can be run by Wine or test the software you are going to install. Generally, you can run useful applications on your system as it supports many applications that run on Windows.
How to Download and Install PlayOnLinux
In order to run x86 (32 Bit) Windows applications on your Kali Linux computer, you need to enable 32 Bit architecture. Thus, you can easily install and run both 32 Bit and 64 Bit applications on your system.
Open the terminal on your Kali PC and execute the “sudo dpkg –add-architecture i386” command to enable 32 Bit and then type your root password and press Enter.
Since Kali is based on Debian, you need to add the Debian repository address to fix some incompatibility issues and install the necessary packages. Execute the command below to add the repository address using the echo command in the terminal, and finally update the software database with the “sudo apt update” command.
sudo dpkg --add-architecture i386
echo "deb http://deb.debian.org/debian bullseye contrib" | sudo tee -a /etc/apt/sources.list
sudo apt update
After checking the new versions of the available packages and refreshing the addresses, you need to install the necessary Wine application for PlayOnLinux on your system. You can also do this software later in the program’s settings, but to install the latest version, install both 32 Bit and 64 Bit versions of the Wine software on your system.
sudo apt install wine32 wine64 -y
After installing Wine32 and Wine64, you now need to download the PlayOnLinux.deb package to your system. To go to the location where you will download the deb package, execute the “cd ~/Downloads” command in the terminal and then the wget command.
After downloading the PlayOnLinux_4.3.4.deb package, execute the command “sudo dpkg -i PlayOnLinux_4.3.4.deb” to install it. If you see that the dependent packages are not installed on your system in the terminal as in the image below, run the “sudo apt install -f” command again to download and install these packages from the servers.
After installing PlayOnLinux you can use the “playonlinux –version” command in the terminal to check its version and then the “playonlinux” command to run it. To check the version after running the program, you can open the relevant window by clicking Help / About from the tool menu.
Find PlayOnLinux in the start menu of your computer and run it.
After clicking Install a program from the Actions panel, click Install a non-listed program in the window that opens.
After reading what you need to do during the installation in the window that opens, you can now select the option to remind this window and continue.
Continue after reading the notes in the window explaining the PlayOnLinux working principle.
When the Manual Installation window opens, click Next to continue.
Since you will install a new program from the installation options, select Install a program in a new virtual drive and click Next.
Type the name of the program you will install on behalf of the virtual drive and click Next again.
If you plan to install the program with another version of Wine, you can select the Use Another Version of Wine option to choose one of the versions installed on your system and make this setting in the next step.
If you have installed the latest version of Wine, you do not need to set the settings here, so click Next to skip these settings and continue.
If the program you will install at this stage is 32 Bit or 64 Bit, you need to choose an architecture accordingly. Check the 32 bits windows installation option and continue.
Wait while Wine Prefix is being created for your 32 Bit application.
Click the Browse button to select the setup file to run and select the CamStudioSetup.exe file you downloaded to the Downloads location and click Next.
When the CamStudio setup wizard opens, accept the license terms and click Next.
Choose where you want to install CamStudio and click Next.
Leave the default CamStudio name for the start menu folder and click Next.
Choose to create a desktop shortcut for CamStudio and continue.
Confirm to install the MS Visual C++ 2010 Redistributable Package (x86) required for the screen capture program and complete the installation.
Before continuing, read the developments about the program and continue.
Close the CamStudio setup wizard.
Select Recorder.exe and click Next to create a shortcut for the screen capture program by PlayOnLinux.
Type the name of the Recorder or program for the desktop shortcut.
Choose not to create another shortcut and close the wizard.
You can run the program by double-clicking the Recorder shortcut you created on the Kali desktop location.
When you try to use the screen capture program in Kali Linux, you can see that the screen recording is saved as AVI.
How to Uninstall PlayOnLinux
If you no longer want to run Windows-compatible games or programs on your computer, you can remove PlayOnLinux completely after saving your projects.
To completely remove PlayOnLinux from your system, open the terminal and execute the command “sudo apt purge –auto-remove playonlinux” and then press Y and Enter to confirm the packages to be uninstalled.
sudo apt purge --auto-remove playonlinux
Execute the command “sudo apt purge –auto-remove wine*” in the terminal to remove the necessary Wine software for PlayOnLinux.
sudo apt purge --auto-remove wine*
Finally, execute the command “sudo apt autoremove && sudo apt autoclean” in the terminal to clean the junk and residual packages from your Kali Linux system.