×

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!

Assign Multiple IP Addresses to Single NIC in Linux Mint 20 - How to Do it ?

This article covers how to assign multiple IP addresses to a single interface in Mint OS. By following our guide carefully, you can either assign the IP address temporarily or permanently to your network interface.

NIC stands for network interface controller or network interface (controller) card. WNIC is wireless network interface controller or wireless network interface (controller) card. IP Addresses belong to network interfaces, not to the computer itself.


To Restart network service using command:

# systemctl restart network

To Verify the new IP address using command:

# ip addr


How configure multiple IP address in CentOS ?

Now, in order to add additional IP addresses you'll need to edit the configuration file (from hereon called “config file”) for this specific interface. On CentOS 7, the interface config files are located in /etc/sysconfig/network-scripts/ and they are all prefixed with ifcfg-.


How remove secondary IP address Linux?

To add or remove additional IP adresses and keep the configuration persistent, we need to Edit the corresponding /etc/sysconfig/network-scripts/ifcfg-eth[x] configuration file and add/remove as many additional IPADDR[n] and PREFIX[n] entries as additional IP addresses are required.


To configure a static IP address on CentOS  / RHEL :

1. Create a file named /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:

DEVICE=eth0.

BOOTPROTO=none.

ONBOOT=yes.

PREFIX=24.

IPADDR=your_ip_address

2. Restart network service: systemctl restart network.


How do I login as a different user in Linux?

To change to a different user and create a session as if the other user had logged in from a command prompt, type "su -" followed by a space and the target user's username. Type the target user's password when prompted.


What is Nmcli in Linux?

nmcli is a command-line tool which is used for controlling NetworkManager. nmcli commnad can also be used to display network device status, create, edit, activate/deactivate, and delete network connections. Typical Uses: Scripts: Instead of manually managing the network connections it utilize NetworkMaager via nmcli.


Difference between the output of ifconfig and ipconfig:

Functionality: The ipconfig command displays all the currently connected network interfaces whether they are active or not. 

On the other hand, the ifconfig command displays only the enabled network interfaces that are connected to the system.

Create and Run a Shell Script in Linux Mint 20 - Step by Step process to perform this ?

This article covers the method of creating and running a shell script in Linux Mint 20.

With this, you can write and execute complex shell scripts in Linux Mint 20 very easily.


To write and execute a script:

1. Open the terminal. Go to the directory where you want to create your script.

2. Create a file with . sh extension.

3. Write the script in the file using an editor.

4. Make the script executable with command chmod +x <fileName>.

5. Run the script using ./<fileName>.


To save a .sh file in Ubuntu:

1. Run nano hello.sh.

2. nano should open up and present an empty file for you to work in.

3. Then press Ctrl-X on your keyboard to Exit nano.

4. nano will ask you if you want to save the modified file.

5. nano will then confirm if you want to save to the file named hello.sh.


To Make a Bash Script Executable in Linux:

1) Create a new text file with a . sh extension.

2) Add #!/bin/bash to the top of it. This is necessary for the “make it executable” part.

3) Add lines that you'd normally type at the command line.

4) At the command line, run chmod u+x YourScriptFileName.sh.

5) Run it whenever you need!

Create and Run a Perl Script in Linux Mint - How to perform this task ?

This article covers how to create and execute a Perl script in Linux Mint 20. Moreover, if Perl is not installed on your system already, then we have even shared with you the method of installing it on your system and also ensuring if its interpreter exists there or not.

Perl is a programming language that can be used to perform tasks that would be difficult or cumbersome on the command line. Perl is included by default with most GNU/Linux distributions. 

PERL- Practical Extraction and Reporting Language (not an official acronym), is a stable and cross-platform language and was created by Larry Wall. 

Perl is an open source, general-purpose, interpreted language. Programs written in Perl are called Perl scripts. 

Perl supports both Procedural language and Object Oriented language and has powerful built-in support for text processing and have a collection of third-party modules. Perl language is mainly used for Web Applications, System Administration, Batch Processing, Applications which involving text processing and most command line applications. 


