分类: BSD
2008-04-15 15:37:00
代码: |
cd /usr/ports/editors/joe/ make fetch |
代码: |
cd /usr/ports/systuils/portupgrade/ make fetch-recursive |
代码: |
cd /usr/ports/ make fetch |
代码: |
cd /usr/ports/ftp/ make fetch |
代码: |
cd /usr/ports/editors/joe/ make extract |
代码: |
cd /usr/ports/editors/joe/ make patch |
代码: |
cd /usr/ports/editors/joe/ make install |
代码: |
cd /usr/ports/editors/joe/ #make clean |
代码: |
cd /usr/ports/ #make clean |
代码: |
cd /usr/ports/editors/joe/ #make package |
代码: |
mkdir -p /usr/ports/packages/All/ |
代码: |
cd /usr/ports/editors/joe/ make package clean |
代码: |
cd /usr/ports/sysutils/portupgrade/ make DEPENDS_TARGET=package package |
代码: |
cd /var/db/pkg/ pkg_create -b joe-{版本号} |
代码: |
cd /usr/ports/editors/joe/ make clean |
代码: |
cd /usr/ports/ make clean |
代码: |
cd /usr/ports/ftp/ make clean |
代码: |
cd /usr/ports/editors/joe/ make distclean |
代码: |
cd /usr/ports/ make distclean |
代码: |
cd /usr/ports/ftp/ make distclean |
代码: |
cd /usr/ports/mail/p5-Mail-SpamAssassin/ make all-depends-list #显示所有相关的套件 make pretty-print-build-depends-list #显示编译期间所需要的套件 make pretty-print-run-depends-list #显示此套件要执行时所需要的套件 |
代码: |
cd /usr/ports/editors/joe/ make deinstall |
代码: |
cd /var/db/pkg/ pkg_delete joe-{version} |
代码: |
cd /var/db/pkg/ pkg_delete -f joe-{version} |
代码: |
cd /usr/ports/sysutils/portupgrade/ make deinstall-depends |
代码: |
cd /var/db/pkg/ pkg_delete -r portupgrade-{version} |
代码: |
13、如何重新安装已安装过的 ports? |
代码: |
cd /usr/ports/editors/joe/ make deinstall make clean make install 或 make reinstall |
代码: |
cd /usr/ports/ make search key=ldap |
代码: |
cd /usr/ports/ftp/ make search key=ldap |
代码: |
cd /usr/ports/ make search name=ldap |
代码: |
cd /usr/ports/ftp/ make search name=ldap |
代码: |
cd /var/db/pkg/ pkg_delete joe-{version} cd /usr/ports/editors/joe/ make install |
代码: |
cd /usr/ports/editors/joe/ make clean make reinstall |
代码: |
pkg_info |
代码: |
pkg_info | grep |
代码: |
pkg_info -W /usr/local/bin/joe |
代码: |
pkg_info -L /var/db/pkg/joe-{version} |
代码: |
# vi /usr/share/examples/cvsup/ports-supfile ****************************************** default date=2002.10.05.00.00.00 #将 date 改成当日 |