Recently I wrote an article about how to install clear via Cygwin on Windows however I used the Yellowdog Updater on CentOS Linux to first figure out what package installs clear. Below I describe how to use yum to figure out what Linux package installs a specific application followed by installing clear or verifying the package that provides clear is already installed.
When I SSH to Linux servers I use the clear command a lot. This allows me to quickly reset the shell interface so there is no output so depending on if I have typed the incorrect command numerous times or the screen is filled without from something like the locate command I find it really useful to reset the interface so the screen is blank again without having to hit enter 50 times. On all of my Windows machines I have Cygwin installed to provide as much of a Linux feel as possible however I never have taken the time to figure out what installs the clear command so I could have the same luxury of clearing the windows Command Prompt or the Console2 application I use on a regular basis. Below I describe how to install clear on Windows using the Cygwin application.