Using pkg_tools:
pkg_add -r# fetch from respository and install it
pkg_info # get installed packages's information
pkg_info -L# show everything that are created by pkg's installation
pkg_delete#remove pkg
cd /usr/ports
make search name=#specify the path of pkg's port
......
path=/path/to/port/ #path to pkg's port
......
cd /usr/ports/path/to/port/ #change dir to pkg's port
make install clean
ex: update later
Linux:
Using rpm:
rpm -qa #show installed packages
rpm -ivh
rpm -ql# Show everything that are created by pkg's installation
yum update # Update pkg from internet
yum install#install pkg
yum remove#remove pkg
Using zypper:
zypper search
zypper install
Using apt-get:
update later
No comments:
Post a Comment