FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i'm somewhat new to Fedora and i was wondering if there are any utilities similar to deborphan for Debian to clean up broken and orphan files. also, there is an 'apt-get autoclean' command for Debian. is there anything similar to this with yum?
'yum clean' cleans yum cache, you can choose what kind of cache you want to choose. It is similar to 'apt-get autoclean'. Both of those commands just clean cache. NONE of them can clean up broken installed packages from system.
If you want to reinstall broken packages, use 'yum reinstall <PACKAGE_NAME>'
For removing package, I recommend 'rpm -e <PACKAGE_NAME>' instead of 'yum remove <PACKAGE_NAME>' because yum removes all dependencies.
'yum clean' cleans yum cache, you can choose what kind of cache you want to choose. It is similar to 'apt-get autoclean'. Both of those commands just clean cache. NONE of them can clean up broken installed packages from system.
If you want to reinstall broken packages, use 'yum reinstall <PACKAGE_NAME>'
For removing package, I recommend 'rpm -e <PACKAGE_NAME>' instead of 'yum remove <PACKAGE_NAME>' because yum removes all dependencies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.