how to download Xorg source correctly?

Steven Susbauer steven at too1337.com
Sat May 2 17:33:47 UTC 2009


Steven Susbauer wrote:
> On Sat, May 2, 2009 at 8:55 AM, Charlie Kravetz
> <cjk at teamcharliesangels.com> wrote:
>> On Sat, 2 May 2009 21:34:53 +0800
>> loody <miloody at gmail.com> wrote:
>>
>>> Dear all:
>>> I use " sudo apt-get source xorg-dev" to download xorg.
>>> but after taring the file, I cannot see the source code inside.
>>> The content is shown below:
>>>
>>> desktop:~$ cd xorg-7.4~5ubuntu3/
>>> desktop:~/xorg-7.4~5ubuntu3$ ls
>>> debian  rules  stamp-build  stampdir  stamp-scripts
>>> stamp-validatescripts desktop:~/xorg-7.4~5ubuntu3$
>>>
>>> Did I use the wrong command or type wrong package name?
>>> appreciate your help,
>>> miloody
>>>
>> Are they all files, or is debian a directory witht the code in it?
>>
> debian is a control directory which contains all the options for
> building a package or packages from the source.
> 
> xorg-dev contains some libraries, it is not the source for the server.
> Xorg is organized into many packages, with a metapackage that pulls
> them in as dependencies. The main xorg server package is
> xserver-xorg-core, and running apt-get source xserver-xorg-core will
> download those sources.
> 
> Also note that you don't have to use sudo to run apt-get source.
> 
>  -Steve
I forgot to mention, you can also download the xorg-server source
package, which is what it is built from: See
http://packages.ubuntu.com/source/jaunty/xorg-server

apt-get source will download this package even though a binary of it
does not exist.




More information about the ubuntu-users mailing list