个人工具
登录
查看“UbuntuHelp:AutoApt”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:AutoApt”的源代码
来自Ubuntu中文
←
UbuntuHelp:AutoApt
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/AutoApt}} {{Languages|UbuntuHelp:AutoApt}} == 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 == <pre><nowiki> sudo apt-get install auto-apt sudo auto-apt update sudo auto-apt updatedb && sudo auto-apt update-local </nowiki></pre> == Usage == Search for a header file: <pre><nowiki> auto-apt search [headerfile.h] </nowiki></pre> Example: <pre><nowiki> auto-apt search Xlib.h </nowiki></pre> {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png%7D%7D You can use it combined with CheckInstall, or you could try using Ubuntu:AutoDeb, which combines the two as well as providing some additional facilities. == Commands == run - Enter auto-apt environment run [command [cmdarg]] update - Retrieve new lists of Contents (available file list) update updatedb - Regenerate lists of Contents (available file list, no download) updatedb update-local - Generate installed file lists update-local merge - Merge lists of Contents merge del - Delete package list del package check - Check which package will provide the filename check [-v] [-f] filename list - List filelist in dbfile list [-v] [-f] search - Search package by filename (grep) search [-v] [-f] pattern debuild - debuild with auto-apt useful to get build-depends: 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 ---- [[category:CategoryCommandLine]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:AutoApt
。