Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-28-2007, 09:04 PM   #1
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Removing custom built Xorg to install Etch's Xorg


A year ago, I had installed a custom-built Xorg provided by my vendor (AMD) since at that time there were not Linux drivers available for my system. I basically followed the instructions:

  # make World
  # mkdir <install_path>
  # make DESTDIR=<install_path> install
  # tar -C <install_path> -czf <path>/xorg-x11-geode.tgz .
      move xorg-x11-geode.tgz to the target system
      login as root on the target system and make path to tarball available
  # tar -C / -xzpf <path>/xorg-x11-geode.tgz
  # mv /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
  # cp <path>/xorg-<gx/lx>.conf /etc/X11/xorg.conf
from this link:$FILE/ATTBB7B1/README.Xorg.txt

Now I would like to install the Xorg package provided by Debian Etch. Before, installing by apt-get install xserver-xorg I would like to remove the directories for the old Xorg drivers.

Does anyone know which are the relevant directories, that were created by the custom-built Xorg, which I should remove?

In short, I would like to know how to uninstall a custom built Xorg completely.

Old 05-29-2007, 01:21 AM   #2
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Rep: Reputation: 30
I certainly hope you still have the build directory--just running "make uninstall" should be sufficient.
Old 05-29-2007, 05:05 AM   #3
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
[QUOTE=pda_h4x0r]I certainly hope you still have the build directory--just running "make uninstall" should be sufficient.[/QUOTE

Not exactly as I built the Xorg package on a different machine and just transferred the .tar file and then installed it. Although I have achieved the build directory on my another hard drive just in case.

But I would prefer to have a solution which does not involve restoring the build directory back again on the system.

Old 05-29-2007, 05:42 AM   #4
Dutch Master
Senior Member
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
All you have to do to "uninstall" the current xorg.conf file is:
mv /etc/X11/xorg.conf.orig /etc/X11/xorg.conf
apt-get update && apt-get dist-upgrade
dpkg-reconfigure xserver-xorg
All commands in a rootterminal.

PS: adjust that link, it's messing up the entire layout of the forum because it's too long!
Old 05-30-2007, 01:50 AM   #5
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
X11 is from the same people who made xfree86 used in Woody and Sarge. Because Woody's version of xfree86 could not give me graphics with my i810 chip set, I would upgrade to the latest version of xfree86. During the installation using the script method, the script would ask if it was OK to replace/remove old files not needed and I would always say "go for it", it would also install a new configuration file. Then I would re-boot to a graphical environment.
I would think, using apt to install the default x-window-system would do the same, with command:
apt-get install x-window-system
Apt will study the situation and tell you what it plans to do, or refuses to do, either way, you'll be notified of any/none changes before they are applied and asked to confirm.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to etch without upgrading Custom built Xorg kushalkoolwal Debian 2 05-10-2007 12:16 PM
Can't use custom xorg.conf Col._Panic Ubuntu 1 01-15-2007 04:24 AM
Xorg.conf, custom screen resolution tntcoder Linux - Newbie 3 05-12-2006 10:19 AM
Xorg-6.9 .0 Built, won't configure business_kid Linux - Software 2 01-17-2006 04:53 AM
Does anyone custom compile xorg? dhave Slackware 11 03-07-2005 03:06 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration