Install Linux & Steam on PS4: Full Guide
In this article
Yes, you can install Linux and run Steam on a PlayStation 4, but only on the original PS4 and PS4 Slim models (not the PS4 Pro, and not the PS5). This works because the PS4's system software is based on FreeBSD, and Sony left a security exploit open that lets you run a custom bootloader. The result is a full desktop Linux system (usually Ubuntu or Arch) that can run Steam, including many older and indie games, though performance is limited by the system's AMD Jaguar CPU and integrated GPU. You will need a USB drive, a PC to prepare it, and a willingness to follow steps carefully—this is not a one-click process.
What You'll Need
- A PS4 (original or Slim model) with firmware version 9.00 or lower. Check your firmware in Settings > System > System Information.
- A USB flash drive (at least 16GB, preferably 32GB) for the Linux installer.
- A USB flash drive (or external HDD) for storing games, if you plan to install many.
- A PC (Windows, Mac, or Linux) to download and write the installer image.
- A stable internet connection on the PS4 (for the exploit payload).
- Basic comfort with command line and partitioning.
Step-by-Step
- Check your PS4 firmware. If it's above 9.00, you cannot proceed with the public exploit. Do not update your PS4 past 9.00. If you're already on a higher firmware, this guide won't work for you.
- Back up any data you care about. The process will wipe the PS4's internal drive. Use the PS4's backup feature (Settings > System > Back Up and Restore) to save game saves and captures to a USB drive.
- Download the required files on your PC:
- The PS4 Linux payload (e.g., "ps4-hen" or "ps4-linux") from a trusted source like the official GitHub repository of the project.
- A Linux distribution image for PS4 (e.g., Ubuntu 20.04 or Arch Linux ARM) from the project's official download page.
- Etcher or Rufus (free USB writing tools).
- Write the Linux image to the USB drive. Use Etcher (Windows/Mac/Linux) to flash the .img file to the USB. This will erase the USB drive, so make sure it's empty.
- Prepare the exploit USB. Create a second USB drive (or a partition on the same drive) formatted as FAT32. Copy the payload files (the .bin or .elf file) to the root of this drive.
- On the PS4, go to Settings > User's Guide. This opens the web browser. Navigate to the exploit page that you host on your PC (or use a pre-hosted site like the one provided by the exploit developer). The page will run the exploit and install the HEN (Homebrew Enabler) payload.
- Once HEN is active, insert the Linux USB drive. The PS4 will detect it and show a notification. Reboot the PS4.
- During reboot, the PS4 will boot from the USB drive. You'll see a Linux boot screen. Follow the on-screen prompts to install Linux to the internal drive. Choose "Erase disk and install" when asked. This will replace the PS4 system with Linux.
- After installation, reboot and remove the USB drive. The PS4 will now boot directly into Linux.
- Install Steam. Open a terminal and run:
sudo apt update && sudo apt install steam(on Ubuntu) or use your distribution's package manager. Alternatively, download the Steam .deb from the official Steam website and install it withsudo dpkg -i steam.deb. - Log into Steam. Use your existing Steam account. The first launch may take a while as it downloads updates.
- Adjust graphics settings. In Steam, go to Settings > In-Game and set the resolution to 720p or 1080p. Use the "Proton" compatibility layer (Steam Play) for Windows games—enable it in Steam Settings > Steam Play.
Common Mistakes
- Using a PS4 Pro or a PS4 with firmware above 9.00. The exploit only works on original/Slim with 9.00 or lower.
- Skipping the backup. The install wipes the internal drive. Without a backup, you lose all saves and captures.
- Using the wrong USB port. Use the front USB port on the PS4 for the exploit drive; the rear ports may not work for booting.
- Not disabling automatic updates. If the PS4 updates, you'll lose the exploit. Go to Settings > System > Automatic Downloads and uncheck everything.
- Expecting PS4 games to run. Linux on PS4 cannot play PS4 games. Steam games only.
Tips
- Use a lightweight Linux desktop (like Xfce) for better performance.
- Install games on an external USB 3.0 drive to save internal space.
- For older games, enable Steam Play and set Proton to the latest version.
- Keep a copy of the exploit files on your PC in case you need to re-run it.
- If you want to revert to the original PS4 system, you can reinstall the PS4 firmware via Safe Mode (hold the power button for 7 seconds). This will wipe Linux.
Troubleshooting
If the exploit doesn't load, try clearing the PS4 browser cache (Settings > Storage > System Storage > Browser Data). If the PS4 doesn't boot from the USB, make sure the USB is formatted correctly (FAT32 for the exploit, and the Linux installer must be written as a disk image, not just copied). If Linux installs but Steam won't launch, update your graphics drivers: sudo apt install mesa-utils. If the system freezes during gameplay, lower the resolution and graphics settings in Steam.
Frequently Asked Questions
Can I do this on a PS4 Pro?
No. The exploit is not available for the PS4 Pro due to hardware differences.
Will I be able to play PS4 games?
No. Linux replaces the PS4 operating system, so you can only run Linux software, including Steam games.
Is this legal?
It's a gray area. It violates Sony's terms of service, but it's not illegal in most countries for personal use. Check your local laws.
Can I go back to the normal PS4 system?
Yes. You can reinstall the PS4 firmware via Safe Mode, but it will erase all data on the internal drive.
Will Steam games run at full speed?
No. The PS4's CPU and GPU are old, so expect low-to-medium settings at 720p/1080p for many games. Indie and older titles run well.
Do I need to keep the exploit USB plugged in?
No. Once Linux is installed, the USB is only needed for future re-installs or updates.