Changes

Jump to navigation Jump to search
Line 19: Line 19:     
==Unix-like platforms==
 
==Unix-like platforms==
Currently devkitPro provides precompiled versions of devkitARM for the following Unix-like platforms: Linux (x86/x64), macOS (universal binary). Note that Linux x64 binaries are usable under WSL.
+
Currently devkitPro provides precompiled versions of devkitARM for the following Unix-like platforms: Linux (x86_64), macOS (x86_64). Note that Linux x86_64 binaries are usable under WSL.
   −
* First, you need to install curl so the installer can download the devkitARM packages, and you should also install Git - you'll need it to update libctru or share your code on GitHub, among many other things. If you are running Linux, you'll also need wget; it comes preinstalled on most distributions, but not all.
+
* First, you need to install curl so the installer can download the devkitARM packages, and you should also install Git - you'll need it to update libnx or share your code on GitHub, among many other things. If you are running Linux, you'll also need wget; it comes preinstalled on most distributions, but not all.
    
* Find your way into a shell (eg. by opening a Terminal window), and follow the instructions for your OS:
 
* Find your way into a shell (eg. by opening a Terminal window), and follow the instructions for your OS:
Line 34: Line 34:  
curl -L https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl -o devkitARMupdate.pl
 
curl -L https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl -o devkitARMupdate.pl
 
chmod +x ./devkitARMupdate.pl
 
chmod +x ./devkitARMupdate.pl
sudo ./devkitARMupdate.pl /opt/devkitpro
+
./devkitARMupdate.pl
 
</pre>
 
</pre>
   −
* Finally, we need to tell your shell where to find the devkitARM binaries.
+
You can either use sudo here or chown /opt/devkitpro to be writable by your user before running the script.
<pre>
  −
echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
  −
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
  −
source ~/.bashrc
  −
</pre>
      
= Building the examples =
 
= Building the examples =

Navigation menu