rpmorphan – deborphan for the rpm based distros.
2011-12-07
269 words
2 mins read
<td>
<div class="bash codecolorer">
<span class="kw2">sudo</span> <span class="kw2">yum install</span> rpmorphan
</div>
</td>
</tr>
</table>
rpmorphan finds "orphaned"[1] packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. It intends to be clone of deborphan Debian tools for rpm packages.It will try to help you to remove unused packages, for example:
- after a distribution upgrade
- when you want to suppress packages after some tests
Several tools are also provided :
- rpmusage - display rpm packages last use date
- rpmdep - display the full dependency of an installed rpm package
- rpmduplicates - find programs with several version installed
Yum offers a program called ‘package-cleanup’ which you can use to carry out similar tasks.
[1] Note that orphan is used in the sense of Debian’s deborphan, and is NOT the same as Fedora orphaned packages which are packages that have no current maintainer.
Now, you can simply run the command
1
|
<td>
<div class="text codecolorer">
rpmorphan
</div>
</td>
</tr>
</table>
to see a list of the orphaned packages on the system 🙂
And once you have verified that you want to remove all the listed application, then you can run the following command:
1
|
<td>
<div class="text codecolorer">
sudo yum remove $(rpmorphan |tr '\n' ' ')
</div>
</td>
</tr>
</table>
Related articles
- How do you uninstall programs in Linux (wiki.answers.com)
- Best Linux Distro for Absolute Beginners (pcandpenguin.wordpress.com)
- Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0) (heuristically.wordpress.com)
Related Articles:
- 2011/10/30 Quickly install most of the things that you need on Fedora.
- 2010/10/25 Linux>1% Campaign. Prove that we are more than 1% !
- 2010/09/04 Fedora Linux – Display information about users currently logged on – whowatch
- 2010/08/26 Gmail Videochat Comes to Linux
- 2010/06/25

Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.
1
|