← 返回命令列表

Linux command

prt-get 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install

prt-get install [package]

Example

prt-get depinst [package]

Upgrade

prt-get upgrade [package]

Remove

prt-get remove [package]

System upgrade

prt-get sysup

Search

prt-get search [query]

Example

prt-get fsearch [filename]

Example

prt-get diff

Example

prt-get info [package]

List dependencies

prt-get depends [package]

List installed

prt-get listinst

说明

prt-get is the high-level package manager for CRUX Linux. It provides dependency resolution on top of the basic pkgutils, making package management more convenient while maintaining CRUX's simplicity. The tool reads package information from the ports tree and can automatically build and install packages with their dependencies.

参数

-fr
Force rebuild even if up-to-date
-if
Ignore footprint mismatches
-im
Ignore MD5 mismatches
-v
Show version in search results
-vv
Show version and description in search results
-is
Ignore signature mismatches
--margs=_"args"_
Pass additional arguments to pkgmk
--aargs=_"args"_
Pass additional arguments to pkgadd
--log
Enable build logging
--all
Include locked packages in output
--config=_file_
Use alternative configuration file

FAQ

What is the prt-get command used for?

prt-get is the high-level package manager for CRUX Linux. It provides dependency resolution on top of the basic pkgutils, making package management more convenient while maintaining CRUX's simplicity. The tool reads package information from the ports tree and can automatically build and install packages with their dependencies.

How do I run a basic prt-get example?

Run `prt-get install [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -fr do in prt-get?

Force rebuild even if up-to-date