Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8417557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:05:02+00:00 2026-06-10T02:05:02+00:00

Note: When originally posted I was trying to install maven2. Since the main answer

  • 0

Note: When originally posted I was trying to install maven2. Since the main answer is for maven3 I have updated the title. The rest of the question remains as it was originally posted.

I’m trying to install maven2 on a redhat linux box using the command

 yum install maven2

but yum doesn’t seem to be able to find maven2.

No package maven2 available

I’ve run across other posts about this topic, but the answer to the following post suggests to add repos. I add said repos, but run into errors after adding them.

How to install Maven into Red Hat Enterprise Linux 6?

I can only access this box via command line so simply downloading maven from their website is difficult for me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:05:03+00:00Added an answer on June 10, 2026 at 2:05 am

    Go to mirror.olnevhost.net/pub/apache/maven/binaries/ and check what is the latest tar.gz file

    Supposing it is e.g. apache-maven-3.2.1-bin.tar.gz, from the command line; you should be able to simply do:

    wget http://mirror.olnevhost.net/pub/apache/maven/binaries/apache-maven-3.2.1-bin.tar.gz
    

    And then proceed to install it.

    UPDATE: Adding complete instructions (copied from the comment below)

    1. Run command above from the dir you want to extract maven to (e.g. /usr/local/apache-maven)
    2. run the following to extract the tar:

      tar xvf apache-maven-3.2.1-bin.tar.gz
      
    3. Next add the env varibles such as

      export M2_HOME=/usr/local/apache-maven/apache-maven-3.2.1

      export M2=$M2_HOME/bin

      export PATH=$M2:$PATH

    4. Verify

      mvn -version
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

NOTE: I have updated this since originally asking the question to reflect some of
Note: This question has been originally posted by Lahiru Gunathilake as an answer to
Note this question was originally posted in 2009, before C++11 was ratified and before
This is a slightly updated question that was originally posted here: XSL - Finding
Note: Originally this question was asked for PostgreSQL, however, the answer applies to almost
Note: I originally asked this question about an hour ago but only recently realized
NOTE: This is a followup to my question here. I have a program that
In a OS we originally have a ready-queue for the threads, note only one
Note: I posted a similar question , which was the ancestor of this question,
This is originally posted as an answer to c++ macros with memory? But somehow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.