Stephen Boulet wrote: >I've just started with debian and have a question about how to start with >source packages, in particular: > > nvidia-glx-src 0.9.767-1 > nvidia-kernel-src 0.9.767-1 > >With rpm, I'd do rpm --rebuild somepackage.src.rpm and install the resulting > >rpm: > > rpm -Uvh /usr/src/RPM/RPM/i686/somepackage.rpm > >How do I do the same thing with dpkg?
First of all, you need source lines in /etc/apt/sources.list. For instance: deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian stable main contrib non-free Then you can use `apt-get source package' to get the source package and unpack it. Then you need basic developer packages such as dpkg-dev and devscripts, and any others that are listed in the package's Build-Depends (in package_source/debian/control). With all those present, you can run debuild or dpkg-buildpackage to build the binaries. Look in the developers' corner in www.debian.org for more information and read the man pages and so on for the various commands. -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal; But lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal; For where your treasure is, there will your heart be also." Matthew 6:19-21