diff --git a/downloads.md b/downloads.md index ae6614d..0e759b4 100644 --- a/downloads.md +++ b/downloads.md @@ -9,10 +9,11 @@ nav_order: 7 Download the latest update for the PSP SDK here. If you don't have it setup yet, go to the [installation instructions](installation.html) instead! Otherwise click on the link for your system: -- [Windows/Ubuntu/Debian](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz) +- [Windows/Ubuntu](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz) - [MacOS (arm64)](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-latest-arm64.tar.gz) - [MacOS (x86_64)](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-13-x86_64.tar.gz) - [Fedora](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-fedora-latest.tar.gz) +- [Debian](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-debian-latest.tar.gz) - [Docker](https://hub.docker.com/r/pspdev/pspdev) Alternatively, development builds are available [here](https://github.com/pspdev/pspdev/releases/tag/latest). Only get these if you cannot wait a couple of weeks for a specific new feature or you are working on improving the toolchain itself. diff --git a/installation.md b/installation.md index 91d70c8..76f0a70 100644 --- a/installation.md +++ b/installation.md @@ -11,7 +11,8 @@ Pick the installation guide for your system: - [Windows](installation/windows.html) - [MacOS](installation/macos.html) -- [Ubuntu/Debian](installation/ubuntu.html) +- [Ubuntu](installation/ubuntu.html) - [Fedora](installation/fedora.html) +- [Debian](installation/debian.html) If your operating system is not listed above, use the [Docker installation guide](installation/docker.html). diff --git a/installation/debian.md b/installation/debian.md new file mode 100644 index 0000000..861a595 --- /dev/null +++ b/installation/debian.md @@ -0,0 +1,46 @@ +--- +title: Installation on Debian +layout: home +nav_exclude: true +--- + +# Installation on Debian +{: .fs-8 .fw-700 .text-center } + +## Dependencies +{: .fs-6 .fw-700 } + +The PSP SDK requires a couple of dependencies to be installed before use. To install them, run the following command from a terminal: + +```shell +sudo apt-get update +``` + +```shell +sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgpgme11 libarchive-tools fakeroot +``` + +## Toolchain +{: .fs-6 .fw-700 } + +Installing the PSP SDK itself can be done with the following steps: + +1. Download [the latest version of the toolchain here](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-debian-latest.tar.gz). +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: + ```shell + nano ~/.bashrc + ``` +4. Add the following lines at the bottom of the file in the text editor: + ```shell + 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: + ```shell + psp-config --pspdev-path + ``` + +That's it, now the PSP SDK can be used to build PSP software. Check out the [How to Use](../how_to_use.html) page for a guide on how to do so. diff --git a/installation/ubuntu.md b/installation/ubuntu.md index a533df4..c705497 100644 --- a/installation/ubuntu.md +++ b/installation/ubuntu.md @@ -1,10 +1,10 @@ --- -title: Installation on Ubuntu/Debian +title: Installation on Ubuntu layout: home nav_exclude: true --- -# Installation on Ubuntu/Debian +# Installation on Ubuntu {: .fs-8 .fw-700 .text-center } ## Dependencies