What is auto-apt for?

When you want to build a program from source and it fails due to missing headers. Auto-apt can search what package would provide the header files.

Install

sudo apt-get install auto-apt
sudo auto-apt update
sudo auto-apt updatedb && sudo auto-apt update-local

Usage

Search for a header file:

auto-apt search [headerfile.h]

Example:

auto-apt search Xlib.h

IconsPage/tip.png You can use it combined with CheckInstall, or you could try using AutoDeb, which combines the two as well as providing some additional facilities.

Commands

run - Enter auto-apt environment

update - Retrieve new lists of Contents (available file list)

updatedb - Regenerate lists of Contents (available file list, no download)

update-local - Generate installed file lists

merge - Merge lists of Contents

del - Delete package list

check - Check which package will provide the filename

list - List filelist in dbfile

search - Search package by filename (grep)

debuild - debuild with auto-apt

status - Report current environments (auto-apt or not)

For some commands, command name with -local suffix, it will use pkgfiles.db, which is created by update-local command, instead of pkgcontents.db


CategoryCommandLine

AutoApt (last edited 2013-12-13 18:49:18 by knome)