I've installed ANT via yum but it's to old of a version. Not sure how to install it on it's own.
closed as off topic by Chris S♦ Jul 20 '12 at 23:12
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
As Khaled said you can install from source. This is what I do - I have a directory structure like /opt/java/apache/ Under which I have the apache-ant-X.X.X source directory Then I create a symbolic link to the above: /opt/java/apache/ant (Similarly I have downloaded the JDK and created a symbolic link at /opt/java/jdk) Then I create /etc/profile.d/java.sh which contains:
Hope this helps. |
||||
|
|
|
For any open source package, you can always download the latest version from the package's website. Then, you can build your own rpm file or install it directly from source. If you are lucky, you may find an already built rpm for you. Try to search for one! |
|||
|
|
If you want to use yum, and still get the most up-to-date package, you need to update you yum configuration files to find RPMs in the vendor repository (Apache here). Many of the vendors has a RPM in their site that sets this configuration for you. |
|||
|
|