×

Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS - Step by Step Process ?

This article covers method to Upgrade Ubuntu 16.04 to Ubuntu 18.04. If you are still using Ubuntu version 16.04, you may want to consider updating to the latest Long Term Support release, version 18.04.


What does LTS or Long Term Support Release Mean?

A Long Term Support release or LTS release, means that Ubuntu will support the version for five years. 

If you are running a production environment, you will likely want to use a Long-Term Support version of your preferred server operating system.


What is New in Ubuntu Version 18.04:

1. Depending on when you installed Ubuntu version 16.04, the Linux kernel used would have been anywhere from version 4.4 to 4.10. Version 18.04 uses Linux kernel 4.15 at launch.

2. Linux kernel 4.5 now includes new features like CPU controller for the cgroup v2 interface, AMD secure memory encryption support, the latest MD driver with software RAID enhancements, and improved power management for systems with SATA Link Power Management.

3. The new kernel also includes some Ubuntu-specific updates, Linux security module stacking support, and the signing of POWER host and NV kernels is now supported.

18.04 does not install Python 2 default, and it updated Python version 3 to version 3.6.

4. Apache updates to version 2.4.29 and supports HTTP/2.

5. Nginx updates to version 1.14.0.

6. PHP updates from version 7.1 to 7.2.

7. The ifupdown network manager is removed on new installs and is deprecated. netplan.io is the new network configuration manager.

8. OpenSSH now refuses to use RSA keys smaller than 1024 bits. This command can report the length of a key.

ssh-keygen -l -f /path/to/key.pub

32-bit PowerPC support has been dropped.

9. The Subuquity server installer brings live sessions and fast installs of Ubuntu Desktop to server users.

10. Ubuntu 18.04 ships with LXD system container manager version 3.0. Version 3.0 of LXD allows for clustering of LXD servers, adds support of NVIDIA run-time pass-through, and lxd-p2c is a new tool that turns existing systems into LXD containers.


To Upgrade Ubuntu from 16.04 to 18.04:

1.  Create a backup of your environment.

2. Run the command below to update and upgrade the packages.

$ sudo apt-get update && sudo apt-get upgrade

3. To add the Update Manager to your server add command below to your terminal.

$ sudo apt install update-manager-core

4. Now that you have created a backup installed package updates and have the upgrade manager you are ready to upgrade Ubuntu.

$ sudo do-release-upgrade

5. To check what version of Ubuntu is currently installed use the command below.

$ lsb_release -a


Install Code::Blocks on Ubuntu 20.04 - Step by Step Process ?

This article covers how to conveniently install the Code::Blocks IDE on your Ubuntu 20.04 system.

After installing this IDE on your system, you can easily use it for C, C++, and FORTRAN development.

You can even uninstall it anytime you want and that too very cleanly by following the uninstallation method of the Code::Blocks IDE.

To Install Code::Blocks IDE using APT:
Code::Blocks IDE is available on Ubuntu repositories and can be installed with the APT command.
1. First update your system.

$ sudo apt update

2. To install codeblock on Ubuntu , run the following command.

$ sudo apt install codeblocks

3. When prompted to continue, just type 'Y' and press ENTER to proceed.

To Remove Code::Blocks IDE from Linux system:

1. To remove codeblocks from ubuntu, run the following command.

$ sudo apt remove codeblocks

2. To complete remove codeblock and its associated configurations, run the following two commands.

$ sudo apt purge codeblocks
$ sudo apt autoremove


Change Snap Packages Update Frequency - Step by Step Process ?

This article covers how to use Snap and how it updates. Snap packages are set to refresh (update) 4 times per day by default. 

It should also be noted that automatic updating of snap packages cannot be completely disabled directly from the snapd settings, as there's no option for this (what's up with that?), so if you want to disable this altogether, you'll have to resort to workarounds like blocking the snap update URL, or setting your Internet connection to metered and them using the refresh.metered option to hold the snap refresh process when a metered connection is detected (sudo snap set system refresh.metered=hold).


If you want to check if a certain snap is available from the snap store, use the syntax:

$ snap find [ package name ]


To view the current snap refresh (update) schedule for your system, use:

# snap refresh --time


To change the snap refresh schedule, use:

# sudo snap set system refresh.timer=<frequency>

You'll need to replace <frequency> with the snap refresh frequency you want to set for the timer, as defined in the Snapcraft documentation.


Install Blender on Ubuntu 20.04 - Step by Step Process ?

This article covers steps to install Blender on Ubuntu Systems. Blender 3D is a professional open-source 3D graphics and animation software. It has a rich feature set like animations, visual effects, 3D modeling, and motion graphics. 

It produces great results and is used in professional film production. 


To install Blender 3D on Ubuntu:

1. We need to update our Ubuntu 20.04 system before installing Blender 3D on it. This can be done with the following command:

$ sudo apt-get update

2. Now, we can install Blender 3D on our Ubuntu 20.04 system with the following command:

$ sudo apt install blender

During the installation of this software, you will be asked to provide confirmation for this action by typing in "y" and then pressing the Enter key.


Install Ruby on Ubuntu 20.04 - Step by Step Process ?

This article covers the method of installing Ruby on a Ubuntu 20.04 system.

Also, if you want to remove this programming language from your Ubuntu 20.04 system, then you can also do this by the method that we mentioned in this guide.


To Update RubyGem Package Manager:

RubyGems is a Ruby Package Manager, coming with the gem command-line tool. It's automatically installed when we install Ruby on the system.

To update the RubyGem to the latest version, run the following command.

$ gem update --system


How To Install Ruby on Rails on Ubuntu ?

Here, we will install the latest version of Ruby on Rails through the RubyGem package manager.

Install Ruby on Rails using the gem command below:

$ gem install rails

Once all installation is completed, check the Ruby on Rails version:

$ rails --version


To Install and Configure PostgreSQL on Ubuntu System:

1. Install the PostgreSQL database server to the Ubuntu 20.04 using the apt command below:

$ sudo apt install postgresql postgresql-contrib libpq-dev -y

2. Once all installation is completed, start the PostgreSQL service and add it to the system boot:

$ systemctl start postgresql
$ systemctl enable postgresql


Install TeamViewer on Ubuntu 20.04 LTS - Step by Step Process ?

This article covers how to install TeamViewer on Ubuntu 20.04 via the command-line and GUI. You can also explore our related how-tos for Debian  and CentOS .

TeamViewer is a cross-platform solution that can be used for remote control, desktop sharing and file transfer between computers.


To Install TeamViewer on Ubuntu:

1. Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.

Download the latest TeamViewer .deb package with the following wget command:

$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

2. Install TeamViewer

Install the TeamViewer .deb package by issuing the following command as a user with sudo privileges:

$ sudo apt install ./teamviewer_amd64.deb

At the prompt Do you want to continue? [Y/n], type Y to continue the installation.


To Uninstall TeamViewer from Ubuntu System:

1. In order to uninstall TeamViewer from your system without removing any configurations you might have made, enter the following command as sudo:

$ sudo apt remove teamviewer

The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. TeamViewer will then be removed from your system.

2. If you have made any configurations, you can remove TeamViewer and all those by using the following command:

$ sudo apt purge teamviewer


Install R on Ubuntu 20.04 - Step by Step process ?

This article covers R installation on Ubuntu 20.04 system. R is an open-source programming language, R is widely used for performing data analysis and statistical computing. Supported by the R Foundation for Statistical Computing, it is an increasingly popular and extensible language with an active community. R offers many user-generated packages for specific areas of study, which makes it applicable to many fields.


To Install R on Ubuntu:

1. Add the relevant GPG key,

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

2. Add the repository,

$ sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'

3. Run update after this in order to include package manifests from the new repository.

$ sudo apt update

4. Install R with the following command:

$ sudo apt install r-base

If prompted to confirm installation, press y to continue.


Download YouTube Videos on Ubuntu Linux - How to do it ?

This article covers how you can download YouTube videos on Linux using the youtube-dl utility. The youtube-dl is a handy utility with a large feature set. However, there is a lot more you can do with this utility. To explore more features, visit its official documentation . To play the downloaded videos, you can use any media players like VLC , FFmpeg , and so on.

youtube-dl is a command-line program that lets you easily download videos and audio from more than a thousand websites. 


youtube-dl is a Python based small command-line tool that allows to download videos from YouTube.com, Dailymotion, Google Video, Photobucket, Facebook, Yahoo, Metacafe, Depositfiles and few more similar sites. 

It written in pygtk and requires Python interpreter to run this program, it's not platform restricted. It should run on any Unix, Windows or in Mac OS X based systems.


To Install YouTube-DL in RHEL/CentOS and Fedora:

The youtube-dl program can be installed by enabling epel repository under your systems. Once enabled, you can install using 'yum' package manager tool:

$ yum install youtube-dl

Also, if you wish to add any third party repository, you can still install it right away using curl or wget command:

$ curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

OR

$ wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

Your system must have curl or wget packages installed to fetch the recent version youtube-dl file. If you don't have them, you may yum to get it.

After fetching the file, you need to set a executable permission on the script to execute properly:

$ chmod a+rx /usr/local/bin/youtube-dl


To Install YouTube-DL in Ubuntu/Linux Mint and Debian:

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install youtube-dl

Also, instead using any third party PPA, you can use curl or wget command to install latest version of youtube-dl script:

$ sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

OR

$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

After downloading the script, set the executable permission:

$ sudo chmod a+rx /usr/local/bin/youtube-dl


To Update YouTube-DL,

Youtube-dl itself can be updated to the latest version using the following command:

$ youtube-dl -U


Install Cockpit on Ubuntu 20.04 - Step by step process to do this ?

This article covers how to install Cockpit on Ubuntu 20.04 system. Cockpit is a free and open source web console tool for Linux administrators and used for day to day administrative and operations tasks. 


To Install the Cockpit package on Ubuntu 20.04 LTS Server, run the command:

$ sudo apt update
$ sudo apt install cockpit -y

Once cockpit package is installed successfully then start its service using the following systemctl command,

$ sudo systemctl start cockpit

Run the following to verify the status of cockpit service,

$ sudo systemctl status cockpit


Features of Cockpit:

Cockpit allows you to perform:

1. Service Management – Start, stop, restart, reload, disable, enable, mask e.t.c

2. User Account Management – Add users, delete, Lock, assign Administrator role, set password, force password change, Add Public SSH keys e.t.c.

3. Firewall Management

4. Cockpit Container management

5. SELinux Policy management

6. Journal v2

7. iSCSI Initiator configurations

8. SOS-reporting

9. NFS Client setup

10. Configure OpenConnect VPN Server

11. Privileged Actions – Shutdown, Restart system

12. Join Machine to Domain

13. Hardware Device Management

14. System Updates for dnf, yum, apt hosts

15. Manage the Kubernetes Node


Install Arduino IDE on Debian 10 - Step by Step Process to implement it ?

This article covers different methods to install the Arduino IDE on Debian system. To get the latest version of Arduino IDE, simply go for installation via tarball and snap. If you prefer an older release of Arduino, go for installation via apt.

Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. 

To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.”


To Install Arduino IDE on Ubuntu:

1. Execute the command:

$ sudo apt install Arduino

2. You will be provided with Y/N option, press y to continue.

3. Now wait for a while until the installation of Arduino IDE is completed.


To Launch Arduino IDE:

To launch Arduino IDE application on your system, hit the super key and in the search bar that appears, type Arduino. When the Arduino IDE icon appears, click on it to launch.

You will see the default view of Arduino IDE.


Install Skype on Linux Mint 20 - How to perform this task ?

This article covers how to install Skype on Linux Mint 20 system. Skype is used to make free video and voice calls, send instant messages, and also to share files with other people on Skype.

However, if at any instance, you feel like you are getting more inclined towards some other application or Skype is not fulfilling your needs anymore, then you can easily remove it by following the removal method prescribed in this guide.


To Install Skype on Linux Mint using the Software Center:

1. Click ‘Menu’, type ‘Software Manager’ in the search box and launch it.

2. Search for ‘Skype’ in the Software Manager’s search box. You should see Skype and Skype (Flathub). These are just coming from two different sources. Click on only the “Skype” version. This is coming from the official Linux Mint’s Repository source.

3. Click “Install”, enter the Root password to complete the installation.

4. After the installation is complete, you can click on the “Launch” button or open the app from the “Applications” menu.

5. Start using Skype!


Install MariaDB on Ubuntu 20.04 LTS - Step by step process to do it ?

This article covers how to install MariaDB on Ubuntu 20.04 LTS system. Also you will learn how to secure it by configuring some security options and then, in the end, we have tested the connection to MariaDB. The #Ubuntu server should have a non-root administrative user and a firewall configured with UFW.

By following the above simple steps, you can easily setup MariaDB on your ubuntu system. 

For more information, visit MariaDB's official documentation .

MariaDB is one of the most widely used and open-source database management systems. 

MariaDB is considered as a replacement for #MySQL and has much more features and capabilities that you cannot find in MySQL.


To install #MariaDB on Debian:

1. Update your package index using apt;

$ sudo apt update

2. Install the mariadb-server package using apt. The package also pulls in related tools to interact with MariaDB;

$ sudo apt install mariadb-server

