1.采package安装方式 -->安装 pkg_add package name -->移除 pkg_delete package name 注意:只有.tgz的才是package .tar.gz的是source 2.用port tree安装(/usr/ports)软体目录 别忘了要更新port tree喔 2.1 修改Makefile路径 cat /etc/defaults/make.conf >> /etc/make.conf 在/etc/make.conf中寻找到下面这一部份 MASTER_SITE_BACKUP?= \ ftp://freebsd.csie.nctu.edu.tw/pub/distfiles/${DIST_SUBDIR}/ 或者是 ftp://ftp2.tw.freebsd.org/pub5/FreeBSD-ports/distfiles/${DIST_SUBDIR}/ # ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 解:将MASTER_SITE_BACKUP?= \及 MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 之前的#拿掉 并新增一行(绿色的那一行)改以freebsd.csie.nctu.edu为站台 2.2在正确的软体路径下输入make install 如要安装bash则是在下列路径 (必须以root身份) /usr/local/shells/bash2/# make install |
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.