安装Maven 3.0.4 [英] Installing maven 3.0.4

查看:98
本文介绍了安装Maven 3.0.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试从Windows 10使用Ubuntu命令行通过以下命令安装Maven 3.0.4:

I have been trying to install maven 3.0.4 using Ubuntu command line from windows 10 with following command:

sudo apt-get install maven  

此命令安装Maven 3.0.4

this command install maven 3.0.4

sudo apt-get install maven2

此命令安装Maven 2.2.1

this command install maven 2.2.1

是否有用于安装Maven 3.0.4的特定命令? 实际上,我必须运行一个项目,该项目是maven构建和Linux可执行脚本.我是Windows用户,对Linux的知识了解不多.

Is there any specific command for particularly installing maven 3.0.4? Actually I have to run a project which is maven build and Linux executable scripts. I'm a windows user and I don't know a lot about Linux stuff.

推荐答案

您需要指定所需软件包的版本.

You need to specify the version of the package you want.

sudo apt-get install maven=3.0.4

这篇关于安装Maven 3.0.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