How to speed up boot time on Linux if it boots slowly

My Linux computer was very slow to start up. It took approximately 4 minutes to get to the login prompt. Before performing any of the steps below, take a backup of the data on the computer. Also, you follow the steps below at your own risk. No one is responsible for whatever you do with … Continue reading How to speed up boot time on Linux if it boots slowly

How to install and run Turbo C 2.01 for DOS in DOSBOX in linux

After sooo many years, discovered that students in India were asked to do projects in Turbo C 2.01 in DOS. Amazing, but true! That being the case, you can download Turbo C 2.01 for MS DOS from http://edn.embarcadero.com/article/20841 for free. It is antique software and embarcadero acquired it way back. They offer it as a … Continue reading How to install and run Turbo C 2.01 for DOS in DOSBOX in linux

apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Today, when I attempted to update the Ubuntu system to install the latest patches, the system hanged infinitely at the sudo apt-get update command. This appears to be a bug, but nonetheless, system patching is our priority and this is the workaround, till it gets fixed. To type the commands below, open a linux terminal … Continue reading apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

How to install a Ubuntu package file using gdebi with dependencies

If you download a Debian package file, .deb file from the internet, you can install it with any dependencies using gdebi. dpkg will not install the dependencies. If you do not have gdebi installed on your computer, see Step 1. 1. Install gdebi in Linux $ sudo apt-get install gdebi-core <enter> This installs the gdebi … Continue reading How to install a Ubuntu package file using gdebi with dependencies

Some dpkg useful commands

Below are some useful parameters that can be used with dpkg to work with .deb packages. $ sudo dpkg --get-selections Lists all installed packages $ sudo dpkg -l true* Lists all packages starting with true $ sudo dpkg -L truecrypt Lists all files installed by truecrypt $ sudo dpkg -i timeout.deb Install the timeout.deb package … Continue reading Some dpkg useful commands

Install kernels in Ubuntu from mainline

Use with caution. Although kernel updates or upgrades work well using the package manager in Ubuntu, there are times when you may need to try out the newer kernels although they are not available in the repository. To try out a kernel not in the repository, you can do the following steps: Visit http://kernel.ubuntu.com/~kernel-ppa/mainline and … Continue reading Install kernels in Ubuntu from mainline

How to remove KDE from Ubuntu after installation of RSI Break

Basically, I did a mistake. I do not want to fill up my hard drive with multiple desktops. Neither do I want to have the KDE desktop libraries on my computer. However, unfortunately when I installed rsibreak on the desktop, it downloaded almost 100 mb of software... KDE. To uninstall KDE after you have installed … Continue reading How to remove KDE from Ubuntu after installation of RSI Break

Stop avahi-daemon in Ubuntu Linux

To stop the avahi-daemon in Ubuntu Linux, open a terminal window and enter the command below: $ sudo service avahi-daemon disable <enter> To remove avahi-daemon altogether, enter the following command: $ sudo apt-get purge avahi-daemon <enter> Or in Ubuntu 18.10, to stop the service from starting, enter the following command: $ sudo chkconfig avahi-daemon off … Continue reading Stop avahi-daemon in Ubuntu Linux