Terminal Commands to install Linux applications on PS4 Distros

Detailed instructions to install all major Linux applications (Steam, Retroarch, PCSX2, Wine, DXVK, VKD3D, etc.) on PS4 Linux distros (Ubuntu, Fedora, Arch, etc.)

Do you want to install Steam on your newly made PS4 Linux distro? Or, do you want to install Wine to the PS4 Distro you use? Worry not, this page contains the detailed instructions and terminal commands to install common Linux applications on your PS4 distro.

If you need instructions for any other applications, just leave a comment below.

Wine

I have also added the command to install Winetricks. Winetricks is a neat tool that makes downloading and installing Windows dependencies easier. Learn more about it here.

Install Wine and Winetricks on Fedora for PS4

These commands will work for Fedora and Fedora-based distros for PS4.

  1. Open Terminal
    • For Fedora 35, type sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/35/winehq.repo and press Enter.
    • For Fedora 34, type sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo and press Enter.
  2. There are three versions of Wine – stable, development and staging. Choose which of these you need and here are the commands to install each of these.
    • Stable – sudo dnf install winehq-stable
    • Development – sudo dnf install winehq-devel
    • Staging – sudo dnf install winehq-staging
  3. Type cd "${HOME}/Downloads" and press Enter.
  4. Type wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks and press Enter.
  5. Type chmod +x winetricks and press Enter.
  6. Type sudo cp winetricks /usr/local/bin and press Enter.
  7. Type sudo rm winetricks and press Enter.

Install Wine and Winetricks on Ubuntu for PS4

These commands will work for Ubuntu and Ubuntu-based distros for PS4.

  1. Open Terminal
  2. Type sudo dpkg --add-architecture i386 and press Enter.
  3. Type wget -nc https://dl.winehq.org/wine-builds/winehq.key and press Enter.
  4. Type sudo apt-key add winehq.key and press Enter.
  5. There are three versions of Wine – stable, development and staging. Choose which of these you need and here are the commands to install each of these.
  6. Depending on the Ubuntu version, type the suitable command as given below to add Wine repository:
    • Ubuntu 21.10 – sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
    • Ubuntu 21.04 – sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
    • Ubuntu 20.10 – sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  7. Decide which edition of Wine you would like to install and run the suitable command, as given below.
    • Stable – sudo apt-get install winehq-stable
    • Development – sudo apt-get install winehq-devel
    • Staging – sudo apt-get install winehq-staging
  8. Type sudo rm winehq.key and press Enter.
  9. Type cd "${HOME}/Downloads" and press Enter.
  10. Type wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks and press Enter.
  11. Type chmod +x winetricks and press Enter.
  12. Type sudo cp winetricks /usr/local/bin and press Enter.
  13. Type sudo rm winetricks and press Enter.

That’s it. To check the installation of Wine and Winetricks on your PS4 distro, you can run the following commands on terminal:-

  • winecfg
  • winetricks

Steam

Install Steam on Fedora for PS4

  1. Open terminal.
  2. Type sudo dnf install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm and press Enter.
  3. Type sudo dnf install steam and press Enter.

Install Steam on Ubuntu for PS4

  1. Open terminal.
  2. Type sudo apt-get install steam and press Enter.

Install Steam on Arch Linux for PS4

  1. Open terminal.
  2. Type sudo pacman -S steam and press Enter.

This would add Steam to your Applications Menu, if you have one. Else, you can run Steam by typing steam and pressing Enter on the terminal.

PCSX2

Install PCSX2 on Fedora for PS4

To install Steam on Fedora, the RPM Fusion repository must be installed first. We will do that first and then, install PCSX2.

  1. Open Terminal.
  2. Type sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm and press Enter.
  3. Type sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm and press Enter.
  4. Type sudo dnf install pcsx2 and press Enter.

Install PCSX2 on Ubuntu for PS4

The installation on Ubuntu is much simpler, as the default repository contains PCSX2.

  1. Open Terminal.
  2. Type sudo apt-get install pcsx2 and press Enter.

Install PCSX2 on Arch Linux for PS4

Like Ubuntu, Arch Linux’s default repository too contains PCSX2. So, the installation is simple.

  1. Open Terminal.
  2. Type sudo pacman -S pcsx2 and press Enter.

Retroarch

Install Retroarch on Fedora for PS4

  1. Open terminal.
  2. Type sudo dnf install retroarch and press Enter.

Install Retroarch on Ubuntu for PS4

  1. Open terminal.
  2. Type sudo apt-get install retroarch and press Enter.

Install Retroarch on Arch Linux for PS4

  1. Open terminal.
  2. Type sudo pacman -S retroarch and press Enter.

Dolphin Emulator

Install Dolphin Emulator on Fedora for PS4

  1. Open terminal.
  2. Type sudo dnf install dolphin-emu and press Enter.

Install Dolphin Emulator on Ubuntu for PS4

  1. Open terminal.
  2. Type sudo apt-get install dolphin-emu and press Enter.

Install Dolphin Emulator on Arch Linux for PS4

  1. Open terminal.
  2. Type sudo pacman -S dolphin-emu and press Enter.

Gamescope

Gamescope is a neat little application that will help you upscale the windows. As the name suggests, it comes in handy for gaming.

Install Gamescope on Fedora for PS4

  1. Open terminal.
  2. Type sudo dnf install gamescope and press Enter.

Install Gamescope on Ubuntu for PS4

  1. Open terminal.
  2. Type sudo add-apt-repository ppa:ar-lex/gamescope and press Enter.
  3. Then, type sudo apt update and press Enter.
  4. Finally, to install Gamescope, type sudo apt install gamescope and press Enter.

Install Gamescope on Arch Linux for PS4

  1. Open terminal.
  2. Type sudo pacman -S gamescope and press Enter.

DXVK

DXVK is a piece of software that allows Vulkan to run Direct3D 9, 10 and 11 through Wine. This is useful if you plan on gaming on your PS4 Distro. The installation ios pretty straightforward and the instructions remain same for almost every distro.

Install DXVK on PS4 Linux

  1. If you haven’t run Wine before, type winecfg and press Enter. This will create the Wine prefix if not created. Do not run this as root though.
  2. Download the latest release of DXVK (.tar.gz). Get the download link from the Downloads section.
  3. Go to the Downloads folder and open a terminal there.
  4. Extract the DXVK file using the command, for example – sudo tar -xvf dxvk-1.10.tar.gz. Please note that you might have to change the filename, as the version changes.
  5. Go into the extracted folder and open a terminal there.
  6. Type ./setup_dxvk.sh install and press Enter.
  7. That’s it!

VKD3D-Proton

VKD3D-Proton, forked from VKD3D enables the full Direct3D 12 API on top of Vulkan. This helps bring Direct3D 12 support in Proton. In simple words, this will help you run games with DirectX 12 games on Wine. Like DXVK, the installation instructions are the same for every distro.

Install VKD3D-Proton on PS4 Linux

  1. If you haven’t run Wine before, type winecfg and press Enter. If not already created, this will create the Wine prefix . Do not run this as root.
  2. Download the latest release of VKD3D-Proton (.tar.zst). Get the download link from the Downloads section.
  3. Go to the Downloads folder and open a terminal there.
  4. Install zstd (a program to extract the VKD3D file)
    1. On Fedora, type sudo dnf install zstd and press Enter.
    2. On Ubuntu, type sudo apt-get install zstd and press Enter.
  5. Extract the VKD3D file using the command, for example – sudo tar --use-compress-program=unzstd -xvf vkd3d-proton-2.6.tar.zst. Please note that you might have to change the filename, as the version changes.
  6. Go into the extracted folder and open a terminal there.
  7. Type ./setup_vkd3d_proton.sh install and press Enter.
  8. That’s it!

Mangohud

Mangohud is an overlay software that displays FPS< temperature, CPU usage, etc. while gaming for Linux. This is similar to what MSI Afterburner does on Windows. It is a good idea to monitor the FPS and other details while gaming. While most distros have Mangohud in their official repositories, I have seen errors while installing from them. But, adding a few more steps, you could have a working version of Mangohud on your PS4 Linux distro. Here, I have detailed those steps. The installation instructions are the same for every distro.

Install Mangohud on any PS4 Linux distro

  1. Download the latest release of Mangohud (tar.gz) from the link in Downloads section.
  2. Extract the tar.gz file you just downloaded.
  3. Open the MangoHud folder.
  4. Open a terminal within that folder.
  5. Type ./mangohud-setup.sh install and press Enter.
  6. Provide your sudo password and press Enter.

That’s all you need to have Mangohud running on your Linux distro.

Gparted

Gparted is a GUI-based application manager for Linux. It does come in handy when installing PS4 Linux distros using the alternate method or even for multi-boot. Follow these instructions to install it on your Linux distro.

Install Gparted on Fedora for PS4

  1. Open terminal.
  2. Type sudo dnf install gparted and press Enter.

Install Gparted on Ubuntu for PS4

  1. Open terminal.
  2. Type sudo apt install gparted and press Enter.

Install Gparted on Arch Linux for PS4

  1. Open terminal.
  2. Type sudo pacman -S gparted and press Enter.

Conclusion

Now, those were the commands to install many important applications on you PS4 Linux. Remember that this article will be updated with the commands for many others with time. Bookmark the page and keep visiting from time to time to get the latest updates.

9 Comments

  1. Could you please make a tutorial on how to fix virtualbox running on ps4 linux cause I’m running into an issue that I couldn’t find on the internet, since it’s related to the ps4, [Kernel driver not installed (rc=-1908)]

        • Can’t really give you a good answer since my system gets stuck at boot with that specific kernel version and wasted my time installing, gosh I thought you had a lot of response for that software, but it seems you guys are only interested with the new operating systems. (Oh, and I followed all the instructions carefully and correctly, it seems my slim is incompatible)

        • Well, we don’t have every possible variation of PS4 systems to test each and every issue that pops up on each and every system. I hope you understand. But, if you do have the patience, join the Discord group, where we could look deeper into the issue at hand.

        • After seeing other responses by other people in the discord server about virtualbox having an error, they are not assisting with the issue and somewhat avoiding it… why? (My main purpose is to run basic windows 8+ based applications not triple a games, I know linux is working with that via proton and wine)

Leave a Reply

Your email address will not be published.


*