How To Install pbuilder on Fedora 36
Introduction
In this tutorial we learn how to install pbuilder
on Fedora 36.
What is pbuilder
pbuilder constructs a chroot system, and builds a package inside the chroot. It is an ideal system to use to check that a package has correct build- dependencies.
We can use yum
or dnf
to install pbuilder
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pbuilder.
Install pbuilder on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pbuilder
using dnf
by running the following command:
sudo dnf -y install pbuilder
Install pbuilder on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pbuilder
using yum
by running the following command:
sudo yum -y install pbuilder
How To Uninstall pbuilder on Fedora 36
To uninstall only the pbuilder
package we can use the following command:
sudo dnf remove pbuilder
pbuilder Package Contents on Fedora 36
/etc/pbuilder
/etc/pbuilder/buildd-config.sh
/etc/pbuilderrc
/usr/bin/debuild-pbuilder
/usr/bin/pdebuild
/usr/lib/pbuilder
/usr/lib/pbuilder/pbuilder-apt-config
/usr/lib/pbuilder/pbuilder-buildpackage
/usr/lib/pbuilder/pbuilder-buildpackage-funcs
/usr/lib/pbuilder/pbuilder-checkparams
/usr/lib/pbuilder/pbuilder-createbuildenv
/usr/lib/pbuilder/pbuilder-loadconfig
/usr/lib/pbuilder/pbuilder-modules
/usr/lib/pbuilder/pbuilder-runhooks
/usr/lib/pbuilder/pbuilder-satisfydepends
/usr/lib/pbuilder/pbuilder-satisfydepends-apt
/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude
/usr/lib/pbuilder/pbuilder-satisfydepends-checkparams
/usr/lib/pbuilder/pbuilder-satisfydepends-classic
/usr/lib/pbuilder/pbuilder-satisfydepends-experimental
/usr/lib/pbuilder/pbuilder-satisfydepends-funcs
/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi
/usr/lib/pbuilder/pbuilder-unshare-wrapper
/usr/lib/pbuilder/pbuilder-updatebuildenv
/usr/lib/pbuilder/pdebuild-checkparams
/usr/lib/pbuilder/pdebuild-internal
/usr/sbin/pbuilder
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/pbuilder
/usr/share/doc/pbuilder
/usr/share/doc/pbuilder/AUTHORS
/usr/share/doc/pbuilder/README
/usr/share/doc/pbuilder/README.fedora
/usr/share/doc/pbuilder/THANKS
/usr/share/doc/pbuilder/TODO
/usr/share/doc/pbuilder/examples
/usr/share/doc/pbuilder/examples/B20autopkgtest
/usr/share/doc/pbuilder/examples/B90lintian
/usr/share/doc/pbuilder/examples/B90list-missing
/usr/share/doc/pbuilder/examples/B91debc
/usr/share/doc/pbuilder/examples/B91dpkg-i
/usr/share/doc/pbuilder/examples/B92test-pkg
/usr/share/doc/pbuilder/examples/C10shell
/usr/share/doc/pbuilder/examples/C11screen
/usr/share/doc/pbuilder/examples/D10tmp
/usr/share/doc/pbuilder/examples/D20addnonfree
/usr/share/doc/pbuilder/examples/D65various-compiler-support
/usr/share/doc/pbuilder/examples/D80no-man-db-rebuild
/usr/share/doc/pbuilder/examples/D90chrootmemo
/usr/share/doc/pbuilder/examples/F90chrootmemo
/usr/share/doc/pbuilder/examples/execute_installtest.sh
/usr/share/doc/pbuilder/examples/execute_paramtest.sh
/usr/share/doc/pbuilder/examples/lvmpbuilder
/usr/share/doc/pbuilder/examples/lvmpbuilder/README
/usr/share/doc/pbuilder/examples/lvmpbuilder/STRATEGY
/usr/share/doc/pbuilder/examples/lvmpbuilder/lib
/usr/share/doc/pbuilder/examples/lvmpbuilder/lib/lvmbuilder-checkparams
/usr/share/doc/pbuilder/examples/lvmpbuilder/lib/lvmbuilder-modules
/usr/share/doc/pbuilder/examples/lvmpbuilder/lib/lvmbuilder-unimplemented
/usr/share/doc/pbuilder/examples/lvmpbuilder/lvmbuilder
/usr/share/doc/pbuilder/examples/pbuildd
/usr/share/doc/pbuilder/examples/pbuildd/buildd.sh
/usr/share/doc/pbuilder/examples/pbuildd/hookdir
/usr/share/doc/pbuilder/examples/pbuildd/hookdir/A10dpkg-l.sh
/usr/share/doc/pbuilder/examples/pbuilder-distribution.sh
/usr/share/doc/pbuilder/examples/pbuilder-test
/usr/share/doc/pbuilder/examples/pbuilder-test/000_prepinstall
/usr/share/doc/pbuilder/examples/pbuilder-test/001_apprun
/usr/share/doc/pbuilder/examples/pbuilder-test/002_libfile
/usr/share/doc/pbuilder/examples/pbuilder-test/002_sample.c
/usr/share/doc/pbuilder/examples/pbuilder-test/003_makecheck
/usr/share/doc/pbuilder/examples/pbuilder-test/004_ldd
/usr/share/doc/pbuilder/examples/pbuilder-test/README
/usr/share/doc/pbuilder/examples/pbuilderrc
/usr/share/doc/pbuilder/examples/rebuild
/usr/share/doc/pbuilder/examples/rebuild/README
/usr/share/doc/pbuilder/examples/rebuild/buildall
/usr/share/doc/pbuilder/examples/rebuild/getlist
/usr/share/doc/pbuilder/pbuilder-doc.pdf
/usr/share/man/man1/debuild-pbuilder.1.gz
/usr/share/man/man1/pdebuild.1.gz
/usr/share/man/man5/pbuilderrc.5.gz
/usr/share/man/man8/pbuilder.8.gz
/usr/share/pbuilder
/usr/share/pbuilder/pbuilderrc
/var/cache/pbuilder/ccache
References
Summary
In this tutorial we learn how to install pbuilder
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).