Skip to content

Instantly share code, notes, and snippets.

@CybernetiX-S3C
Forked from chattama/gist:3508370
Last active August 2, 2019 23:55
Show Gist options
  • Save CybernetiX-S3C/1813954dd24cfbd7bcb221fe98ca0fef to your computer and use it in GitHub Desktop.
Save CybernetiX-S3C/1813954dd24cfbd7bcb221fe98ca0fef to your computer and use it in GitHub Desktop.
ArchLinux makepkg & pacman on Ubuntu/Debian
## Installing pacman and makepkg on Ubuntu/Debian based OS. (Kali)
# I am building a multiarch pentesting OS.
sudo apt install libarchive-dev bsdtar
git clone git://projects.archlinux.org/pacman.git
cd pacman
./autogen.sh
./configure
make
sudo make install
@gusbemacbe
Copy link

I think you have to update a bit the alternative steps for Ubuntu 19.04 users because the compilation read the wrong libarchive version, the xsltproc library is missed and needs to be installed, the missed libalpm package also needs to be installed and compiled.

In reference to https://stackoverflow.com/questions/9877442/unable-to-compile-pacmanarchlinux-package-manager-in-ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment