From c897671974b410d50c8a6b30aa959a193c12a582 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Mon, 7 Apr 2025 10:21:25 +0200 Subject: [PATCH 1/3] Add debian build --- downloads.md | 3 ++- installation.md | 3 ++- installation/ubuntu.md | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/downloads.md b/downloads.md index ae6614d..baf49d5 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-x86_64.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/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 From 67ee590d89e002b079949b8f99a31d0dfe818329 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Mon, 7 Apr 2025 10:21:52 +0200 Subject: [PATCH 2/3] Add Debian installation instructions --- installation/debian.md | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 installation/debian.md diff --git a/installation/debian.md b/installation/debian.md new file mode 100644 index 0000000..5798095 --- /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-x86_64.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. From 46fcdc648b837b9199720463c607db1be2e5cc47 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Tue, 8 Apr 2025 13:37:51 +0200 Subject: [PATCH 3/3] Fix Debian toolchain download links --- downloads.md | 2 +- installation/debian.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/downloads.md b/downloads.md index baf49d5..0e759b4 100644 --- a/downloads.md +++ b/downloads.md @@ -13,7 +13,7 @@ Download the latest update for the PSP SDK here. If you don't have it setup yet, - [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-x86_64.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/debian.md b/installation/debian.md index 5798095..861a595 100644 --- a/installation/debian.md +++ b/installation/debian.md @@ -25,7 +25,7 @@ sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgp 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-x86_64.tar.gz). +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