Centos – how can i install pacman (Archlinux Package manager) with its repo (AUR) in CentOS7

arch linuxcentospackage-managementpacman

I am a Arch user and I love it, but I have to use CentOS in my office and at my laptop to comply with my office policy. So I want to use CentOS 7 as my desktop and I also don't want to leave Arch Linux completely. So is there a way by which I can install pacman in CentOS 7 and have test of two different distros?

Best Answer

You can install and use pacman but you can't use AUR repo in CentOS 7

Arch users having to temporarily deal with another Linux distribution can use pacapt, a simple wrapper around other package managers.

To install pacapt run the following commands:

sudo wget -O /usr/local/bin/pacapt \
https://github.com/icy/pacapt/raw/ng/pacapt
sudo chmod 755 /usr/local/bin/pacapt
sudo ln -sv /usr/local/bin/pacapt /usr/local/bin/pacman || true
Related Question