How to install/un-install packages using yum and apt-get in Linux

Installing packages on linux was a biggest mystery to me when I started learning unix/linux, so I thought to write a complete guide on how to install/un-install packages using yum and apt-get in Linux. In Linux softwares or applications that execute on machine is called packages.  We will go through: RPM (Red hat package manager). apt-get (Debian based package manager)…