14 June 2019

Do you check the checksum's of downloaded files?

It's usually unnecessary, but always recommended. Let's say you download CloneZilla and they've provided their file for download from a website like SourceForge. There's always a slight chance that some hacker/attacker could've altered the file, added some malware to it and replaced the file on SourceForge.

But you can check whether it's the original file that CloneZilla had uploaded to SourceForge, using the checksum.

I had downloaded clonezilla-live-20190420-disco-amd64.iso which had the MD5 checksum: 981841de868ccc0c927dea9ace9460fa as shown on the CloneZilla website.

Now to verify the file I just opened up a terminal and typed
md5sum clonezilla-live-20190420-disco-amd64.iso.

The output was:
981841de868ccc0c927dea9ace9460fa  clonezilla-live-20190420-disco-amd64.iso

A perfect match! It's that simple.

12 June 2019

Get rid of the Error in appstreamcli: double free or corruption

This is for my personal reference. Immediately after installing Ubuntu 16.04 and trying to update it, this appstreamcli error shows up and it takes a while to search for the solutions to it.


The solution is:
sudo apt install --reinstall libappstream3


sudo apt-get purge libappstream3

Obtained from here.

10 June 2019

How to remove the Amazon package from Ubuntu 16.04

It's funny that Amazon would want to put up their icon on Ubuntu's Unity launcher or even on Windows.
Just because a user see an Amazon icon somewhere, it's neither going to entice users to click it or give it more advertising. In-fact, it does just the opposite. Annoy people for putting a PUP (Potentially Unwanted Program) into their OS.

To get rid of Amazon on Ubuntu 16.04, just do this:

sudo rm /usr/share/applications/ubuntu-amazon-default.desktop
sudo rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/Amazon.user.js
sudo rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json