云迈博客

您现在的位置是:首页 > 灌水专栏 > 正文

灌水专栏

[Ubuntu系列]Install Software on Ubuntu

wsinbol2023-05-20灌水专栏183
场景描述最近一直在鼓捣双系统,安装了Ubuntu的系统。准备逐步将核心的软件在Ubuntu上实验一遍。Chrome下载安装包wgethttps://dl.google.com/linux/d

场景描述

最近一直在鼓捣双系统,安装了 Ubuntu 的系统。准备逐步将核心的软件在Ubuntu上实验一遍。

Chrome

下载安装包

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

执行安装

sudo apt install ./google-chrome-stable_current_amd64.deb

JDK8

sudo apt install openjdk-8-jdk

So how to set JAVA_HOME with the apt style?

cp ~/.bashrc ~/.bashrc.bak
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> ~/.bashrc
source ~/.bashrc

That is to say the default path is /usr/lib/jvm.

Maven

1.download binary release
2.sudo ln -s /opt/apache-maven-3.8.4 /opt/maven
3.Adding the following lines to ~/.bashrc

export M2_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export PATH=${M2_HOME}/bin:${PATH}

4. source ~/.bashrc
5. mvn -version

RocketMQ

download binary release
bash bin/mqnamesrv 

发表评论

评论列表

  • 这篇文章还没有收到评论,赶紧来抢沙发吧~