Install Macprot under Mac, and install and use the GNU Autotools Autoconf,automake

Source: Internet
Author: User
Tags automake

1 macport Download: http://www.macports.org/install.php, need to install Xcode support Macport

2 Installing MacPorts

With other Mac software installed in the same way, Mount DMG, open pkg, follow the boot step next, and then no drag to application action.

(Note: This step is very slow.) Some netizens say that is broken network is good, if so, perhaps is in updating some superfluous information. )

3 then add/opt/local/bin and/opt/local/sbin to the $path search path
Edit the/etc/path file, plus

/opt/local/bin
/opt/local/sbin

4. Update MacPorts Index

What is the MacPorts index? If you have used Linux, you must have used Apt-get or yum, or if you have used BSD, you must have used ports. When we type these commands, pressing the TAB key will give you some hints about the software you want to install, which comes from their respective indexes. And MacPorts also have similar functions to them, so the index is also essential. Under Shell, execute the following command:

sudo port-v selfupdate

Where-V indicates verbose (redundancy), which means that the information is displayed on the shell. SelfUpdate, the "for users" already has MacPorts installed and wish to upgrade to a newer release. "

(Note: I have been waiting for this step for a long time.) But I found out because I used WiFi too bad--| | | )

5. Common commands for MacPorts

(1) Search for software in MacPorts index

Port Search NAME

(2) Install the new software

sudo port install NAME

(3) uninstalling the installed software

sudo port uninstall NAME

(4) View software with lower version

Port Outdated

(5) Upgrading software with lower version

sudo port upgrade outdated

Installing the GNU Autotools:

sudo port install M4

sudo port install autoconf

sudo port install Automake

Install Macprot under Mac, and install and use the GNU Autotools Autoconf,automake

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.