FreeBSD 初安装

on 2009年3月5日

/etc/csh.cshrc 中加上

set autolist //可按Tab 自动补齐
set nobeep //去除恼人"哔哔"声

alias ls 'ls -G' //ls有颜色

软件是最新可以 cvsup ports 后 portupgrade
系统最新方法有两种:
1、cvsup src 然后 make world
2、freebsd-update
如果不想自己编译,推荐用后者。不过后者似乎不能更新到非 release 的 stable 版本。只能更新 release 版本,以及它们的 patch 版本。

cvsup -g -L 2 ports-supfile
相当于 agt-get update

然后 portupgrade -arR
相当于 apt-get upgrade
如果你想看会升级哪些软体包,就 portversion -l "<"

如果单单想升级一个软体,更新完ports树后,到该软体目录 make install clean

0 评论: