FreeBSD: May 2008 Archives

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?

About this Archive

This page is an archive of entries in the FreeBSD category from May 2008.

FreeBSD: March 2008 is the previous archive.

FreeBSD: May 2009 is the next archive.

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

Monthly Archives