How to clean installed rpms using package-cleanup

How to clean installed rpms using package-cleanup When you install applications there will be additional packages downloaded along with the application as dependencies to run the application, eg. if you want to run a LibreOffice it need java to run. so the additional rpms will be downloaded. In addition to the main applications rpms or application packages this additional package …