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

Sort text file in Linux from a particular position

I have a text file, named all.txt, with the following content:f http://www.google.com/f http://www.abc.com/c http://www.google.com/c http://www.abc.com/ I want to sort it on the URL ignoring the first 2 characters i.e f or c . To do this, Linux provides a sort command. Using the keydef option, the file can be sorted. To do so, open a … Continue reading Sort text file in Linux from a particular position

How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

How to backup Android apps source code from Android Studio or command line

Developers use Android Studio to create applications for Android devices. However, if a source code management system like github is not used, then the source code or code of these apps under development has to be backed up. To do this, there are two ways, one from Android Studio and the other from the command … Continue reading How to backup Android apps source code from Android Studio or command line

How to install masscode code snippets manager on Linux Mint

masscode is one of the best code snippets managers out there. It works on multiple platforms and devices. However, it is only available as a snap package for Linux. To install it on a Linux Mint system where snap packages are disabled by default requires snap packages to be enabled. Therefore, enable snap packages on … Continue reading How to install masscode code snippets manager on Linux Mint

How to install Snap packages on Linux Mint 21

Installing Snap Packages on Linux Mint 21 is not as straightforward. If the snap package is installed without doing the steps below, it throws an error as below: package snapd has no installation candidate. However, snap can still be enabled, and snap packages installed on it. To install snap, open a terminal window and enter … Continue reading How to install Snap packages on Linux Mint 21

How to install Oracle SQL developer data modeler on Linux Mint 21 or Ubuntu Linux

One of the best tools for database design is the Oracle SQL Developer Data Modeler and it's free. As a developer who designs databases this tool is indispensable due to the features it has. The tool can be downloaded from https://www.oracle.com/database/sqldeveloper/technologies/sql-data-modeler/. Note that you need to have an account with Oracle. The only issue is … Continue reading How to install Oracle SQL developer data modeler on Linux Mint 21 or Ubuntu Linux