Suchart.Blog –>

FreeBSD Package Management


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



# 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: Logo

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

Google+ photo

You are commenting using your Google+ 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 /  เปลี่ยนแปลง )


Connecting to %s

บลอกที่ .

%d bloggers like this: