What is macport
Macport is a package manager tools on MAC OSX. It works like what
apt-get does on Debian system. Tricks
To save my time in the futures, here are experiences which learnt from painful try and error process.
BASH AUTO competition
There is no auto completion (IE
Tab will not work) by default. Please read this for setting up an auto completion.List of common commands
- port search
PKGor port search —regex ‘PKG‘
A command for you to search packages.
- port install
PKG
Install a package from macport
- port uninstall
PKG
Uninstall a package from macport
- port select
PKGVERSION
Select a version for a package. Sometime, packages come with more than one version (
py27, py3). This command allows you to select which version will be used when you call python instead of calling python2.7 explicitly.- man port
A command for reading the manual page of
port.
沒有留言:
張貼留言