Skip to content

Commit 67ee590

Browse files
committed
Add Debian installation instructions
1 parent c897671 commit 67ee590

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

Diff for: 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-x86_64.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.

0 commit comments

Comments
 (0)