1364
Comment:
|
1380
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
You can do a ["manual download"], from http://www.debian.org/distrib/packages.en.html. The source packages end by *.["dsc"] or *.["tar.gz"]. | You can do a [:/ManualDownload:manual download"], from http://www.debian.org/distrib/packages.en.html. The source packages end by *.["dsc"] or *.["tar.gz"]. |
Source ["package"]s provide you with all of the necessary files to compile or otherwise, build the desired piece of software.
You can do a [:?/ManualDownload:manual download"], from http://www.debian.org/distrib/packages.en.html. The source packages end by *.["dsc"] or *.["tar.gz"].
If you use have a deb-src entry in your /etc/apt/sources.list file, you can get one with apt-get source package_name. You can also use apt-get --build source package_name to automatically build the DebianPackage after download.
A source package is downloaded in the current directory and is not installed (it will not appear in the installed package list), so you need not be ["root"] to use apt-get source. However you need root privileges or fakeroot to build the .["deb"].
A source package could generate many .debs. To know the source package name, see the Source: field in apt-cache show package_name output.
See ?CopingWithUnstable for an example of how to create a package from source.
If you want to make optimized packages from source to your machine in order to possibly get faster operation, install and use ["apt-build"] (which in order uses apt-get source -b ...)
See also
- ["compilation"].
["?PkgNew"] Creating a new package from scratch.