Packaging » History » Revision 6
Revision 5 (John Törnblom, 2012-09-07 12:35) → Revision 6/15 (Adam Sutton, 2012-09-28 15:23)
h1. Packaging
To be able to install TVHeadend permanently on your system, or distribute to others, its highly recommend that you build a package.
But before you can do this make sure you have read the basic build instructions [[Building|here]]
Different distributions will have different package formats, however TVHeadend comes with scripts to help build several common ones.
h2. Ubuntu / Debian
To build a deb package for the latest version of Ubuntu (Precise, at the time of writing) you can do the following:
> x86 32-bit
<pre>
$ ./Autobuild.sh ./AutoBuild.sh -t precise-i386
</pre>
> x86 64-bit
<pre>
$ ./Autobuild.sh ./AutoBuild.sh -t precise-amd64
</pre>
Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu.
Note: the generated deb will be in the directory above that containing Autobuild.sh (i.e. outside of the tvheadend directory).
Note: the -dbg package contains debug symbols, generally you won't need these.
h2. Redhat/CentOS/Fedora
TODO: add info on building an RPM
h2. Gentoo
tvheadend is now available in portage so you can just install it like you usually do with other applications:
<pre>
$ emerge -av media-tv/tvheadend
</pre>
h2. Package Maintainers
If you wish to become a package maintainer for your favourite distribution, please contact a member of the development [[Team|team]].
To be able to install TVHeadend permanently on your system, or distribute to others, its highly recommend that you build a package.
But before you can do this make sure you have read the basic build instructions [[Building|here]]
Different distributions will have different package formats, however TVHeadend comes with scripts to help build several common ones.
h2. Ubuntu / Debian
To build a deb package for the latest version of Ubuntu (Precise, at the time of writing) you can do the following:
> x86 32-bit
<pre>
$ ./Autobuild.sh ./AutoBuild.sh -t precise-i386
</pre>
> x86 64-bit
<pre>
$ ./Autobuild.sh ./AutoBuild.sh -t precise-amd64
</pre>
Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu.
Note: the generated deb will be in the directory above that containing Autobuild.sh (i.e. outside of the tvheadend directory).
Note: the -dbg package contains debug symbols, generally you won't need these.
h2. Redhat/CentOS/Fedora
TODO: add info on building an RPM
h2. Gentoo
tvheadend is now available in portage so you can just install it like you usually do with other applications:
<pre>
$ emerge -av media-tv/tvheadend
</pre>
h2. Package Maintainers
If you wish to become a package maintainer for your favourite distribution, please contact a member of the development [[Team|team]].