To run a Perl script in Unix:

1. Find the interpreter/executors path. In this case its /usr/bin/perl or /usr/bin/env perl.

2. Add it to the first line of the file as #!/usr/bin/perl .

3. Give execute permission to the file chmod +x example.pl.


Features of Perl language:

1. Perl takes the best features from other languages, such as C, awk, sed, sh, and BASIC, among others.

2. Perls database integration interface DBI supports third-party databases including Oracle, Sybase, Postgres, MySQL, and others.

3. Perl works with HTML, XML, and other mark-up languages.

4. Perl supports Unicode.

5. Perl supports both procedural and object-oriented programming.

6. Perl interfaces with external C/C++ libraries through XS or SWIG.

7. Perl is extensible.

8. The Perl interpreter can be embedded into other systems.


To install Perl in Linux:

1. Before proceeding with the installation of Perl in your Linux system, please have a check Perl is installed or not on your Linux system by running the below command:

# perl -v

2. Download the zipped source code available for Unix/Linux by running the below command:

# wget https://www.cpan.org/src/5.0/perl-5.28.1.tar.gz

3. After download the zip file runs the below commands to extract and install Perl:

# tar -xzf perl-5.28.1.tar.gz

# cd perl-5.28.1

# ./Configure -de

#make

# make test

# make install


How to write your Perl script in Linux?

You can write your Perl script in a text file and the text file should have the extension '.pl'. 

To run your Perl script run the below command.

#perl filename

Eg: #perl hello.pl

Configure NFS Server and Client on Linux Mint 20 - Step by Step process to do it ?

This article covers how to setup the NFS server and client on Mint. You will learn how to install the NFS server and client, configure and share NFS export directories, and mount/unmount the NFS shares on the client.

Network File System (NFS), is a distributed file system that allows various remote systems to access a file share. We all know that files should be stored on a central server for security and ease of backup. NFS provides us with a file sharing service that is easily managed and controls client access to resources.


To Install the NFS Client on the Client Systems:

1. Install the NFS-Common Package. As is the norm, begin by updating the system packages and repositories before anything else.

2. Create a NFS Mount Point on Client.

3. Mount NFS Share on Client System.

4. Testing the NFS Share on Client System.


A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network.


Benefits of setting up an NFS server:

1. Enables multiple computers to use the same files, so everyone on the network can access the same data.

2. Reduces storage costs by having computers share applications instead of needing local disk space for each user application.

Reboot Linux Mint 20 - How to do it ?

This article covers methods to reboot the Linux Mint. If you want to shut down your Linux Mint instead of rebooting, Learn How to Shutdown Linux Mint 20 .

Rebooting is the same as restarting, and close enough to powering off and then turning off your device. The purpose is to close and reopen the operating system. Resetting, on the other hand, means taking the device back to the state in which it left the factory. Resetting wipes all your personal data.


The systemctl command accepts, among many other options, halt (halts disk activity but does not cut power) reboot (halts disk activity and sends a reset signal to the motherboard) and poweroff (halts disk acitivity, and then cut power). These commands are mostly equivalent to starting the target file of the same name.


To reboot Linux:

1. To reboot the Linux system from a terminal session, sign in or "su"/"sudo" to the "root" account.

2. Then type " sudo reboot " to reboot the box.

3. Wait for some time and the Linux server will reboot itself.


To shut down Linux Mint:

Execute the following command:

sudo chmod u+s /sbin/shutdown

You will be prompted for your root password. After that, you're done and can type "exit" to exit out of the Terminal.


Linux Commands to Shutdown and Reboot the System:

1. Linux shutdown / reboot command. On Linux, like all tasks, the shutdown and restart operations can also be done from the command line.

2. "shutdown" command.

3. "reboot" command.

4. "halt" command.

5. "poweroff" command.

6. REISUB - R E I S U B key strokes.

Install Chrony on Linux Mint - Easy steps to do it ?

This article covers how to #install Chrony on Linux Mint 20. Once it will be installed on your system, its daemon will silently work in the background to synchronize your system's clock with the #NTP server. 

