Apache ant mac os x2/20/2023 ![]() ![]() # Add the new version of Ant to future terminal sessionsĮcho 'export PATH=/usr/local/apache-ant/bin:"$PATH"' > ~/. # Add the new version of Ant to current terminal sessionĮxport PATH=/usr/local/apache-ant/bin:"$PATH" Download Apache Ant from its website in the Binary Distribution section. Sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant # Copy it into /usr/local In the following page Accept the License Agreement and download the right file for your system (Mac OS X 圆4). Sudo mkdir -p /usr/local # Ensure that /usr/local exists Tar -xvzf apache-ant-1.8. # Extract the folder The commands that you would need, assuming apache-ant-1.8. (replace 1.8.1 with the actual version) were still in your Downloads directory, would be the following (explanatory comments included): cd ~/Downloads # Let's get into your downloads folder. Mac OS X 10.5 Leopard was available as an upgrade to new Apple computers purchased after 1st October 2007 that did not already have Mac OS X 10.5 installed or a Leopard. Other recent Mac OS development code names have been 10.3 Panther and 10.4 Tiger. Put the "bin" subdirectory in your path. Mac OS X version 10.5 Leopard, is the sixth major update to Mac OS X for Apple's Macintosh computers, and was released on October 26, 2007. ![]() If it is not already installed, then your best bet is to install Homebrew ( brew install ant) or MacPorts ( sudo port install apache-ant), and use those tools to install Apache Ant.Īlternatively, though I would highly advise using Homebrew or MacPorts instead, you can install Apache Ant manually. Ant is already installed on some older versions of Mac OS X, so you should run ant -version to test if it is installed before attempting to install it.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |