Skip to content

Commit 9b1c9b3

Browse files
authored
Merge pull request #89 from pspdev/add-debian-build
Add debian build
2 parents b812a97 + 46fcdc6 commit 9b1c9b3

File tree

4 files changed

+52
-4
lines changed

4 files changed

+52
-4
lines changed

downloads.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ nav_order: 7
99

1010
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:
1111

12-
- [Windows/Ubuntu/Debian](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz)
12+
- [Windows/Ubuntu](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz)
1313
- [MacOS (arm64)](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-latest-arm64.tar.gz)
1414
- [MacOS (x86_64)](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-13-x86_64.tar.gz)
1515
- [Fedora](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-fedora-latest.tar.gz)
16+
- [Debian](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-debian-latest.tar.gz)
1617
- [Docker](https://hub.docker.com/r/pspdev/pspdev)
1718

1819
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.

installation.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Pick the installation guide for your system:
1111

1212
- [Windows](installation/windows.html)
1313
- [MacOS](installation/macos.html)
14-
- [Ubuntu/Debian](installation/ubuntu.html)
14+
- [Ubuntu](installation/ubuntu.html)
1515
- [Fedora](installation/fedora.html)
16+
- [Debian](installation/debian.html)
1617

1718
If your operating system is not listed above, use the [Docker installation guide](installation/docker.html).

installation/debian.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Installation on Debian
3+
layout: home
4+
nav_exclude: true
5+
---
6+
7+
# Installation on Debian
8+
{: .fs-8 .fw-700 .text-center }
9+
10+
## Dependencies
11+
{: .fs-6 .fw-700 }
12+
13+
The PSP SDK requires a couple of dependencies to be installed before use. To install them, run the following command from a terminal:
14+
15+
```shell
16+
sudo apt-get update
17+
```
18+
19+
```shell
20+
sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgpgme11 libarchive-tools fakeroot
21+
```
22+
23+
## Toolchain
24+
{: .fs-6 .fw-700 }
25+
26+
Installing the PSP SDK itself can be done with the following steps:
27+
28+
1. Download [the latest version of the toolchain here](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-debian-latest.tar.gz).
29+
2. Extract the downloaded archive into your home directory, resulting in `/home/YOURUSERNAME/pspdev` being created.
30+
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:
31+
```shell
32+
nano ~/.bashrc
33+
```
34+
4. Add the following lines at the bottom of the file in the text editor:
35+
```shell
36+
export PSPDEV="$HOME/pspdev"
37+
export PATH="$PATH:$PSPDEV/bin"
38+
```
39+
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.
40+
6. Close the current terminal and open a new one.
41+
7. From the new terminal, run the following command to confirm everything is set up correctly:
42+
```shell
43+
psp-config --pspdev-path
44+
```
45+
46+
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.

installation/ubuntu.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: Installation on Ubuntu/Debian
2+
title: Installation on Ubuntu
33
layout: home
44
nav_exclude: true
55
---
66

7-
# Installation on Ubuntu/Debian
7+
# Installation on Ubuntu
88
{: .fs-8 .fw-700 .text-center }
99

1010
## Dependencies

0 commit comments

Comments
 (0)