Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

dnf install build deps

If you want to build a package, but need all of its buildrequires packages, use this command:

sudo dnf builddep wxGTK3

I leave my source repositories off, so be sure to do any --enablerepo=fedora-source,updates-source as necessary.

For debian family

Try a cool tool named "mk-build-deps" as documented over at https://www.guyrutenberg.com/2017/09/23/use-mk-build-deps-instead-of-apt-get- build-dep/

References

Weblinks

Automatically install build dependencies prior to building an RPM package [stackoverflow.com]

Comments