sudo port install cmakeMacports will download the source package and compile it for you.
Note: To make Macports knows the most recent package list, type the following commands regularly:
sudo port -v selfupdate
Note: After installing Macports, open a new terminal windows (program), which will use the system environment variables newly updated by the installation program. Using a terminal window which had been opened before Macports installation will leads to an error complaining cannot find 'port'.
No comments:
Post a Comment