Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

2.3. ports

2.3.1. update ports

update your port tree by typing following commands:

# portsnap fetch
# portsnap extract
# portsnap update
			

首次运行 portsnap 需要执行 portsnap extract 这个步骤,之后不再需要,直接运行 portsnap update 即可

2.3.2. install

# cd /usr/ports/lang/php5
# make install
			

reinstall

# make reinstall
			

2.3.3. remove

# make deinstall
			

如果用make install clean 安装,请用 pkg_delete 卸载

2.3.4. config menu

# cd /usr/ports/lang/php5
# make config
# make install