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
  • freebsd/ports.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)