Gentoo emerge 参数说明
日期:2007年6月10日 作者: 查看:[大字体 中字体 小字体]-
SYNOPSIS
- emerge
- [options] [action] [ebuild tbz2file class dependency] ...
- emerge
- --sync --info --version
- emerge
- --search somestring
- emerge
- --help [system config sync]
DESCRIPTION
emerge is the definitive command-line interface to the Portage system. It is primarily used for installing packages, and emerge can automatically handle any dependencies that the desired package has. emerge can also update the portage tree, making new and updated packages available. emerge gracefully handles updating installed packages to newer releases as well. It handles both source and binary packages, and it can be used to create binary packages for distribution.EBUILDS, TBZ2S, CLASSES AND DEPENDENCIES
emerge primarily installs packages. You can specify packages to install in one of four main ways: an ebuild, a tbz2file, a class, or a dependency.- ebuild
- An ebuild must be, at a minimum, a valid Portage package Directory name without a version or category, sUCh as portage or python. Both categories and version numbers may be used in addition, such as sys-apps/portage or =python-2.2.1-r2. emerge ignores a trailing slash so that filename completion can be used. The ebuild may also be an actual filename, such as /usr/portage/app-admin/python/python-2.2.1-r2.ebuild. WARNING: The implementation of emerge /path/to/ebuild is broken and so this syntax shouldn't be used.
- tbz2file
- A tbz2file must be a valid .tbz2 created with ebuild <package>-<version>.ebuild package or emerge --buildpkg [category/]<package> or quickpkg /var/db/pkg/<category>/<package>.
- class
- Package classes are a convenient shorthand for large groups of packages. Two classes are currently supported: system and world. system refers to a set of packages deemed necessary for your system to run properly. world contains all of the packages in system, along with any other packages listed in /var/lib/portage/world. [See FILES below for more information.] Note that these commands are generally used in conjunction with --update.
- dependency
- A dependency describes bounds on a package that you wish to install. See portage(5) for the details on these 'atoms'. For example, >=dev-lang/python-2.2.1-r2 matches the latest available version of Python greater than or equal to 2.2.1-r2. Similarly, <dev-lang/python-2.0 matches the latest available version of Python before 2.0. Note that in many shells you will need to escape characters such as '<' and '='; use single- or double-quotes around the dependency to get around escaping problems.
- [1] [2] [3] [4] [5] [6] 下一页
-
- Gentoo emerge 参数说明 相关文章:
- ·Gentoo emerge 参数说明
- Gentoo emerge 参数说明 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
上一篇:备份Gentoo Linux的脚本,适用其他Linux的备份
下一篇:Linux-C-Socket编程
精品推荐
热点TOP10
- ·深入浅出.NET泛型编程
- ·如何为嵌入式开发建立交叉编译环境
- ·SVG与UML图详解
- ·使用ADS1.2进行嵌入式软件开发
- ·Linux 系统内核的调试
- ·UML类图详解(1)
- ·统一建模语言(UML)的现状及发展
- ·微软WCF给SOA带来的影响
- ·.NET 数据访问架构指南
- ·Tomcat中用web.xml控制Web应用详解
- ·质量管理新七种工具简介(1)
- ·利用UML类图设计Java应用程序详解(1)
- ·VC中利用多线程技术实现线程之间的通信
- ·WinCE嵌入式开发程序入门
- ·用WPF构建强大的用户体验
- ·ISO9000:2000 质量管理八大原则(1)
- ·质量意识概述
- ·Apache APR可移植运行库简介(1)
- ·掀起你的盖头来:WPF开发简介
- ·.NET下可复用的TCP通信层实现之TCP组件
