Suchart.Blog –> ITupstart.com

FreeBSD Package Management

TODO

Using the Ports Collection

.

# sysinstall

.

# pkg_add portsnap

# mkdir /usr/ports

# portsnap fetch

.

If you are running Portsnap for the first time, extract the snapshot into /usr/ports

# portsnap extract

.

# portsnap update

===============

Search

# whereis pkg_name

# cd /usr/ports

# make search name=pkg_name

# make search key=search_key

===============

Installation (lsof package)

# cd /usr/ports/sysutils/lsof

# make install clean

===============

# pkg_info

# pkg_version

# pkg_delete

# portupgrade

ให้ความเห็น »

ยังไม่มีความเห็น

RSS feed for comments on this post. TrackBack URI

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s

สร้างเว็บไซต์หรือบล็อกฟรีที่ WordPress.com.

%d bloggers like this: