For more information on the different commands see 'pkg help '. pkginstall-- install packages from remote package repositories or local archives OPTIONS The following options are supported bypkginstall: -A,--automatic Mark the installed packages as automatic. Will be automati- cally removed if no...
$ sudo pkg autoremove List installed packages $ sudo pkg info Display information about installed packages $ sudo pkg info perl-5.14 Show the pkg-message of a package $ sudo pkg info -D perl-5.14 要查詢已安在系統上的軟體是否有任何已知的漏洞 $ sudo pkg audit -F 因為相依所安裝的套...
如果想安装一个 packages ,可使用 pkg_add,如安装一个 joe 的 tgz: pkg_add joe-{version}.tgz 30、如何强制安装 packages? 由于有些 packages 会有与其他 packages 相依性的关系,所以必须先行安装那些 packages 才能正常安装。 如果须要强制安装 packages , 可以不须安装那些有相依性 packages ,但要注意的是强...
If you delete a package that installed dependencies, the dependencies will still be installed. To remove the packages that are no longer required by any installed packages, run this command: sudo pkg autoremove The list of packages that will be removed will be printed followed by a prompt. Res...
# env REPOS_DIR=/dist/packages/repos pkg bootstrap At this point, pkg-install(8) can be used to install additional packages from the DVD. Please note, the REPOS_DIR environment variable should be used each time using the DVD as the package repository, otherwise ...
make pretty-print-run-depends-list #显示此套件要执行时所需要的套件 11、如何移除已安装的 ports? 以editors/joe 为例的话,则: cd /usr/ports/editors/joe/ make deinstall 或是使用 pkg_delete cd /var/db/pkg/ pkg_delete joe-{version}
43、如何检查是否有安装重覆的 ports/packages? `make deinstall' 与 `pkg_delete' 有什麽不同? 44、安装 ports 出现 local modification time does not match remote 的 错误讯息 1、如何只抓取 tarball? 如果只希望抓取 tarball 下来的话,仅需下 make fetch 即可。
To list all install/registered packages in the local database, use this command: # pkg info -a For more information on querying the local package database, please refer topkg-info(1)man page. Installing packages Packages are installed either from a repository, from the results of a local ...
Docker on FreeBSD 是 Docker 在 FreeBSD 系统上的移植版本。Docker 原本是为 Linux 所开发设计,而最新的 FreeBSD 11-CURRENT 和 10.2 将提供对 Docker 的支持。该系统严重依赖 ZFS、jail 以及 64位的 Linux 兼容层。 安装和使用方法: # pkg install docker-freebsd ca_root_nss ... New packages to ...
pkg upgrade -f printed the list and the summary: $ sudo pkg upgrade -f Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (954 candidates): 100% Processing ca...