How to de-snap Xubuntu 22.10

Snap uses loopback devices for applications it installs. These can cause a device or resource busy error if loopback device is also used for encrypted container files due to conflict. To cut a long story short, I decided to completely de-snap Xubuntu. This involves complete removal of snap. Below are the steps done in a … Continue reading How to de-snap Xubuntu 22.10

How to work with flatpak on Linux Mint or Linux

Flatpak is a relatively new way of managing Linux packages. The basic commands of Flatpak are given below. To list flatpaks, use the below command in a terminal window: $ sudo flatpak list <enter> It will display the following output:Name Application ID Version Branch InstallationMint-Y Gtk Theme org.gtk.Gtk3theme.Mint-Y 3.22 systemMint-Y-Aqua Gtk The… org.gtk.Gtk3theme.Mint-Y-Aqua 3.22 system … Continue reading How to work with flatpak on Linux Mint or Linux

How to fix global nodemon node package install error on Linux

To install nodemon globally on Linux, below command:$ npm install -g nodemon <enter> will not work as it requires root privileges. If it is installed with :$ sudo npm install -g nodemon <enter> it will install on the local machine in the root folders. If we do not want to install it globally on our … Continue reading How to fix global nodemon node package install error on Linux

How to install node.js on Linux Mint or Ubuntu Linux

To install node.js for LinuxMint Vera (21.1) or Ubuntu, do followingVisit https://github.com/nodesource/distributions#deb Follow the instructions to install the .deb file on your system at https://github.com/nodesource/distributions#debinstall. Open a linux terminal window and enter the following: $ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\sudo apt-get install -y nodejs <enter> It will now install node.js on … Continue reading How to install node.js on Linux Mint or Ubuntu Linux

Moving from Atom to Visual Studio Code and it’s extensions on Linux

Application developers would rely on Atom code editor to create code for a while now. However, Atom code editor is now sunset per this https://github.blog/2022-06-08-sunsetting-atom/. The option left now is to migrate to another code editor. And one of the best out there is Visual Studio Code (vscode). Since most of the work I do … Continue reading Moving from Atom to Visual Studio Code and it’s extensions on Linux

How to install python3 on Linux

Install python3 $ sudo apt-get install python3-pip python3-venv python3 <enter> Make an isolated environment$ mkdir environment <enter>$ cd environment <enter>$ python3 -m venv my_env <enter> where my_env is the isolated environment$ ls my_env <enter> to display the created folders Activate the isolated environment$ source ~/environment/my_env/bin/activate <enter> This will be the resulting prompt(my_env) patrick@rm01:~/environments$ Create a … Continue reading How to install python3 on Linux

How to remove duplicate files in Linux using rdfind

Duplicate files can be removed using the rdfind command in Linux. To do so open a terminal window and first install rdfind as below:$ sudo apt-get install rdfind <enter> Then, check for duplicate files on a medium:$ rdfind true . <enter> . is the current directory where I ran rdfind Make sure you have a … Continue reading How to remove duplicate files in Linux using rdfind

How to use deja-dup for data backups on Linux

Deja-dup is a Gnome application. It can be used for data backups of the computer to a USB drive, another hard disk, folder or even to the cloud. Data backups are encrypted using the Gnu Privacy Guard (GPG) shared key as they are done. The first backup takes time, depending on the data to be … Continue reading How to use deja-dup for data backups on Linux