<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Building_Rivendell_from_source</id>
	<title>Building Rivendell from source - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Building_Rivendell_from_source"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Building_Rivendell_from_source&amp;action=history"/>
	<updated>2026-04-23T13:08:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Building_Rivendell_from_source&amp;diff=28747&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported via HTML fallback (before-primary)</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Building_Rivendell_from_source&amp;diff=28747&amp;oldid=prev"/>
		<updated>2024-04-20T23:49:23Z</updated>

		<summary type="html">&lt;p&gt;Imported via HTML fallback (before-primary)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Contents ==&lt;br /&gt;
&lt;br /&gt;
* [#Overview 1 Overview]&lt;br /&gt;
&lt;br /&gt;
* [#Caveats 2 Caveats]&lt;br /&gt;
&lt;br /&gt;
* [#Preparing_the_Installation_Environment 3 Preparing the Installation Environment]&lt;br /&gt;
&lt;br /&gt;
* [#Building_the_Code 4 Building the Code]&lt;br /&gt;
&lt;br /&gt;
* [#Installing_the_Code 5 Installing the Code]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
In most cases, the preferred way to run Rivendell is to use the pre-built packages provided by Paravel Systems. However, it can sometimes be desireable to build Rivendell directly from the source code provided by the upstream developers; such as when one wishes to test a new feature or bugfix that has been committed on GitHub but not yet released in the pre-built packages. This page provides instructions on how to go about this.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
Builds directly from source should always be considered &amp;quot;experimental&amp;quot;. They should never be attempted on systems that are in production &amp;quot;on the air&amp;quot; use! Thus, it is highly recommended that a seperate, dedicated computer be used for such builds.&lt;br /&gt;
&lt;br /&gt;
The following instructions assume the distro environment to be Ubuntu 22.04 &amp;quot;Jammy Jellyfish&amp;quot;. The fundamental princples apply to other distros as well though; with any differences mostly being confined to using yum or dnf instead of Ubuntu&amp;#039;s apt package management tool.&lt;br /&gt;
&lt;br /&gt;
== Preparing the Installation Environment ==&lt;br /&gt;
&lt;br /&gt;
The first step in preparing a system to do a source build of Rivendell is to install the basic Rivendell environment by running one of the [https://wiki.rivendellaudio.org/index.php/Installing_Rivendell#Appliance_Installers Rivendell appliance installers].&lt;br /&gt;
&lt;br /&gt;
Once installation is complete, the next step is to remove the pre-built Rivendell packages. Start by opening&lt;br /&gt;
a Terminal window and then entering:&lt;br /&gt;
&lt;br /&gt;
sudo apt purge rivendell rivendell-opsguide&lt;br /&gt;
&lt;br /&gt;
Next, download the Rivendell source code from GitHub (an operation known as &amp;#039;cloning&amp;#039;):&lt;br /&gt;
&lt;br /&gt;
git clone [https://github.com/ElvishArtisan/rivendell https://github.com/ElvishArtisan/rivendell]&lt;br /&gt;
&lt;br /&gt;
and then move into the newly-created &amp;#039;rivendell/&amp;#039; directory:&lt;br /&gt;
&lt;br /&gt;
cd rivendell&lt;br /&gt;
&lt;br /&gt;
next, open a second &amp;#039;Terminal&amp;#039; window and likewise move into the &amp;#039;rivendell/&amp;#039; directory.&lt;br /&gt;
&lt;br /&gt;
Arrange the two windows side-by-side. In the left-hand one, view the &amp;#039;INSTALL&amp;#039; file using the &amp;#039;less&amp;#039; file viewer:&lt;br /&gt;
&lt;br /&gt;
less INSTALL&lt;br /&gt;
&lt;br /&gt;
then scroll down to find the &amp;#039;DISTRO-SPECIFIC NOTES&amp;#039; section, find the subsection for your Linux distro,&lt;br /&gt;
then the block of text within that subsection that starts with &amp;#039;Environmental variables:&amp;#039;. In the right-hand terminal window, add the &amp;#039;DOCBOOK_STYLESHEETS&amp;#039; variable to your environment by copy-pasting the text found in the &amp;#039;Environmental variables:&amp;#039; subsection. For example:&lt;br /&gt;
&lt;br /&gt;
export DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns&lt;br /&gt;
echo DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
Next, find the block of text that begins with &amp;#039;Required build packages:&amp;#039;. Copy all of the remaining text in the block, then enter &amp;#039;sudo apt install &amp;#039; into the right-hand window, followed by the text copied above.&lt;br /&gt;
&lt;br /&gt;
The result should look something like this:&lt;br /&gt;
&lt;br /&gt;
sudo apt install apache2 libexpat1-dev libexpat1 libid3-dev libcurl4-gnutls-dev libcoverart-dev \&lt;br /&gt;
libdiscid-dev libmusicbrainz5-dev libcdparanoia-dev libsndfile1-dev libpam0g-dev libvorbis-dev \&lt;br /&gt;
python3 python3-pycurl python3-pymysql python3-serial python3-requests libsamplerate0-dev \&lt;br /&gt;
qtbase5-dev libqt5sql5-mysql libsoundtouch-dev libsystemd-dev libjack-jackd2-dev libasound2-dev \&lt;br /&gt;
libflac-dev libflac++-dev libmp3lame-dev libmad0-dev libtwolame-dev docbook5-xml libxml2-utils \&lt;br /&gt;
docbook-xsl-ns xsltproc fop make g++ libltdl-dev autoconf automake libssl-dev libtag1-dev \&lt;br /&gt;
qttools5-dev-tools debhelper openssh-server autoconf-archive gnupg pbuilder ubuntu-dev-tools \&lt;br /&gt;
apt-file hpklinux-dev libmagick++-dev&lt;br /&gt;
&lt;br /&gt;
The system will present a list of packages to be installed, followed by confirmation prompt. Enter &amp;#039;Y&amp;#039;. The system will begin downloading and installing packages. Allow it to finish.&lt;br /&gt;
&lt;br /&gt;
== Building the Code ==&lt;br /&gt;
&lt;br /&gt;
Now we&amp;#039;re ready to build the code! In the right-hand Terminal window, run the command:&lt;br /&gt;
&lt;br /&gt;
./configure_build.sh&lt;br /&gt;
&lt;br /&gt;
The script will now analyze your system and print a summary of what it found. It should look something like this:&lt;br /&gt;
&lt;br /&gt;
configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
configure: &amp;quot;|         *** RIVENDELL CONFIGURATION SUMMARY ***         |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
configure: &amp;quot;| Platform Information:                                   |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                         Distribution Name ... Linux Mint|&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                       Distribution Family ... Debian    |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                          Update I18N Data ... No        |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                                                         |&amp;quot;&lt;br /&gt;
configure: &amp;quot;| Configured Audio Drivers:                               |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|  Advanced Linux Sound Architecture (ALSA) ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                          AudioScience HPI ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                 JACK Audio Connection Kit ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                                                         |&amp;quot;&lt;br /&gt;
configure: &amp;quot;| Audio Codecs:                                           |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|            FLAC Encoding/Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                     MPEG Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|             MPEG Layer 2 Encoding Support ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|             MPEG Layer 3 Encoding Support ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|       OggVorbis Encoding/Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|                      M4A Decoding Support ... No        |&amp;quot;&lt;br /&gt;
configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
configure: &lt;br /&gt;
configure: &lt;br /&gt;
configure: Now enter &amp;#039;make&amp;#039; to build the software.&lt;br /&gt;
&lt;br /&gt;
Now, simply enter the single word &amp;#039;make&amp;#039; and hit  to start the build. Depending upon your hardware, this step could take awhile to complete.&lt;br /&gt;
&lt;br /&gt;
== Installing the Code ==&lt;br /&gt;
&lt;br /&gt;
To install and run the newly built code, run the following:&lt;br /&gt;
&lt;br /&gt;
sudo make install&lt;br /&gt;
&lt;br /&gt;
and then check for and apply any needed database updates by doing:&lt;br /&gt;
&lt;br /&gt;
sudo rddbmgr --modify&lt;br /&gt;
&lt;br /&gt;
And finally, start the Rivendell service by doing:&lt;br /&gt;
&lt;br /&gt;
sudo systemctl restart apache2&lt;br /&gt;
sudo systemctl restart rivendell&lt;br /&gt;
&lt;br /&gt;
And that&amp;#039;s it.&lt;br /&gt;
&lt;br /&gt;
Retrieved from &amp;quot;[[Building_Rivendell_from_source|http://wiki.rivendellaudio.org/index.php?title=Building_Rivendell_from_source&amp;amp;oldid=654]]&amp;quot;&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>