- 论坛徽章:
- 1
|
add Install a package from either a local source or a remote one.
When installing from remote source you need to specify the proto-
col to use when fetching the package.
Currently supported protocols are FTP, HTTP and HTTPS.
install
Install a package from a remote package repository. If a package
is found in more than one remote repository, then installation
happens from the first one. Downloading a package is tried from
each package repository in turn, until the package is success-
fully fetched.
man手册上不是写的很明白么。
add用于安装本地的包,或者后边跟url的,就像8里的pkg_add
install 用于安装软件仓库里的软件包,只需要指定名子,不需要指定url. |
|