🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #139

Finding package for file (Was Re: Package name request, GNU Make)

#139
From: Andy Smith
Date: Thu, 15 Oct 2026 20:30
45 lines
3347 bytes
Hi,

On Thu, Oct 15, 2026 at 06:27:06PM +0000, Icesan wrote:
> Hello.  I'm looking to file a bug report for GNU Make, but I do not know
> which Debian package the program is in.

You already got your answer, but for future reference, you can work this
sort of thing out for yourself a number of ways.

If the file is installed on your syste,, you can use dpkg -S to find
which package owns it:

$ dpkg -S /usr/bin/make
make: /usr/bin/make

Note that this only searches files owned by packages; some packages
generate files like their own configuration, and those files wouldn't be
owned.

To search files in all packages even if they're not installed install
"apt-file". After install it needs an update, and then you can search:

$ apt-file update
[…]
$ apt-file search bin/make
afterstep: /usr/bin/makeastheme
aircrack-ng: /usr/bin/makeivs-ng
atac: /usr/lib/atac/bin/makeplot.pl
ataqv: /usr/bin/make_ataqv_pipeline
bcache-tools: /usr/sbin/make-bcache
cbflib-bin: /usr/bin/makecbf
[…]
# Use a regular expression to anchor the end instead of match
# all sub-strings
$ apt-file search -x 'bin/make$'
make: /usr/bin/make
make-guile: /usr/bin/make

There are more ways to solve this but those are two of the easiest.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting
Technical Details
Message-ID: <NOAfo-5LA8-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NOyGB-5KCr-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Andy Smith <andy@strugglers.net>
Newsgroups: linux.debian.user
Subject: Finding package for file (Was Re: Package name request, GNU Make)
Date: Thu, 15 Oct 2026 22:30:02 +0200
Message-ID: <NOAfo-5LA8-3@gated-at.bofh.it>
References: <NOyGB-5KCr-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Thu Oct 15 20:21:23 2026
Old-Return-Path: <andy@strugglers.net>
X-Amavis-Spam-Status: No, score=-2.8 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
X-URL: http://strugglers.net/wiki/User:Andy
X-Sa-Exim-Connect-IP: <locally generated>
X-Sa-Exim-Mail-From: andy@strugglers.net
X-Sa-Exim-Scanned: No (on mail.bitfolk.com); SAEximRunCond expanded to false
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832423
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/atE1tSMmT49YKKad@mail.bitfolk.com
Approved: robomod@news.nic.it
Lines: 45
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-user@lists.debian.org
X-Original-Date: Thu, 15 Oct 2026 20:21:09 +0000
X-Original-Message-ID: <atE1tSMmT49YKKad@mail.bitfolk.com>
X-Original-References: <CANOCmv_bgtCTvg0XTbyVoRHjeQn7EoNQhhbDHrv4ui_9V+fcbg@mail.gmail.com>