Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some how I messed up Xorg and need to reinstall it, with Yum. I can not find any Xorg packages, but it has to be out there right?

share|improve this question

In Fedora, Xorg is a lot ot packages with names starting xorg-x11-.

You can try rpm -Va, that will give a list of files that rpm considers modified from the original install. Check the list (it includes configuration files that are changed and others that are adjusted for your machine), rpm -qf <filenames> gives the list of packages containing those files, yum reinstall <packages> reinstalls them.

share|improve this answer

Probably the easiest way is to do a:

yum groupremove "X Window System"

Then make sure all residual Xorg-related files are removed and then doing a:

yum groupinstall "X Window System"

I haven't tested the above procedure on Fedora, but it's situations like this that justify them having software group commands.

share|improve this answer

There is no group called "X Window System" anymore, so that will not work. Perhaps the best would be: rpm -qa|grep xorg > a rpm -e --nodeps cat a that will remove the lot. Now edit a and get rid of the version part, and try yum install cat a

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.