Installation on Ubuntu/Debian

Dependencies

The PSPDEV toolchain requires a couple of dependencies to be installed before use. To install them, run the following command from a terminal:

sudo apt-get update
sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgpgme11 libarchive-tools fakeroot

Toolchain

Installing the PSPDEV toolchain itself can be done with the following steps:

  1. Download the latest version of the toolchain here.
  2. Extract the downloaded archive into your home directory, resulting in /home/YOURUSERNAME/pspdev being created.
  3. To make the toolchain usable, some environment variables need to be set. The first step in doing so it to open the ~/.bashrc file with the nano text editor using the following command from a terminal:
     nano ~/.bashrc
    
  4. Add the following lines at the bottom of the file in the text editor:
     export PSPDEV="$HOME/pspdev"
     export PATH="$PATH:$PSPDEV/bin"
    
  5. Now save and exit by pressing Ctrl+X, then Y and then enter/return.
  6. Close the current terminal and open a new one.
  7. From the new terminal, run the following command to confirm everything is set up correctly:
     psp-config --pspdev-path
    

That’s it, now the PSPDEV toolchain can be used to build PSP software. Check out the Basic Programs page to for examples on what you can do with it.