What is the Debian Way to automatically fetch build dependencies under Debian or Ubuntu?
Solution 1
Solution 2
apt-get build-dep <package>
Dan Lenski
Python and C pro, unafraid of assembly, Java, and Kotlin, and Rust and C# are growing on me when I have time. I don't always develop database-driven applications, but when I do, I prefer PostgreSQL. I'm a Linux guy, a Git fanboy, a fan of Debian and its derivatives, and usually a cheerleader for solving problems with free/open-source software. I've reverse-engineered a couple of interesting protocols and written cleanroom documentation and reimplementations. I've used Python, C, Perl, C#, and x86 assembly language professionally. I've dabbled in hardware projects with Verilog as well as MIPS, PIC, and AVR assembly. In terms of human languages, I speak English, French, Spanish, and some Hebrew. I have a PhD in semiconductor physics, and worked as a process engineer at Intel, and have also worked in the speech synthesis and magnetic storage industries.
Updated on June 14, 2022Comments
-
Dan Lenski almost 2 years
I recently downloaded the source tarball for a GTK application that I'd like to improve. It uses the standard
./configure
andmake
build sequence.The first time through,
configure
reported a bunch of unmet build dependencies, such aslibgnomeui-2.0
. As I usually do, I had to manually go through and find the Debian*-dev
package names corresponding to these dependencies... of course the names never match up quite the same, so it gets to be a real hassle.So what occurred to me is... are there any helper tools to automatically install the build dependencies listed by the
automake
/autoconf
configuration files???(I already know about the
dpkg-buildpackage
tools, but in this case I am interested in building from a raw distribution-independent source tarball, not from the Debian package source.)