×


Blog


Install Opera Browser on CentOS 8 - Step by step process to perform it ?

This article covers how to install the Opera browser using different ways on CentOS 8. We have also shown how you can install packages by using the wget command. Opera browser is amazing on your CentOS 8 system.


To install Opera browser on CentOS:

1. Add Opera YUM repository

Run the following commands to manually add the Opera RPM repository to your RHEL / CentOS 8 system.

$ sudo tee /etc/yum.repos.d/opera.repo <<RPMREPO

[opera]

name=Opera packages

type=rpm-md

baseurl=https://rpm.opera.com/rpm

gpgcheck=1

gpgkey=https://rpm.opera.com/rpmrepo.key

enabled=1

RPMREPO

2. Install Opera Browser on RHEL 8 / CentOS 8

Use yum package manager command to install Opera Browser on RHEL 8 / CentOS 8.

$ sudo yum -y install opera-stable

3. Wait for the installation to complete then launch the browser from the CLI:

$ opera 


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.


Install Opera Web Browser on Ubuntu 20.04 - Step by Step process to perform it ?

This article covers how to install Opera web browser on an Ubuntu 20.04 system. Opera web browser provides its unique features and has many users all over the world.

Users can access and then use the Opera browser once they have installed it in their systems. You will also learn how to uninstall the browser from the Ubuntu 20.04 system.


To install Opera browser on Linux:

1. Add Opera browser Repository. Let's start by adding an Opera repository and keyring.

2. Install Opera Browser. At this stage to install the Opera browser on Ubuntu 18.04 Bionic Beaver is easy as executing the below command: $ sudo apt install opera-stable.

3. Start Opera Browser.


To Install Google Chrome on Debian:

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

2. Install Google Chrome. Once the download is complete, install Google Chrome by typing: $ sudo apt install ./google-chrome-stable_current_amd64.deb.


To start Chrome on Linux:

1. Edit ~/. bash_profile or ~/. zshrc file and add the following line alias chrome="open -a 'Google Chrome'"

2. Save and close the file.

3. Logout and relaunch Terminal.

4. Type chrome filename for opening a local file.

5. Type chrome url for opening url.


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"


The sudo apt-get update command is used to download package information from all configured sources.

So when you run update command, it downloads the package information from the Internet. It is useful to get info on an updated version of packages or their dependencies.


To Uninstall Opera on Ubuntu:

1. In order to uninstall Opera through the command line, enter the following

$ sudo apt-get remove opera-stable

2. The repository you added will still be residing on your system. Enter the following command in order to remove it:

$ sudo apt-delete-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free


Free Up Disk Space in Ubuntu 20.04 LTS - How to do this ?

This article covers different effective ways to free up some disk space on your Ubuntu system or other Linux distro. 

Although Linux does not clutter up like Windows, it may be useful to occasionally clean up Linux. Especially in systems with a smaller hard drive it can be beneficial to clean Linux. Occasionally cleaning up Linux does have to be done on a daily basis or weekly basis, 1 time per month is more than sufficient.


Terminal commands to free up some disk space on your Linux System:

There are 3 terminal commands which you can use top clean up Linux Mint. 

Each terminal will be explained about what they do and remove. 

All three commands contribute to free up disk space.

1. sudo apt-get autoclean

This terminal command deletes all .deb files from /var/cache/apt/archives. It basically cleans up the apt-get cache.

2. sudo apt-get clean

This terminal command is used to free up the disk space by cleaning up downloaded .deb files from the local repository.

3. sudo apt-get autoremove

This terminal command used to remove packages that were automatically installed to satisfy dependencies for some package and no longer needed by those packages.


Install Wine on CentOS 8 - Step by Step process to do it ?

This article covers how to install Wine on CentOS 8. With the use of this package, you can easily use the native Windows applications on CentOS 8. However, you can also remove this package from your CentOS 8 system to conserve the memory whenever you want.


How to Install Wine 4 on CentOS 8:

Install EPEL Repos on CentOS 8

Wine is not included in the default CentOS 8 repositories but however available on EPEL repos. Therefore, run the command below to install EPEL repos:

$ dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm


To run Wine on CentOS 8:

Wine command takes the following syntax.

$ wine program [arguments]

To obtain help on Wine usage;

$ wine --help

Consult man pages for Wine for more insight.

$ man wine

Before you can use Wine to run Windows applications, reboot your system to setup the Wine environment.

$ systemctl reboot