Jun's Blog

Output, activities, memo and etc.

Install RPM from source on Fedora

When I used Fedora 23, I was not able to build RPM due to errors. However today when I tried to do it on Fedora 25, I was able to build and install. Great.

I will note the build success day here.

Install

$ git clone git@github.com:rpm-software-management/rpm.git

$ cd rpm 

$ ./autogen.sh --noconfigure

$ ./configure --prefix="$(pwd)/dist"

$ make

$ make install

$ ./dist/bin/rpm --version
RPM version 4.13.90

Run unit test

$ sudo dnf install fakechroot
$ make check >& check.log

Reference