How to install Maven on Fedora, CentOS, Red Hat and Scientific Linux
If you are using Fedora, CentOS, Red Hat or Scientific Linux sometimes yum does not have the package for the product you would like to install and Maven is one of them at the time of me writing this blog.
I am going to show you how I install Maven on Fedora, CentOS, Red Hat or Scientific Linux you can do it the same way or find a better way.
Download Maven and untar it.
The first thing we need to do is to download the Maven tar file and untar it to a shared location on the workstation
Setup the Maven Environment Variables in shared profile.
The next step is to setup the Maven environment variables in a shared profile so all users on the system will get them import at login time.
Now test your install of Maven.
Logout of the system and then log back into it. Enter the following command:
If you did everything right your output should look something like the one below:
Now that’s it. have fun with maven.
If you have any questions or comments please email me at firstname.lastname@example.org