Installation of Node.js and NVM on Ubuntu 20.04 LTS Focal Fossa

How to Install Node.js on Ubuntu 20.04 LTS Focal Fossa

If you are a JavaScript enthusiast you may be interested in installing Node.js, which is a JavaScript runtime environment that executes JavaScript code outside of a web browser. This guide will describe a procedure of installing Node.js and the NVM on Ubuntu 20.04 LTS Focal Fossa.

In this tutorial you will learn:

  • How to install default Node.js
  • How to check Node.js version
  • How to install NVM from source
  • How to any Node.js version per user basis

Read more

PIP and PiP3 on Ubuntu 20.04 Focal Fossa Linux

How to install Python package installer PIP on Ubuntu 20.04 Focal Fossa Linux

PIP is a package management system used for installing and managing software packages that were developed with Python. The objective of this tutorial is to show the reader how to install PIP on Ubuntu 20.04 Focal Fossa Linux.

In this tutorial you will learn:

  • How to install Python package installer PIP
  • How to install Python 3 package installer PIP3
  • Basic PIP command usage

Read more

Oracle Java SE Development Kit on Ubuntu 20.04 Focal Fossa Desktop/Server

Oracle Java installation on Ubuntu 20.04 Focal Fossa Linux

In this tutorial we will perform an installation of Oracle Java SE Development Kit on Ubuntu 20.04 Focal Fossa Desktop/Server.

Do you with to install OpenJDK the Oracle’s free and GPL-licensed alternative?
Follow our tutorial on how to install OpenJDK java on Ubuntu 20.04 Focal Fossa.

In this tutorial you will learn:

  • How to download Oracle Java
  • How to install Oracle Java
  • How to set path to Java executable by using the update-alternatives tool
  • How to check Oracle Java version

Read more

How to install GCC the C compiler on Ubuntu 20.04 LTS Focal Fossa Linux

GCC, the GNU Compiler Collection is a compiler system developed to support various programming languages. It is a standard compiler used in most projects related to GNU and Linux, for example, Linux kernel. The objective of this tutorial is to install GCC the C compiler on Ubuntu 20.04 LTS Focal Fossa Linux. This will be achieved by using the apt install command.

In this tutorial you will learn:

  • How to install GCC compiler
  • How to Check C compiler version
  • How to Compile basic C program from source code
  • How to run C program

Read more

How to switch between multiple GCC and G++ compiler versions on Ubuntu 20.04 LTS Focal Fossa

In this tutorial we will install multiple versions of GCC and G++ compilers using the apt install command. Furthermore, by use of the update-alternatives tool you will learn how to easily switch between multiple GCC and G++ compiler versions and how to check the currently selected compiler version.

In this tutorial you will learn:

  • How to install multiple GCC and G++ compiler versions
  • How to create alternative compiler version list
  • How to switch between multiple compiler versions

Read more

How to install G++ the C++ compiler on Ubuntu 20.04 LTS Focal Fossa Linux

G++, the GNU C++ Compiler is a compiler in Linux which was developed to compile C++ programs. The file extensions that can be compiled with G++ are .c and .cpp. The aim of this tutorial is to install G++ the C++ compiler on Ubuntu 20.04 LTS Focal Fossa Linux. This will be achieved by installing the build-essential package.

In this tutorial you will learn:

  • How to install G++ compiler on Ubuntu 20.04
  • How to Check C++ compiler version
  • How to Compile basic C++ program from source code
  • How to run G++ to compile C++ program

Read more

Using cookies in PHP

How to enable sessions in PHP with cookies

Cookies are all around in our everyday life while we browse the Internet. Most people wouldn’t know much about them, if not for those “our website uses cookies to be operational” signs that are on mostly any page now since GDPR. Cookies have a long history if sometimes being good, sometimes bad. As it is usual with most aspects of the world, this technology can be used in a good or bad way.

In this tutorial we will explore cookies a bit from the server side programming perspective: we’ll create an example cookie in PHP, and store the visitor’s chosen username in it. The cookie will reside in the browser of the visitor, so on the next visit we can read it and use it to greet the visitor on the username submitted.

Our simple webpage will recognize the visitor as long as the cookie is present in the browser. We do not store any information on the server side: if the visitor first checks in from a PC, and next time from a smartphone, we will not know it is the same individual. This is one of the main point with cookies: we can only identify the given client, and only as long as the data is provided by that particular browser.

In this tutorial you will learn:

  • How to setup the test environment
  • How to write a simple example program that uses cookies
  • How to test the workings of the program
  • How to reset the environment

Read more

Eclipse IDE for C/C++ Developers on Ubuntu 20.04

Eclipse IDE for C/C++ Developers installation on Ubuntu 20.04

In this tutorial you will learn how to install the latest version of Eclipse IDE for C/C++ Developers on Ubuntu 20.04 Focal Fossa Linux Desktop.

In this tutorial you will learn:

  • How to install Eclipse IDE prerequisites
  • How to download Eclipse IDE for C/C++ Developers
  • How to extract Eclipse IDE for C/C++ Developers package
  • How to launch Eclipse IDE
  • How to create Eclipse IDE desktop launcher

Read more