Installer le minimalist pspsdk sur Linux via minpspw

This tut should hopefully help anyone who wishes to bother install the minimalist pspsdk. The minimalist pspsdk is also used to compile programs to run on the psp but does not include everything included in the psptoolchain, only the necessary files.

These steps should work fine on the most popular linux distributions (Ubuntu, Mint, Debian, etc.) I personally tested them on Debian.

step #1 – download the latest version of minpspw

Visit the minpspw and download the version fitting for your linux distribution and architecture (32-bit or 64-bit).

step #2 – install minpspw

cd to the location you choose to save the minpspw installation package (for example, mine was /home/debian-vm/Downloads) and execute this command:

sudo dpkg -i minpspw.deb

That should install the necessary files from the installation package.

step #3 – set up the environment variables (in .profile)

cd to /home (simply cd), then run this command:

gedit .profile

Once .profile opens, add these two lines to the bottom:

export PATH=$PATH:/opt/pspsdk/bin
export PSPSDK=/opt/pspsdk

Then save and close .profile.

step #4 – install additional packages

afaik there is only one necessary additional package that needs to be installed, so run this command :

sudo apt-get install zlib1g-dev

That being said, there are additional packages that are extremely useful, although they’re not absolutely necessary for this process. however, i suggest you install them anyway.

These packages include:

gcc, automake, make, subversion, wget, git

step #5 – reboot

Surely I don’t need to walk you through this step.

Once you have rebooted, the process should be complete. To verify, start a new terminal and enter this command :

psp-gcc --version

The output should look like this:
psp-gcc (GCC) 4.3.5
Copyright (C) Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If your output looks similar to that, congrats! Get to coding! If the response is something like « psp-gcc not found », then you did something wrong.
Go through the steps again and make sure you followed them correctly, and if you’re still having trouble feel free to make a post.