Advertiser Content

Tool Devkitpro on Linux

Started by hackerofdarkness May 10th, 2019 5:25 AM
  • 137 views
  • 3 replies

hackerofdarkness

I have return

Age 20
Male
Don't ask.
Seen 12 Hours Ago
Posted May 10th, 2019
191 posts
9.9 Years
Hi everyone! I recently switched over to Ubunutu 18.04 and I'm having issues installing devkitpro through their precompiled binaries. I've visited the wiki and used the sudo command both as a regular user and as the root, and it installs the libs and another folder, but nothing in relation to devkitpro pops up after the installation.

Thank you for your help!
Hi there.

mgriffin

Seen 47 Minutes Ago
Posted 3 Hours Ago
439 posts
5.2 Years
What do you mean "nothing pops up"? Typically the way I'd expect this to work is that you add the bin directory to your PATH environment variable and then you'll be able to run arm-eabi-none-gcc (etc) from your terminal (or more commonly via a Makefile).

This is probably covered in the instructions. But if not try editing your shell's rc file (probably .bashrc in your home directory unless you're using another shell) to add a line that looks like:
export PATH="/path/to/devkitPro/.../bin:$PATH"
Where /path/to/devkitPro/.../bin is the absolute path to the bin directory that contains arm-eabi-none-* executables.

hackerofdarkness

I have return

Age 20
Male
Don't ask.
Seen 12 Hours Ago
Posted May 10th, 2019
191 posts
9.9 Years
What do you mean "nothing pops up"? Typically the way I'd expect this to work is that you add the bin directory to your PATH environment variable and then you'll be able to run arm-eabi-none-gcc (etc) from your terminal (or more commonly via a Makefile).

This is probably covered in the instructions. But if not try editing your shell's rc file (probably .bashrc in your home directory unless you're using another shell) to add a line that looks like:
export PATH="/path/to/devkitPro/.../bin:$PATH"
Where /path/to/devkitPro/.../bin is the absolute path to the bin directory that contains arm-eabi-none-* executables.
First of all, thank you for your reply. I added the path variable to my shell rc file, and managed to find the directory. However, I'm still getting a syntax error when trying to use "sudo (dkp-)pacman -S gba-dev", and the error being on dkp-. I was able to find the pacman manager for devkitpro, but it seems that the terminal thinks it doesn't exist.

Thank you. :)

mgriffin

Seen 47 Minutes Ago
Posted 3 Hours Ago
439 posts
5.2 Years
Ah sorry, I was under the impression that you'd successfully installed things, but I guess that's not the case if you're still trying to get the package manager working.

Out of interest what path did you add? If it really contains arm-eabi-none-gcc (and friends) then you might just be able to stop worrying about pacman. But I'm guessing that you might want to undo that change and try what I'm suggesting below first.

At any rate, I guess that error is because you want either dkp-pacman or pacman (not sure which, but I guess only one will work). The parens are special syntax in your shell which is why you're getting an error (and why I'm guessing that it's just a poorly-worded set of instructions).
Advertiser Content