对软件包进行分类
本附录显示了软件包信息分类方案定义。
指定分类
软件包管理器 GUI 使用 info.classification 软件包属性,以方案 org.opensolaris.category.2008 按类别显示软件包。用户还可以使用 pkg search 命令来显示具有给定分类的软件包。
使用 set 操作为软件包指定一个分类,如下例所示:
set name=info.classification \
value="org.opensolaris.category.2008:System/Administration and Configuration"
类别和子类别由正斜杠字符分隔。属性值中有空格时需要用引号括起来。
一个软件包可以有多个分类,如下例所示:
set name=info.classification \
value="org.opensolaris.category.2008:Meta Packages/Group Packages" \
value="org.opensolaris.category.2008:Web Services/Application and Web Servers"
分类值
已定义了以下类别和子类别值:
- Meta Packages
| Group Packages | | Incorporation |
|
- Applications
| Accessories | | Configuration and Preferences | | Games | | Graphics and Imaging | | Internet | | Office | | Panels and Applets | | Plug-ins and Run-times | | Sound and Video | | System Utilities | | Universal Access |
|
- Desktop (GNOME)
| Documentation | | File Managers | | Libraries | | Localizations | | Scripts | | Sessions | | Theming | | Trusted Extensions | | Window Managers |
|
- Development
| C | | C++ | | Databases | | Distribution Tools | | Editors | | Fortran | | GNOME and GTK+ | | GNU | | High Performance Computing | | Java | | Objective C | | Other Languages | | PHP | | Perl | | Python | | Ruby | | Source Code Management | | Suites | | System | | X11 |
|
- Drivers
| Display | | Media | | Networking | | Other Peripherals | | Ports | | Storage |
|
- System
| Administration and Configuration | | Core | | Databases | | Enterprise Management | | File System | | Fonts | | Hardware | | Internationalization | | Libraries | | Localizations | | Media | | Multimedia Libraries | | Packaging | | Printing | | Security | | Services | | Shells | | Software Management | | Text Tools | | Trusted | | Virtualization | | X11 |
|
- Web Services
| Application and Web Servers | | Communications |
|