Social Items

How To Install Go Language On Ubuntu 18.04

How To Install Go Language On Ubuntu 18.04 - In this post, we will learn how to install Go Language on Ubuntu 18.04. Golang is a programming language developed by Google and released in March 2012 with version 1.0. If you want to find out more, you can open the Go Language website. In this tutorial, the latest version of Go is 1.11.5. I will use the latest version in this tutorial.

How To Install Go Language On Ubuntu 18.04

Step 1: Download and Install Go

Open the terminal and follow the steps of each line.

For Ubuntu 32 Bit:

$ wget https://redirector.gvt1.com/edgedl/go/go1.11.5.linux-386.tar.gz
$ sudo tar -zxvf go1.11.5.linux-386.tar.gz -C /usr/local

For Ubuntu 64 Bit:

$ wget https://redirector.gvt1.com/edgedl/go/go1.11.5.linux-amd64.tar.gz
$ sudo tar -zxvf go1.11.5.linux-amd64.tar.gz -C /usr/local

Step 2: Setup Go Environment Variable


$ echo 'export GOROOT=/usr/local/go' | sudo tee -a /etc/profile
$ echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a /etc/profile
$ source /etc/profile


Step 3: Testing

after the installation is complete, you can see the version and environment of the Go programming language

$ go version
$ go env

Picture of Go environment variable
Picture of Go environment variable

How To Install Go Language On Ubuntu 18.04

How To Install Node.js On Ubuntu 18.04

How To Install Node.Js On Ubuntu 18.04 - In this post, we will learn how to install Node.js on Ubuntu 18.04. Node.js is a javascript runtime environment built on the Chrome V8 JavaScript engine to execute javascript code that is open source and can run on cross-platform (all platforms). The advantages of Node.js are Highly scalable, data-intensive, and real-time apps. To find out more, go to the website Node.js.

In this tutorial, the latest version of Node.js is 11.6.0 and for the LTS (Long Term Support) version is 10.15.0, I will use the latest version in this tutorial.

How To Install Node.js On Ubuntu 18.04


Via PPA (Package Personal Archive)

Open the terminal and follow the steps of each line

Step 1: Install Dependencies

$ sudo apt-get install curl python-software-properties


Step 2: Adding PPA

For Latest Version:
$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
For LTS Version:
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -


Step 3: Install Node.js

$ sudo apt-get install nodejs


Step 4: Testing

$ node -v
$ npm -v
Picture of Node.js Version
Picture of Node.js Version

Step 5: Hello World (Optional)

After the installation is complete, we can try to create a hello world with Node .js. Create a file with the name of helloworld.js.
$ nano helloworld.js

Insert the code below into the file.
const http = require('http');

const hostname = '127.0.0.1';
const port = 3000;

const server = http.createServer((req, res) => {
  res.statusCode = 200;
  res.setHeader('Content-Type', 'text/plain');
  res.end('Hello World from Codingster\n');
});

server.listen(port, hostname, () => {
  console.log(`Server running at http://${hostname}:${port}/`);
});

To run the file we can do the following command line:
$ node helloworld.js

After the file helloworld.js running so we can view it by opening a browser and type 127.0.0.1:3000 in the address bar of the browser.

Picture Hello World with Node.js
Picture Hello World with Node.js

Conclusion:


Node.JS is a javascript runtime environment built on Chrome's V8 JavaScript engine to execute javascript code that is open source and can run on cross-platform (all platforms). There are several steps to install Node.js on Ubuntu, including adding PPA Node.js to Ubuntu, we can install Node.js with the latest version or the LTS version. The second step is to install Node.js with apt-get install. After the installation is complete we can see the version of Node.js installed on Ubuntu.

How To Install Node.js On Ubuntu 18.04

How To Install Atom Text Editor On Ubuntu 18.04

How To Install Atom Text Editor On Ubuntu 18.04 - In this post, we will learn how to install the Atom text editor on Ubuntu. Atom is a free or open source text editor developed by Github. To find out more about Atom, you can open the Atom website. One of the advantages of this text editor is the availability of plugins that can help work easier.

Features provided by Atom:
  • Smart Autocompletion
  • Multiple Panes
  • File System Browser
  • Built-in Package Manager
  • Find and Replace
  • Cross-Platform Editing

How To Install Atom Text Editor On Ubuntu 18.04


Via PPA (Personal Package Archive)


Open the terminal and follow the command every step.

Step 1: Adding PPA

$ sudo add-apt-repository ppa:webupd8team/atom

Step 2: Update and Install Atom

$ sudo apt-get update
$ sudo apt-get install atom

After installation is complete then the Atom already in Ubuntu. Just open the Atom from search Ubuntu.

Picture of Atom
Picture of Atom

Optional:  Uninstall Atom


To uninstall Atom, you can use the following command line:
sudo apt-get remove --purge atom

How To Install Atom Text Editor On Ubuntu 18.04


How To Install Postman On Ubuntu 18.04 - In this post, we will learn how to install Postman on Ubuntu 18.04. Postman is a GUI (Graphics User Interface) tool that functions as a Caller API (Application Programming Interface) but not only that there are other features such as Testing API, Sharing Collection for Documentation whose features are free, but there are also paid features such as Real-time Collaboration features Team, API Monitoring, and Integration. To find out more about the postman, you can open the Postman website.

Step 1: Download and Install Postman

Open a terminal and follow the steps of each row:

For Ubuntu 32 Bit:

$ wget https://dl.pstmn.io/download/latest/linux32 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt
$ rm postman.tar.gz
$ sudo ln -s /opt/Postman/Postman /usr/bin/postman
For Ubuntu 64 Bit:
$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt
$ rm postman.tar.gz
$ sudo ln -s /opt/Postman/Postman /usr/bin/postman

Step 2: Adding icon laucher Postman

After downloading and installing is complete, the Postman launcher icon is not yet on Ubuntu so we must configure it by adding the launcher icon file, open the terminal and type the following command.


$ nano ~/.local/share/applications/postman.desktop
Enter the configuration below into the file.
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
After the installation is complete, Postman is already on our Ubuntu. Just open postman on Ubuntu search, then create an account or login if you already have it.

Picture of the Postman
Picture of the Postman

Conclusion:

Postman is an application tool for Caller API that is free but has paid features. Postman also supports the Ubuntu operating system and his family. From the beginning of the installation process Postman we have to download the Postman installer file with type compress tar.gz after downloading we have to extract it and move it to the opt directory in the root and also link to the /usr/bin directory. After the installation is complete Postman can only be opened through the terminal, to open with the launcher icon we have to create a configuration file to display on the Ubuntu menu. We must log in first to use this postman tool.

How To Install Postman On Ubuntu 18.04

Subscribe Our Newsletter