pkg_add -r

user-pic
Vote 0 Votes

FreeBSD 下的 pkg_add -r 跟 Linux 下的 apt/yum/urpmi 一樣, 可以從 Server 下載 package 回來, 並自動安裝 dependency packages
例: 在 FreeBSD 6.x 下裝 mutt
setenv PACKAGESITE ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
pkg_add -r mutt

例: 在 FreeBSD 8.2 release BASH 環境下裝常用套件
PACKAGESITE=ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/
pkg_add -r bash3 expect joe mutt screen ImageMagick
pkg_add -r gtar unrar unzip xz zip
pkg_add -r arping fping hping httping mtr ngrep tcptraceroute trafshow wireshark
pkg_add -r curl mrtg netmask sipcalc w3m wget
pkg_add -r bind-tools bind97 nginx postfix

ref. 如何安裝遠端的 packages?

Leave a comment

About this Entry

This page contains a single entry by Pank published on May 14, 2008 1:31 AM.

emesene - A client for the WLM network was the previous entry in this blog.

Good stock market analysis site is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives