pacman in Ubuntu 18.04

7,652

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.

Share:
7,652

Related videos on Youtube

José Roberto García Chico
Author by

José Roberto García Chico

By day, focused on my work, by night, taking care of my family; For fun, learning about IT at home, papercraft, and reading blogs about makers, science and related.

Updated on September 18, 2022

Comments

  • José Roberto García Chico
    José Roberto García Chico over 1 year

    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!

  • José Roberto García Chico
    José Roberto García Chico about 5 years
    Wow! Thank you very much! I got these packages installed already.
  • José Roberto García Chico
    José Roberto García Chico about 5 years
    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 ...)
  • Nasir Riley
    Nasir Riley about 5 years
    @JoséRobertoGarcíaChico They do not need to be executable. They are sourced just like ~/.bashrc and ~/.bash_profile.