How to create a python virtual environment for a project in Linux

Python interpreters can be installed globally system-wide or as a virtual environment within a project folder. The advantage of within a virtual environment is isolation of the packages from system-wide use and execution. To set up a virtual environment for a project, open a terminal window and enter the following commands: $ sudo apt-get install … Continue reading How to create a python virtual environment for a project in Linux

Things to do after installation of Debian 12 (Bookworm)

Finally, I managed to install Debian 12 XFCE, also known as, Bookworm on my laptop and found that though it installed and booted successfully, it needed some issues to be resolved and some additional activities to be done. These are all listed below with links to the relevant posts. Assign sudo rights to a normal … Continue reading Things to do after installation of Debian 12 (Bookworm)

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 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 fix error the following packages have been held back in Linux Mint or Ubuntu Linux

When updating packages in Linux Mint 21 or Ubuntu 22.04 LTS, at times, a message appears, as shown below, that states the following packages have been held back.$ sudo apt-get dist-upgrade <enter> Reading package lists… DoneBuilding dependency tree… DoneReading state information… DoneCalculating upgrade… DoneThe following packages have been kept back:cryptsetup cryptsetup-bin cryptsetup-initramfs libcryptsetup120 upgraded, 0 … Continue reading How to fix error the following packages have been held back in Linux Mint or Ubuntu Linux

How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

In Ubuntu 22.04 LTS or Linux Mint 21, there has been a change in the way keys to repos are stored. When installing software like Spotify from the internet via instructions there, the commands used cause an error when running apt-get update. The following error appears: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d … Continue reading How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE

The computer speakers crackle and give distorted sound at high volumes in Linux Mint 20 XFCE. To overcome this, open a terminal window and enter the following commands: $ alsamixer <enter>Use the right arrow key to locate the option for Auto-Mute. It will show enabled. Change it to disabled by pressing the down arrow key … Continue reading How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE

Enable night mode on Linux using RedShift

To enable night mode on Linux and void strain to the eyes while working at night, install redshift. To install from the repository, open a terminal window and enter the following command: $ sudo apt-get install redshift-gtk <enter> This will install the RedShift tool. Run it and set it up to reduce screen glare at … Continue reading Enable night mode on Linux using RedShift

How to install vlc and other applications not available in the Fedora repositories via rpmfusion

Fedora has not put the vlc media player in it's official repos. To install it and various other such applications not available in the Fedora repos, add the rpmfusion repository to the package manager and use it to download vlc. To add the rpmfusion repos, open a terminal window and enter the following commands: $ … Continue reading How to install vlc and other applications not available in the Fedora repositories via rpmfusion

How to enable fastestmirror and deltarpms in Fedora

Fastestmirror and deltarpm are perhaps the best features of Fedora, but they are not available by default on the Fedora 32 workstation. To enable these fastestmirror and deltarpm, open a terminal window and do the following: $ sudo vi /etc/dnf/dnf.conf <enter>Add the following two lines to the end of the filefastestmirror=truedeltarpm=true:wq Once the above has … Continue reading How to enable fastestmirror and deltarpms in Fedora