How to install apache ant2/17/2023 ![]() ![]() ![]() Sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant # Copy it into /usr/local 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):Ĭd ~/Downloads # Let's get into your downloads folder. Put the "bin" subdirectory in your path.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 |