Skip to content

Commit e08580b

Browse files
committed
Add Fedora and MacOS installation pages
1 parent fba93ba commit e08580b

2 files changed

Lines changed: 88 additions & 0 deletions

File tree

installation/fedora.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Installation on Fedora
3+
layout: home
4+
nav_exclude: true
5+
---
6+
7+
# Installation on Fedora
8+
{: .fs-10 .fw-700 .text-center }
9+
10+
## Dependencies
11+
{: .fs-6 .fw-700 }
12+
13+
The PSPDEV toolchain 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 dnf -y install @development-tools cmake bsdtar libusb-compat-0.1 gpgme fakeroot xz nano
17+
```
18+
19+
### Toolchain
20+
{: .fs-6 .fw-700 }
21+
22+
Installing the PSPDEV toolchain itself can be done with the following steps:
23+
24+
1. Download [the latest version of the toolchain here](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-fedora-latest.tar.gz).
25+
2. Extract the downloaded archive into your home directory, resulting in `/home/YOURUSERNAME/pspdev` being created.
26+
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:
27+
```shell
28+
nano ~/.bashrc
29+
```
30+
4. Add the following lines at the bottom of the file in the text editor:
31+
```shell
32+
export PSPDEV="~/pspdev"
33+
export PATH="$PATH:$PSPDEV/bin"
34+
```
35+
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.
36+
6. Close the current terminal and open a new one.
37+
7. From the new terminal, run the following command to confirm everything is set up correctly:
38+
```shell
39+
psp-config --pspdev-path
40+
```
41+
42+
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](/basic_programs.html) page to for examples on what you can do with it.

installation/macos.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Installation on MacOS
3+
layout: home
4+
nav_exclude: true
5+
---
6+
7+
# Installation on MacOS
8+
{: .fs-10 .fw-700 .text-center }
9+
10+
## Dependencies
11+
{: .fs-6 .fw-700 }
12+
13+
The PSPDEV toolchain requires a couple of dependencies to be installed before use. Installing them can be done using [brew](https://brew.sh/).
14+
15+
Once brew is installed, run the following command from a terminal to install the dependencies:
16+
17+
```shell
18+
brew install cmake pkgconf gnu-sed bash openssl libtool libarchive gettext texinfo bison flex isl gsl gmp mpfr
19+
```
20+
21+
### Toolchain
22+
{: .fs-6 .fw-700 }
23+
24+
Installing the PSPDEV toolchain itself can be done with the following steps:
25+
26+
1. Download the latest version of the toolchain for your system here:
27+
- [arm64](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-latest-arm64.tar.gz) for M1 or newer CPUs.
28+
- [x86_64](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-macos-13-x86_64.tar.gz) for Intel CPUs.
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 `~/.zprofile` file with the `pico` text editor using the following command from a terminal:
31+
```shell
32+
pico ~/.zprofile
33+
```
34+
4. Add the following lines at the bottom of the file in the text editor:
35+
```shell
36+
export PSPDEV="~/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 PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](/basic_programs.html) page to for examples on what you can do with it.

0 commit comments

Comments
 (0)