How to uninstall or remove rmagic software package from Ubuntu 14.04 LTS (Trusty Tahr)

How to uninstall or remove rmagic software package from Ubuntu 14.04 LTS (Trusty Tahr)

You can uninstall or removes an installed rmagic package itself from Ubuntu 14.04 LTS (Trusty Tahr) through the terminal,

$ sudo apt-get remove rmagic 

Uninstall rmagic including dependent package

If you would like to remove rmagic and it's dependent packages which are no longer needed from Ubuntu,

$ sudo apt-get remove --auto-remove rmagic 
Use Purging rmagic

If you use with purge options to rmagic package all the configuration and dependent packages will be removed.

$ sudo apt-get purge rmagic 

If you use purge options along with auto remove, will be removed everything regarding the package, It's really useful when you want to reinstall again.

$ sudo apt-get purge --auto-remove rmagic 

See Also,

How to install rmagic software package from Ubuntu 14.04 LTS (Trusty Tahr)?