[LINUX] Install GoLand IDE on Ubuntu

Although it is a free version, I downloaded the GoLand editor to my Ubuntu environment. I referred to the following sites. Install Jetbrains GoLand Go IDE on Ubuntu JetBrains Goland IDE on Ubuntu

There is also a way to download using snapd, but this time I went to download from the site.

Premise

--The environment is Ubuntu --Go has already been downloaded locally

download

Download the version for Linux here. https://www.jetbrains.com/ja-jp/go/download/#section=linux

After downloading, unzip it and move it to the opt folder. Of course, it seems to be OK in other places. After moving, execute the shell file and launch it.

$ cd Downloads

$ sudo tar xzf goland-2020.3.1.tar.gz -C /opt

$ ls -l /opt
total 12
drwx--x--x 4 root root 4096 November 20 01:33 containerd
drwxr-xr-x 8 root root 4096 January 11 23:19 GoLand-2020.3.1
drwxr-xr-x 3 root root 4096 November 20 10:46 google

$ /opt/GoLand-2020.3.1/bin/goland.sh

A screen like this will appear, but select Do not import settings to proceed.

Screenshot from 2021-01-11 23-20-22.png

I don't have a license, so I'll use the free version. If you select Evaluate for free and proceed with the one you do not have, you will finally reach this screen.

Screenshot from 2021-01-11 23-20-54.png

It is troublesome to execute and launch the shell file every time, so create the file in the application directory as follows. This time the version is 2020.3.1, so enter as follows. If the version changes, please enter a different version name.

$ cd /usr/share/applications/

$ sudo vi Goland.desktop
[Desktop Entry]
Name=Goland
Comment=Goland IDE
Exec=/opt/GoLand-2020.3.1/bin/goland.sh
Icon=/opt/GoLand-2020.3.1/bin/goland.png
Type=Application
Terminal=false
Encoding=UTF-8

Give permission to the created file.

$sudo chown my username Goland.desktop

$ sudo chmod 755 Goland.desktop

You can now open it from within the application.

Screenshot from 2021-01-11 23-40-17.png

By the way, if you want to open it on Desktop, you can copy the previous file to Desktop.

$ cp Goland.desktop /home/user/Desktop/

Try to write a program

Select New Project.

Screenshot from 2021-01-11 23-43-40.png

Create based on the GOROOT that is already in.

Screenshot from 2021-01-11 23-43-57.png

Make the familiar Hello World every time.

Screenshot from 2021-01-11 23-51-04.png

If you press Run from the Run menu above, go build hello.go will appear. Click it.

Screenshot from 2021-01-11 23-49-16.png

Hello World is output!

Screenshot from 2021-01-11 23-51-09.png

that's all. It's a free version, so it can only be used for 30 days, but ...

Recommended Posts

Install GoLand IDE on Ubuntu
Install TensorFlow on Ubuntu
Install JModelica on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Install Caffe on Ubuntu 14.04 (GPU)
Install Docker on WSL Ubuntu 18.04
Install CUDA10.1 + cuDNN7.6.5 + tensorflow-2.3.0 on Ubuntu 18.04
Install Caffe on Ubuntu 14.04 (CPU mode)
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install OpenCV and Chainer on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install fabric on Ubuntu and try
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
How to install Go on Ubuntu
ROS study # 1 Install ros-noetic on ubuntu 20.04
Shebang on Ubuntu 20.04
Steps to install Python environment on Ubuntu
Install Pleasant on Ubuntu 20.04 (.NetCore3.1 / PostgreSQL version)
Install ubuntu on 32bit UEFI Ultra Notebook
Install Caffe running 3D-CNN on clean Ubuntu 14.04
Install Puppet Master and Client on Ubuntu 16.04
How to install php7.4 on Linux (Ubuntu)
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install python package in personal environment on Ubuntu
[Procedure memo] Install Python3 + OpenSSL locally on Ubuntu
[Note] Install wxPython 3.x on Linux Mint (Ubuntu)
Install the latest Cuda + CuDNN on Ubuntu 18.04 @ Spring 2020
Install MongoDB on Ubuntu 16.04 and operate via python
Install Ubuntu 20.04 LTS (Server) 64bit version on RaspberryPi3B +
Install mecab on Marvericks
Install Tensorflow on Mac
Install python on WSL
Install Faiss on CentOS 7
Install pyenv on mac
Install pip on Mavericks
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
Install docker on Fedora31
Install numba on CentOS 7.2
Install Python on Mac
Install Python 3 on Mac
Install Plone (4.3.6) on MacOSX (10.10.3)
Install Python3.4 on CentOS 6.6
Install GPU-enabled LightGBM (Ubuntu 16.04)
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install mecab-python on CentOS