port命令记录

port 命令记录

# fetch the ports tree
portsnap fetch extract
# update the locally cached copy of the ports database
portsnap fetch update
 
# search the ports tree,install BASH
cd /usr/ports
make search name="bash" | less
cd /usr/ports/shells/bash
make config install clean
# change the default shell
chsh -s /usr/local/bin/bash
 
cd /usr/ports/net/ntp
make clean
make
make install clean
posted @ 2020-01-27 22:49  jun's  阅读(282)  评论(0编辑  收藏  举报