How to Install G++ (C++ Compiler) on Ubuntu

How to Install G++ (C++ Compiler) on Ubuntu

Welcome to this comprehensive guide on installing and managing different versions of the G++ compiler on Ubuntu. The G++ compiler is a vital tool for developers who need to compile C++ applications, and having the correct version installed can significantly affect the functionality and compatibility of developed software. This tutorial is designed to help students, hobbyists, and professional developers successfully install the G++ compiler on their Ubuntu systems and navigate between different versions as needed. Whether you are setting up a development environment, learning C++, or managing multiple C++ projects, this guide will provide you with detailed steps and explanations to ensure that you have the necessary tools to work efficiently with Ubuntu, a popular choice for developers due to its stability and robust community support.

Read more

How to Install and Switch Java Versions on Ubuntu Linux

How to Install and Switch Java Versions on Ubuntu Linux

Java is a powerful programming language and computing platform first released by Sun Microsystems in 1995. Over the years, it has become indispensable for developing everything from mobile applications to large-scale enterprise systems. Installing Java on Ubuntu, a popular Linux distribution, is a straightforward process that can be accomplished through various methods. This tutorial aims to guide you through the installation of Java on Ubuntu, covering both the installation from the Ubuntu repository and the official Oracle package.

Read more

How to Check GPIO Status

How to check GPIO status

The GPIO (General Purpose Input/Output) pins of the Raspberry Pi are how the device can interface with external hardware components. It is how things like sensors and actuators plug into the Raspberry Pi, and allow users to control such devices from the Raspberry Pi itself. Something as simple as turning an LED on or off will require setting the pin to which it is plugged in to either true or false, which changes the current status of that pin.

Read more

How to Install Node.js on Ubuntu 24.04

How to Install Node.js on Ubuntu 24.04

Node.js is a powerful JavaScript runtime built on Chrome’s V8 JavaScript engine. It allows developers to create scalable backend functionality using JavaScript, a language many are familiar with from front-end development. Installing Node.js on your Ubuntu system enables you to develop and run JavaScript applications outside the browser environment. This tutorial will guide you through three methods of installing Node.js on Ubuntu 24.04: using Ubuntu’s package manager (APT), Node Version Manager (NVM), and the official Node.js binary.

Read more

StartOS Linux In-Depth Review: A Comprehensive Look at Performance, User Experience, and Compatibility

StartOS Linux In-Depth Review: A Comprehensive Look at Performance, User Experience, and Compatibility

StartOS (formerly known as EmbassyOS) is a graphical, browser based Linux distribution for servers by Start9. It offers users the ability to install and host a variety of services with a single click. On traditional servers, hosting services usually requires some level of specialized knowledge, tinkering on the command line, and spending time with perusing documentation. StartOS aims to simplify this process by providing an intuitive menu with which you can manage every aspect of your server, as well as anything you have decided to host from it.

Read more

How to install GCC the C compiler on Ubuntu 22.04 LTS Jammy Jellyfish Linux

How to install GCC the C compiler on Ubuntu 22.04 LTS Jammy Jellyfish Linux

GCC (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, the Linux kernel. The objective of this tutorial is to install GCC, the C compiler, on Ubuntu 22.04 Jammy Jellyfish. Installation of GCC can be achieved by using the apt install command as you will see below.

Read more

How to check power consumption on Raspberry Pi

How to check power consumption on Raspberry Pi

As you can probably guess just from its small size and light weight, the Raspberry Pi does not use a lot of power. While it is nice to know that your Raspberry Pi will not be adding much onto your electric bill, exactly how much power does it actually consume? This can be tricky to answer and we need to rely on external devices, since power consumption can’t be accurately measured from software alone.

Read more

How to reset Kali Linux root password

How to reset Kali Linux root password

It’s possible to reset Kali Linux password in the event that you are no longer able to login to the root user account. This happens if you haven’t logged in for a while and have since forgot Kali Linux password. In case you have not already tried, the default Kali password for root user is toor (root backwards) on VMWare and live images. Try logging in with this password before resetting the Kali Linux password.

Read more

How to change Python versions on Raspberry Pi

How to change Python versions on Raspberry Pi

It is possible to have multiple versions of Python installed on the Raspberry Pi simultaneously. It is also simple enough to switch between the versions, which may come in handy for Python programmers that need to support a mix of legacy and modern Python code. Or, perhaps you want to try out a new beta or nightly Python build, without replacing the more stable copy you already have. In this tutorial, you will see how to change between various Python versions on the Raspberry Pi.

Read more

Ubuntu Server 20.04: Connect to WiFi from command line

Ubuntu Server 20.04: Connect to WiFi from command line

In this tutorial, you will learn how to connect to WiFi from command line on Ubuntu using Netplan. While this method can be used on Ubuntu desktop systems with a GUI, it is especially useful if you’re running a headless Ubuntu 20.04 system like a Raspberry Pi or need to connect to Wifi on Ubuntu Server. Follow along with us below as we connect to a WiFi on command line via SSID and network key.

Read more

How to use bash array in a shell script

How to use bash array in a shell script

In this tutorial, we will see how to use Bash arrays and perform fundamental operations on them. Bash, the Bourne Again Shell, is the default shell on practically all major Linux distributions: it is really powerful and can also be considered as a programming language, although not as sophisticated or feature-reach as Python or other “proper” languages. Furthermore, Bash scripting is a must-have skill for any Linux system administration job.

Read more