origtargz - fetch the orig tarball of a Debian package from various sources, and unpack it
origtargz [OPTIONS] [--unpack[=no|once|yes]] origtargz --help
origtargz downloads the orig tarball of a Debian package, and also unpacks it into the current directory, if it just contains a debian directory. The main use for origtargz is with debian-dir-only repository checkouts, but it is useful as a general tarball download wrapper. The version number for the tarball to be downloaded is determined from debian/changelog. It should be invoked from the top level directory of an unpacked Debian source package. Various download locations are tried: * First, an existing file is looked for. * Directories given with --path are searched. * pristine-tar is tried. * apt-get source is tried when apt-cache showsrc reports a matching version. * Finally, uscan --download-current-version is tried. When asked to unpack the orig tarball, origtargz will remove all files and directories from the current directory, except the debian directory, and the VCS repository directories. Some files outside debian/ which are often stored in VCS even for debian-dir-only repositories are also preserved (.bzr-builddeb, .gitignore, .hgignore). Note that this will drop all non-committed changes for the patch system in use (e.g. source format "3.0 (quilt)"), and will even remove all patches from the package when no patch system is in use (the original "1.0" source format). The default behavior is to unpack the orig tarball if the current directory is empty except for a debian directory and the VCS files mentioned above.
Despite origtargz being called "targz", it will work with any compression scheme used for the tarball. A similar tool to unpack orig tarballs is uupdate(1). uupdate creates a new working directory, unpacks the tarball, and applies the Debian .diff.gz changes. In contrast, origtargz uses the current directory, keeping VCS metadata. For Debian package repositories that keep the full upstream source, other tools should be used to upgrade the repository from the new tarball. See gbp-import-orig(1) and svn-upgrade(1) for examples. origtargz is still useful for downloading the current tarball.
-p, --path directory Add directory to the list of locations to search for an existing tarball. When found, a hardlink is created if possible, otherwise a symlink. -u, --unpack[=no|once|yes] Unpack the downloaded orig tarball to the current directory, replacing everything except the debian directory. Existing files are removed, except for debian/ and VCS files. Preserved are: .bzr, .bzrignore, .bzr-builddeb, .git, .gitignore, .hg, .hgignore, _darcs and .svn. no Do not unpack the orig tarball. once (default when --unpack is not used) If the current directory contains only a debian directory (and possibly some dotfiles), unpack the orig tarball. This is the default behavior. yes (default for --unpack without argument) Always unpack the orig tarball. -d, --download-only Alias for --unpack=no. -t, --tar-only When using apt-get source, pass --tar-only to it. The default is to download the full source package including .dsc and .diff.gz or .debian.tar.gz components so debdiff can be used to diff the last upload to the next one. With --tar-only, only download the .orig.tar.* file. --clean Remove existing files as with --unpack. Note that like --unpack, this will remove upstream files even if they are stored in VCS.
debcheckout(1), gbp-import-orig(1), pristine-tar(1), svn-upgrade(1), uupdate(1)
origtargz and this manpage have been written by Christoph Berg <myon@debian.org>.
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.