3. Run the included mysql_secure_installation security script to restrict access to the server;

$ sudo mysql_secure_installation


How to uninstall programs from Linux Mint ?

This article will guide you on methods to remove or #uninstall a program in #Linux #Mint 20. 

To uninstall a program, use the "apt-get" command, which is the general command for installing programs and manipulating installed programs.

If you want to remove a package, use the apt in the format; sudo apt remove [package name]. If you want to remove a package without confirming add –y between apt and remove words.

To uninstall an RPM package:

1. Execute the following command to discover the name of the installed package: rpm -qa | grep Micro_Focus. This returns PackageName , the #RPM name of your Micro Focus product which is used to identify the install package.

2. Execute the following command to uninstall the product: rpm -e [ PackageName ]


To clean up broken #packages in #Ubuntu:

i. Find your package in /var/lib/dpkg/info , for example using: ls -l /var/lib/dpkg/info | grep <package>

ii. Move the package folder to another location.

iii. Run the following command: sudo dpkg --remove --force-remove-reinstreq <package>


Steps by step process to install VLC media player on Ubuntu 20.04 LTS ?

This article will guide you on different installation methods for the VLC. We have also seen how we can uninstall this streaming #software from the system when it is not needed.

VLC Media Player is one of the most well known and arguably best media players available for any platform, including Windows. #VLC can also help you convert video files from one format to another, save YouTube videos for offline playback, and record your own videos using your webcam.

Using #Linux #Terminal to Install VLC in #Ubuntu:

1. Click on Show Applications.

2. Search for and launch Terminal.

3. Type the command: sudo snap install VLC .

4. Provide the sudo password for authentication.

VLC will be downloaded and installed automatically.


Steps to Create and run a Perl script in CentOS 8 ?

This article will guide you on steps to perform Perl installation on #CentOS 8. You will also learn how to create and execute the #Perl #script on your CentOS system by using the terminal #commands.

Perl is a programming language that can be used to perform tasks that would be difficult or cumbersome on the command line.

To run a Perl script in Linux:

1. Run the "perl" command with the Perl script included in the command line.

2. Run the "perl" command with the Perl script supplied from the standard input stream.

3. Run the "perl" command with the Perl script supplied in a file.

4. Run Perl script files as commands.


Install latest LibreOffice on Ubuntu 20.04 LTS - Different methods to do it ?

This article will guide you on different methods to have the latest version of #LibreOffice installed on your #Ubuntu 20.04 system. To #install LibreOffice Ubuntu 20.04 step by step instructions: 1. Use the top left Activities menu to open the #Software application. 2. Search for LibreOffice software. 3. Click the Install button to begin the LibreOffice installation. 4. Enter your username and password. 5. Start the LibreOffice #application.


Steps to Install Microsoft Teams on Ubuntu 20.04 LTS ?

This article will guide you on the steps to #install #Microsoft #Teams on #Ubuntu 20.04 LTS system using either the command line or graphical method. You can get more information about how to get started with Microsoft Teams, visit the Microsoft Teams Documentation https://docs.microsoft.com/en-us/microsoftteams/get-started-with-teams-quick-start page. Microsoft has spent time ensuring Microsoft Teams has feature parity with Skype for Business Online. Microsoft Teams has the same voice, video and chat capabilities, but goes beyond the basics by offering more effective group conversations and social networking-esque features that drive engagement. To Install Teams via DEB Linux Binary Installer: 1. Download Teams Linux Binary Installer. 2. Navigate to teams app downloads page and grab the #Debian binary #installer. 3. Install Teams Using DEB Binary Installer. 4. Once the download is complete, install Teams using APT package manager. 5. Install Microsoft Teams from Microsoft #Repository.


How to know Ubuntu version via command line ?

This article will guide you on how to check your Ubuntu version so that you can apply patches and update versions for security and performance reasons. The Process of Checking the #Ubuntu version in the #terminal ? i. Open the terminal using "Show Applications" or use the keyboard shortcut [Ctrl] + [Alt] + [T]. ii. Type the #command "lsb_release -a" into the command line and press enter. iii. The terminal shows the Ubuntu version you're running under "Description" and "Release".


Complete guide to install RHEL 8 updated packages to enhance security

This article will guide you on the steps to install the software update for all installed packages using the GUI and CLI methods on RHEL 8.x based systems.


Configure automatic unattended updates in Ubuntu 20.04

Updating your Ubuntu Linux server manually is a complete waste of time and energy. You can set up an automatic process whereby the system will update new patches to improve security.