However, if you do not want Chrony to perform this job any longer, then you can simply uninstall it as well.

Chrony is a flexible implementation of the Network Time Protocol (NTP). 

It is used to synchronize the system clock from different NTP servers, reference clocks or via manual input.


Chrony comes with two programs:

1. chronyc – command line interface for chrony

2. chronyd – daemon that can be started at boot time


How to Install #Chrony in #Linux :

On some systems, chrony may be installed by default. Still if the package is missing, you can easily install it. 


You can install chrony Using your default package manager tool on your respective Linux distributions using following command:

# yum -y install chrony    [On CentOS/RHEL]

# apt install chrony       [On Debian/Ubuntu]

# dnf -y install chrony    [On Fedora 22+]


To check the status of chronyd use the following command:

# systemctl status chronyd      [On SystemD]

# /etc/init.d/chronyd status    [On Init]


If you want to enable chrony daemon upon boot, you can use the following command:

# systemctl enable chronyd       [On SystemD]

# chkconfig --add chronyd        [On Init]


How to Check Chrony Synchronization in Linux ?

To check if chrony is actually synchronized, we will use it's command line program chronyc, which has the tracking option which will provide relevant information:

# chronyc tracking


To check information about chrony’s sources, you can issue the following command:

# chronyc sources

Different Methods to Find Your Private IP Address in Linux Mint 20 ?

This article covers different methods to quickly find the IP address of your #Linux Mint system. 

The simplest way to check the ip address of linux Mint, when using the bash shell is typing the command ifconfig. 

On typing the ifconfig you will not only be provided with the ip address, but also the mac address, subnet mask and other information. 


The following commands will get you the private IP address of your interfaces:

1. ifconfig -a.

2. ip addr (ip a).

3. hostname -I | awk '{print $1}'.

4. ip route get 1.2.

5. nmcli -p device show.


What is the #ipconfig command for Linux?

ifconfig(interface configuration) command is used to configure the kernel-resident network interfaces. It is used at the boot time to set up the interfaces as necessary. 

After that, it is usually used when needed during debugging or when you need system tuning.

Install Google Chrome on Linux Mint 20 - Step by step process to do it ?

This article covers different methods to #install Google Chrome on Linux Mint. You can easily install/uninstall Google Chrome on Linux mint 20 OS. You will also learn how to set Google Chrome as the default web browser so that all your links or URLs open by default in Google Chrome.

You can install Google #Chrome onto your Linux #Mint 20 distro by using either of the following two methods:
1. Install Chrome by adding the Google Chrome repository.
2. Install Chrome using the . deb package.

To install #Google Chrome on #Linux Mint:
1. Add this link to the list of repo sources "deb http://dl.google.com/linux/chrome/deb/ stable main"
2. Run in terminal "sudo apt-get update"
3. Run in terminal "sudo aptitude install google-chrome-stable"

Running sudo apt-get update (or sudo aptitude update ) updates this on your local system.
This is the step that actually retrieves information about what packages can be installed, including what updates to currently installed packages packages are available, from Internet sources.

Install Wine on Linux Mint 20 - Step by step process to do it ?

This guide will show you steps to install Wine on Linux Mint 20.  Also, you will learn how to remove it once you no longer require this software on your system.

Wine is an open-source, free and easy-to-use program that enables Linux users to run Windows-based applications on Unix-like operating systems. 

Wine is a compatibility layer for installing almost all versions of Windows programs.

The APT is the tool, commonly used to install packages, remotely from the software repository. 

Basically, it's a simple command based tool that you use to install files/software. Complete command is apt-get and it's the easiest way to install files/Software packages.


To uninstall a program in Linux:

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

For example, the following command uninstalls gimp and deletes all the configuration files, using the “ -- purge” (there are two dashes before “purge”) command.


How do I delete apt repository?

Whenever you add a repository using "add-apt-repository" command, it will be stored in /etc/apt/sources. list file. 

To delete a software repository from Ubuntu and its derivatives, just open the /etc/apt/sources. 

List file and look for the repository entry and delete it.