Compiling/Installing pacman on Ubuntu

No, this is not the classic game. Here are logs. Just logs.


$ git clone git://projects.archlinux.org/pacman.git
$ cd pacman/
$ ./autogen.sh
$ ./configure LIBS="-lpthread -larchive" # attention here! ./configure without this parameter didn't work on my machine. The error was: DSO missing from command line; something like that.
$ make
$ sudo checkinstall # attention here! You could simply (and näively) do a
sudo make install, however, this wouldn’t create a .deb package. Since we have good tools, we should use them! Now, you can remove pacman anytime you want with dpkg -r pacman. No need for make uninstall.

Why this post? Because of this forum thread.

Compiling/Installing pacman on Ubuntu