Linux command
ports 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Update
ports -u
List
ports -l
Example
ports -d
说明
ports manages the ports collection on CRUX Linux. The ports tree contains build recipes (Pkgfiles) for software packages. This tool synchronizes the local ports tree with remote repositories. The differences option helps identify packages that need updating or are installed from outside the ports system.
参数
- -u
- Update the ports tree from configured sources
- -l
- List all ports in the current tree
- -d
- Show differences between installed packages and ports
FAQ
What is the ports command used for?
ports manages the ports collection on CRUX Linux. The ports tree contains build recipes (Pkgfiles) for software packages. This tool synchronizes the local ports tree with remote repositories. The differences option helps identify packages that need updating or are installed from outside the ports system.
How do I run a basic ports example?
Run `ports -u` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u do in ports?
Update the ports tree from configured sources