<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ubuntu 16.04 - Spheron1</title>
	<atom:link href="https://www.spheron1.uk/tag/ubuntu-16-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.spheron1.uk</link>
	<description></description>
	<lastBuildDate>Thu, 07 Mar 2024 12:12:26 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>Building Bareos RPMs on Ubuntu 16.04</title>
		<link>https://www.spheron1.uk/2018/03/16/building-bareos-rpms-on-ubuntu-16-04/</link>
					<comments>https://www.spheron1.uk/2018/03/16/building-bareos-rpms-on-ubuntu-16-04/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Fri, 16 Mar 2018 11:46:50 +0000</pubDate>
				<category><![CDATA[Bareos and Bacula]]></category>
		<category><![CDATA[Ubuntu and Debian]]></category>
		<category><![CDATA[.deb]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[Backup Archiving Recovery Open Sourced]]></category>
		<category><![CDATA[Bacula]]></category>
		<category><![CDATA[Bareos]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 16.04]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=927</guid>

					<description><![CDATA[<p>Following on from my previous post on how to build Bareos (Backup Archiving Recovery Open Sourced) RPM packages on CentOS 6 &#38; 7 (https://www.spheron1.uk/2018/03/14/building-bareos-rpms-on-centos-6-7/), the following instructions will show you how to build .deb versions of the packages on Ubuntu 16.04. Again, these instructions are based on Bareos version 17.2.5, so would need to be adjusted appropriately for other versions&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2018/03/16/building-bareos-rpms-on-ubuntu-16-04/">Building Bareos RPMs on Ubuntu 16.04</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Following on from my previous post on how to build Bareos (Backup Archiving Recovery Open Sourced) RPM packages on CentOS 6 &amp; 7 (<a href="https://www.spheron1.uk/2018/03/14/building-bareos-rpms-on-centos-6-7/">https://www.spheron1.uk/2018/03/14/building-bareos-rpms-on-centos-6-7/</a>), the following instructions will show you how to build .deb versions of the packages on Ubuntu 16.04.</p>
<p>Again, these instructions are based on Bareos version 17.2.5, so would need to be adjusted appropriately for other versions and I&#8217;m working exclusively with 64-bit (amd64) versions.</p>
<p>Before we start, lets make sure that everything is up to date:</p>
<blockquote><p>apt-get update<br />
apt-get upgrade</p></blockquote>
<p>Before we start building anything, we&#8217;ll need to install all of the dependencies which are required in order to build the .deb packages. We&#8217;ll use the libfastlz and libfastlz-dev packages from the Bareos repositories:</p>
<blockquote><p>apt-get install build-essential acl-dev autotools-dev bc chrpath debhelper libacl1-dev libcap-dev libjansson-dev liblzo2-dev libqt4-dev libreadline-dev libssl-dev libwrap0-dev libx11-dev libsqlite3-dev libmysqlclient-dev libpq-dev mtx ncurses-dev pkg-config po-debconf python-dev zlib1g-dev glusterfs-common librados-dev libcephfs-dev apache2-dev apache2 autoconf automake python-all python-setuptools<br />
wget http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04/amd64/libfastlz_0.1-7.2_amd64.deb<br />
wget http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04/amd64/libfastlz-dev_0.1-7.2_amd64.deb<br />
dpkg -i libfastlz_0.1-7.2_amd64.deb libfastlz-dev_0.1-7.2_amd64.deb</p></blockquote>
<p>Now let&#8217;s download the Bareos source code the various repositories on GitHub and extract it ready for building:</p>
<blockquote><p>wget https://github.com/bareos/bareos/archive/Release/17.2.5.tar.gz -qO &#8211; | tar zx<br />
wget https://github.com/bareos/bareos-webui/archive/Release/17.2.5.tar.gz -qO &#8211; | tar zx<br />
wget https://github.com/bareos/python-bareos/archive/Release/17.2.5.tar.gz -qO &#8211; | tar zx</p></blockquote>
<p>Before starting the build, we need to create a changelog file which contains information used by the build process. Use your favourite text editor to put the below into ~/bareos-Release-17.2.5/debian/changelog:</p>
<blockquote><p>bareos (17.2.5-0) stable; urgency=low</p>
<p>* Bareos 17.2.5 release; https://www.bareos.org/en/news/bareos-17-2-5-maintenance-version-released.html</p>
<p>&#8212; Your Name &lt;your@email.address&gt; Thu, 16 Mar 2018 10:58:00 +0000</p></blockquote>
<p>Once that&#8217;s done, you can start the build process:</p>
<blockquote><p>cd ~/bareos-Release-17.2.5/<br />
fakeroot debian/rules binary</p></blockquote>
<p>Now we just need to repeat this process for the bareos-webui package. Use your favourite text editor to create the ~/bareos-webui-Release-17.2.5/debian/changelog file containing the below:</p>
<blockquote><p>bareos-webui (17.2.5-0) stable; urgency=low</p>
<p>* Bareos 17.2.5 release; https://www.bareos.org/en/news/bareos-17-2-5-maintenance-version-released.html</p>
<p>&#8212; Your Name &lt;your@email.address&gt; Thu, 16 Mar 2018 10:58:00 +0000</p></blockquote>
<p>Unlike the main bareos repository, the debian/rules file isn&#8217;t executable by default in the code from bareos-webui repository, so we need to set that before we can start the build process:</p>
<blockquote><p>cd ~/bareos-webui-Release-17.2.5/<br />
chmod +x debian/rules<br />
fakeroot debian/rules binary</p></blockquote>
<p>Finally we need to build the python-bareos package. Use your favourite text editor to create the ~/python-bareos-Release-17.2.5/debian/changelog file containing the below:</p>
<blockquote><p>python-bareos (17.2.5-0) stable; urgency=low</p>
<p>* Bareos 17.2.5 release; https://www.bareos.org/en/news/bareos-17-2-5-maintenance-version-released.html</p>
<p>&#8212; Your Name &lt;your@email.address&gt; Thu, 16 Mar 2018 10:58:00 +0000</p></blockquote>
<p>Then it&#8217;s just the usual commands to start the build process:</p>
<blockquote><p>cd ~/python-bareos-Release-17.2.5/<br />
fakeroot debian/rules binary</p></blockquote>
<p>You should now have all of the .deb package files in your home directory which you can install locally or host in your own APT repository.</p><p>The post <a href="https://www.spheron1.uk/2018/03/16/building-bareos-rpms-on-ubuntu-16-04/">Building Bareos RPMs on Ubuntu 16.04</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2018/03/16/building-bareos-rpms-on-ubuntu-16-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/64 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Redis

Served from: spheron1.uk @ 2026-06-22 05:27:00 by W3 Total Cache
-->