2009年7月11日 星期六

pkg_info usage

1.use to list all installed packages
#pkg_info -a | less

2.show index file of ports
#pkg_info -I python* | less

3.show info of installed packages
#pkg_info python* | less

4.show long description of installed package
#pkg_info -d python* | less

5.show comment of installed package
#pkg_info -c python* | less

6.show package list instruction
#pkg_info -f python26-2.6.2 | less

7.show all files within package
#pkg_info -L python26-2.6.2 | less

8.show packages requested depend on the package
#pkg_info -r python26-2.6.2

9.install package from remote site with verbose mode
#pkg_add -r -v lsof

10.install package with tgz file in PKGDIR or current directory
#pkg_add -r -v -K losf

11.report steps that world be taken
#pkg_delete -n lsof-4.82,4

12.remove package with no check dependences
#pkg_delete -f -v lsof-4.82,4

沒有留言:

張貼留言