Skip to content

Add debian build #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
46 changes: 46 additions & 0 deletions installation/debian.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions installation/ubuntu.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down