×


Linux Resources


Install RPM Packages on CentOS 8 - Step by Step Process ?

This article covers how to install the RPM package on the CentOS 8 system.

Now you can easily download, install, update and erase Rpm packages on your CentOS system.
While working in Linux, you may have seen downloadable files with the .rpm extension.
Rpm files are designed to be downloaded and installed independently, outside of a software repository.
RPM Package Manager (RPM) is a free and open-source package management system for installing, uninstalling and managing software packages in Linux.

How to Download RPM Installation File on Linux ?
1. To install wget in CentOS, enter the following in a terminal window:

$ sudo yum install wget

2. To install weget in Fedora, enter the following:

$ sudo dnf install wget

3. Now, you can use the wget command to download the .rpm file you want.

Enter the following:

$ wget http://some_website/sample_file.rpm


To check the .rpm file for dependencies using the following command:

# sudo rpm –qpR sample_file.rpm

The system should list all the dependencies:
i. –q – This option tells RPM to query the file
ii. –p – This option lets you specify the target package to query
iii. –R – This lists the requirements for the package


How to install a .rpm file to your Linux CentOS or Fedora system ?
You can use the yum package manager to install .rpm files.
Enter the following:

# sudo yum localinstall sample_file.rpm

The localinstall option instructions yum to look at your current working directory for the installation file.


Install Flameshot on CentOS 8 - Step by Step Process ?

This article covers how to install the flameshot application on CentOS 8.

You will also learn how you can remove it from your CentOS 8 if you don’t need more on your system.

Main features of flameshot includes:
1. Supports graphical and CLI mode.
2. Edit images instantly.
3. Image uploads to Imgur.
4. Export and import configuration.
5. Easy to use and customizable.

To Install Flameshot in Linux:
Flameshot can be installed using package managers. Before installing through this method make sure you verify the version that ships with your OS:

$ sudo dnf install flameshot  # Rhel, Centos, Fedora
$ sudo apt install flameshot  # Debian, Ubuntu-based distro 

OR
# Ubuntu based distribution

$ wget https://github.com/flameshot-org/flameshot/releases/download/v0.9.0/flameshot-0.9.0-1.ubuntu-20.04.amd64.deb
$ dpkg -i flameshot-0.9.0-1.ubuntu-20.04.amd64.deb

# Rhel based distribution

$ wget https://github.com/flameshot-org/flameshot/releases/download/v0.9.0/flameshot-0.9.0-1.fc32.x86_64.rpm
$ rpm -i flameshot-0.9.0-1.fc32.x86_64.rpm


Change Sudo Password Timeout on Ubuntu 20.04 LTS - How to do it ?

This article covers how you can easily change the sudo password timeout by adding a single entry in the sudoers file. If you are using Vi instead of Nano, follow the instructions described here.
You use sudo for some command in the terminal, it asks for the password.

You enter the password, the command runs.
For the subsequent commands, even if they need superuser privileges, you don't need to enter the password again.
After a certain amount of time, when you try to use sudo, it asks for the password again.
It happens because there is a default timeout in Ubuntu and other Linux system for Sudo. In Ubuntu, this default sudo timeout is 15 minutes.
If you think 15 minute is too short or too long you can even change the sudo password timeout in Ubuntu.

To Change sudo password timeout in Ubuntu:
1. Open a terminal (Ctrl+Alt+T) and use the following command:

$ sudo visudo

It will open a file in nano text editor that contains some settings related to sudo.
In here look for the following line:

Defaults        env_reset

Replace above line with this one:

Defaults        env_reset, timestamp_timeout=XX

Where XX is the new timeout value in minutes.
Of course you have to replace the XX with the desired timeout value.
2. Once you are done changing the default sudo password timeout, use Ctrl+X to exit the editor.
It will give you option to save or cancel the changes.

Use Y to save the changes.


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

This article covers how you can install Putty on your Ubuntu OS. Now you can use your Putty SSH client on Linux to connect to remote systems. For more help regarding Putty, visit its user manual.


PuTTY is a popular terminal emulator for Windows, but it is not only limited to Windows operating system. 

Being free and open source, it is popular among Linux users too. PuTTY supports a wide range of protocols such as serial, SSH, Telnet, rlogin, SCP, SFTP etc. 

Sysadmins generally use PuTTY as an SSH and telnet client whereas the Maker community widely uses PuTTY for interfacing with the serial ports on their hardware. 

PuTTY ships with a command line tool named "psftp", the PuTTY SFTP client, which is used to securely transfer files between computers over an SSH connection. 


To install PuTTY on Ubuntu:

1. In order to install Putty, you will need to ensure that the Universe repository is enabled on your Ubuntu system. If it is not already enabled, you can enable it by using the following command in Terminal:

$ sudo add-apt-repository universe

When prompted for the password, enter the sudo password.

2. After enabling the Universe repository, now you can install Putty on your system. Issue the following command in Terminal in order to do so:

$ sudo apt install putty

When prompted for the password, enter the sudo password.


Install Jenkins on Ubuntu 20.04 - Step by Step Process ?

This article covers how you can install Jenkins on Ubuntu OS. For further information about Jenkins, visit its official documentation.

Jenkins is an open-source automation server that can be used to easily set up continuous integration and continuous delivery (CI/CD) pipelines.

Continuous integration (CI) is a DevOps practice in which team members regularly commit their code changes to the version control repository, after which automated builds and tests are run. 

Continuous delivery (CD) is a series of practices where code changes are automatically built, tested, and deployed to production.


To install Jenkins on Ubuntu 20.04 as a standalone service:

1. Run the following commands as root or user with sudo privileges or root to install OpenJDK 11:

$ sudo apt update
$ sudo apt install openjdk-11-jdk

2. Once the installation is complete, verify it by checking the Java version:

# java -version

3. Import the GPG keys of the Jenkins repository using the following wget command:

# wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -

4. Next, add the Jenkins repository to the system with:

# sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

5. Once the Jenkins repository is enabled, update the apt package list and install the latest version of Jenkins by typing:

# sudo apt update
# sudo apt install jenkins

6. Jenkins service will automatically start after the installation process is complete. You can verify it by printing the service status:

# systemctl status jenkins


Install AnyDesk On Ubuntu 20.04 / 18.04 - Step by Step Process ?

This article covers methods to Install AnyDesk on Ubuntu 20.04/18.04 Linux.

AnyDesk is a remote server management tool which provides powerful Linux-based connectivity for smooth and seamless remote access to any computer. 

AnyDesk can be used comfortably for both individual, teams and in professional organizations offering remote support to customers.


To Install AnyDesk on Ubuntu:

1. Start by ensuring your system is updated.

$ sudo apt update
$ sudo apt -y upgrade

2. Import AnyDesk GPG key for signing APT packages.

$ wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -

3. Then add AnyDesk repository content to your Ubuntu system.

$ echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list

4. Finally update apt cache and install the latest release of AnyDesk on Ubuntu.

$ sudo apt update
$ sudo apt install anydesk

5. After installation, use the Desktop Applications launcher to start AnyDesk on Ubuntu.

$ anydesk

Search by typing a one letter Word Term Here