Install Spring Boot Command Line Interface on Ubuntu

In the previous tutorial, I have shown you how to install Spring Boot CLI on Windows. This tutorial, I will guide you to install it on Ubuntu!

First, download the latest version of the Spring Boot CLI for Ubuntu at http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/. Currently the latest version of Spring Boot is 1.4.1 so the file to be downloaded will be the file spring-boot-cli-1.4.1.RELEASE-bin.tar.gz. If you have a newer version, you can do the same!

In Ubuntu, you can use the wget command to download. Here, I downloaded the file spring-boot-cli-1.4.1.RELEASE-bin.tar.gz and put it in the user directory as follows:

Install Spring Boot Command Line Interface on Ubuntu

After downloading, please use the tar command of Ubuntu to unzip the download file!

The result is as follows:

Install Spring Boot Command Line Interface on Ubuntu

Now, we will add the environment variable for Spring Boot CLI!

To do this, open the .bashrc file in the user directory, and then add the following line to the end of the file.

With /home/khanh/spring-1.4.1.RELEASE/bin is the path to the bin directory of my Spring Boot CLI directory, replace it with your own directory.

Logout and login or run the following command in order to our configuration is effective!

Result:

Install Spring Boot Command Line Interface on Ubuntu

Install Spring Boot Command Line Interface on Ubuntu
Đánh giá bài viết
Chia sẽ bài viết này ...Share on Facebook
Facebook
0Share on Google+
Google+
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.