0

I am trying to install devkitPro in Ubuntu 18.04, and they are indicating that the packages are available using pacman package manager. I have installed pacman with the command sudo apt install pacman. They are indicating about using the command pacman-key --init too, but when I have attempt to use pacman-key, I get the message pacman-key: command not found.

Has someone try this before?

Thank you in advance!

1

There is a deb file here: https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb

Download it via:

wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb

Install it via:

dpkg -i devkitpro-pacman.deb

This particular step will take a bit to complete but hang on. It will finish in several minutes:

gpg: Generating pacman keyring master key...

After it's done,

dkp-pacman -S switch-dev

You can replace switch-dev with whatever system for which you want to develop.

Log out and back in and the directory containing the binaries will be added to you path via /etc/profile.d/devkit-env.sh.

  • Wow! Thank you very much! I got these packages installed already. – José Roberto García Chico Apr 8 '19 at 14:15
  • I found that at the end of bash dkp-pacman -S switch-dev the .sh files in /etc/profile.d folder are missing the execution flag (chmod +x ...) – José Roberto García Chico Apr 8 '19 at 14:16
  • @JoséRobertoGarcíaChico They do not need to be executable. They are sourced just like ~/.bashrc and ~/.bash_profile. – Nasir Riley Apr 8 '19 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.