Getting Scribus on Ubuntu/Kubuntu up and running: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{HOWTO Index}}
{{HOWTO Index}}
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
'''"Debian" name here encompasses Debian proper (unstable/testing/stable or sid/etch/sarge) and Ubuntu breezy/hoary.'''
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
= Installation =
  <meta
 
content="text/html; charset=ISO-8859-1"
Scribus is packaged for Debian GNU/Linux by Oleksandr (Alex) Moskalenko <malex@tagancha.org>. Please contact me at that email if you have questions that do not belong in the Debian or Scribus BTS (Bug Tracking Systems) or for comments about this page.
http-equiv="content-type" />
 
  <title>Scribus on Debian GNU
If you'd like to stay on the leading edge of Scribus development please add our upstream repositories to your sources list file. Debian development puts a limit on how often a new scribus package can be updated. It could take weeks between consecutive uploads. Because of that the official packages are usually behind those available in our upstream repositories. Packages in our upstream repositories usually follow scribus development fairly closely via cvs snapshot builds. For instance, if you discovered a but you are advised to install the most recent package as the bug might have already been fixed and a fixed package is available. This is called "the Scribus magic (TM)". Please note that the two repositories listed below are IDENTICAL  and provide the necessary bandwidth redundancy. They contain packages for Debian stable,testing and unstable and Ubuntu hoary and breezy branches. If you are using a different Debian-based distribution or your hardware is not x86-based such as PowerPC or AMD64 you can easily build a Scribus package from our source package.
Linux</title>
 
</head>
To use our upstream repositories:
<body>
 
<h1>Scribus
Select the appropriate two source lines from the following list to your /etc/apt/sources.list file. Note that the line starting with "deb" is for the pre-compiled binary package and the line starting with "deb-src" is for the source package that you can use to build a binary package for your distribution or build it with compiler optimizations if you so desire. Also note that there is only one source line. It points to the "unstable" Debian branch. This is done for the purpose of space and bandwidth conservation as our packaging efforts so far allowed us to build all the binary packages from the same source package.
on Debian GNU/Linux
 
and derivatives.</h1>
<h4>Source lines for /etc/apt/sources.list</h4>
<strong>The main page is now located at http://debian.scribus.net. This page must be kept as strict xhtml 1.0 and any modifications should be followed by a notification to malex@tagncha.org, so the main page could be updated.
<p>
<p>
"Debian" name here
encompasses Debian proper (unstable/testing/stable also known as
sid/etch/sarge) and at least Ubuntu breezy/hoary. Instructions on
rebuilding the source package may be applicable to other Debian
derivatives and custom distributions.</strong>
<h2>Preamble</h2>
Currently there are following Scribus-related packages in Debian: <a
href="http://packages.qa.debian.org/s/scribus.html">scribus</a>
(Scribus 1.2.x), <a
href="http://packages.qa.debian.org/s/scribus-template.html">scribus-template</a>
(Developer and
user-contributed additional templates), <a
href="http://packages.qa.debian.org/s/scribus-doc.html">scribus-doc</a>
(Scribus documentation, which has to be
provided as a separate package due to is non-free nature by the Debian
Free
Software Guidelines), <a
href="http://packages.qa.debian.org/i/icc-profiles.html">icc-profiles</a>
(A collection of common ICC profiles to use with Scribus and other
color profile-aware software), and <a
href="http://packages.qa.debian.org/l/lprof.html">lprof</a>
(Hardware color profiler that
can be used to create color profiles for your hardware to be used with
Scribus). Scribus team also
maintains an unofficial (outside of Debian proper) repository that
contains some of the packages
mentioned above with the most notable difference being a scribus-cvs
package (Scribus 1.3.x developmental
series). scribus-cvs package can be installed in parallel with the
scribus package. There are a couple reasons
for the existence of this upstream repository. First, Debian
development puts a limit on how often a new scribus package can be
updated. It could take weeks between consecutive uploads. Because of
that the official packages are usually behind those available in our
upstream archives. Packages in our upstream repositories usually
follow scribus development fairly closely via cvs snapshot builds. For
instance, if you discovered a but you are advised to install the most
recent package as the bug might have already been fixed and a fixed
package is available. This is called "the Scribus magic (TM)". Second,
Debian has strict Quality Assurance for
packages with its requirements embodied in the extensive and thorough <a
href="http://www.debian.org/doc/debian-policy/">Debian
Policy</a>. As Scribus libraries may
not yet be
installed in arbitrary locations due to code limitations scribus-cvs
package has it libraries in the /usr/local/lib
hierarchy. This is a violation of DP and as such 1.3.x series
scribus-cvs has to be confined to our upstream repository until
it is ready to replace the venerable Scribus 1.2.x series.
<h2>Debian setup for Scribus
repositories.</h2>
<h3>About the repositories.</h3>
We actually maintain two identical repositories to provide bandwidth
redundancy and failover capability to our
distribution of Debian scribus packages. These repositories contain x86
packages for Debian
stable,testing and unstable and Ubuntu hoary and breezy branches. If
you are using a different Debian-based distribution or your hardware is
not x86-based such as PowerPC or AMD64 you can easily build a Scribus
package from our source package, so do not consider it as a strong
obstacle to using these packages.
<h3>Repository usage.</h3>
To use our repositories add the appropriate
source lines from the following list to your
/etc/apt/sources.list file. Note that the lines starting with "deb" are
used for installation of the pre-compiled binary packages and the line
starting with
"deb-src" are for the source package for building a binary
package for your distribution (if it has a different set of libraries),
hardware (if it's not x86) or compiler optimizations (if you really
know you want them).&nbsp;
<h3>Source lines for
/etc/apt/sources.list or for Synaptic et al.</h3>
<h4>Debian stable (Sarge):</h4>
<h4>Debian stable (Sarge):</h4>
<pre>
<pre># debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ stable main non-free contrib<br />deb-src http://debian.scribus.net/debian/ stable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ stable main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ stable main non-free contrib<br /></pre>
# debian.scribus.net - Primary repository
deb         http://debian.scribus.net/debian/ stable main non-free contrib
deb-src     http://debian.scribus.net/debian/ unstable main non-free contrib
# debian.tagancha.org - Backup repository
deb         http://debian.tagancha.org/debian/ stable main non-free contrib
deb-src     http://debian.tagancha.org/debian/ unstable main non-free contrib
</pre>
 
<h4>Debian testing (Etch):</h4>
<h4>Debian testing (Etch):</h4>
<pre>
<pre># debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ testing main non-free contrib<br />deb-src http://debian.scribus.net/debian/ unstable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ testing main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ unstable main non-free contrib<br /></pre>
# debian.scribus.net - Primary repository
deb         http://debian.scribus.net/debian/ testing main non-free contrib
deb-src     http://debian.scribus.net/debian/ unstable main non-free contrib
# debian.tagancha.org - Backup repository
deb         http://debian.tagancha.org/debian/ testing main non-free contrib
deb-src     http://debian.tagancha.org/debian/ unstable main non-free contrib
</pre>
 
<h4>Debian unstable (Sid):</h4>
<h4>Debian unstable (Sid):</h4>
<pre>
<pre># debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ unstable main non-free contrib<br />deb-src http://debian.scribus.net/debian/ unstable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ unstable main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ unstable main non-free contrib<br /></pre>
# debian.scribus.net - Primary repository
deb         http://debian.scribus.net/debian/ unstable main non-free contrib
deb-src     http://debian.scribus.net/debian/ unstable main non-free contrib
# debian.tagancha.org - Backup repository
deb         http://debian.tagancha.org/debian/ unstable main non-free contrib
deb-src     http://debian.tagancha.org/debian/ unstable main non-free contrib
</pre>
 
<h4>Ubuntu hoary:</h4>
<h4>Ubuntu hoary:</h4>
<pre>
<pre># debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ hoary main restricted<br />deb-src http://debian.scribus.net/debian/ hoary main restricted<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ hoary main restricted<br />deb-src http://debian.tagancha.org/debian/ hoary main restricted<br /></pre>
# debian.scribus.net - Primary repository
deb         http://debian.scribus.net/debian/ hoary main restricted
deb-src     http://debian.scribus.net/debian/ unstable main restricted
# debian.tagancha.org - Backup repository
deb         http://debian.tagancha.org/debian/ hoary main restricted
deb-src     http://debian.tagancha.org/debian/ unstable main restricted
</pre>
 
<h4>Ubuntu breezy:</h4>
<h4>Ubuntu breezy:</h4>
<div>Note that Ubuntu breezy package can be also used for Ubuntu "Dapper" branch. When Dapper will change enough to require its own scribus or scribus-cvs package we will provide it.</div>
<div>Note that Ubuntu breezy
<pre>
package can be also used for Ubuntu "Dapper" branch right now. When
# debian.scribus.net - Primary repository
Dapper
deb         http://debian.scribus.net/debian breezy main restricted
changes enough to require its own scribus or scribus-cvs package we
deb-src     http://debian.scribus.net/debian unstable main restricted
will
# debian.tagancha.org - Backup repository
provide it.</div>
deb         http://debian.tagancha.org/debian breezy main restricted
<pre># debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian breezy main restricted<br />deb-src http://debian.scribus.net/debian breezy main restricted<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian breezy main restricted<br />deb-src http://debian.tagancha.org/debian breezy main restricted<br /></pre>
deb-src     http://debian.tagancha.org/debian unstable main restricted
<h3>Using cryptographic repository
</pre>
signatures:</h3>
 
Our repositories are cryptographically signed for added security. Add
<h4>Using cryptographic repository signatures:</h4>
the gpg-keys for our repositories to avoid having to confirm your
 
installation choice to the package manager each time you update a
Our repositories are cryptographically signed for added security.  
scribus or scribus-cvs package.
Add the gpg-keys for our repositories to avoid having to confirm your installation choice to the package manager each time you update a scribus or scribus-cvs package.
<pre>root$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B<br />root$ gpg --armor --export DA286F326C5F196B | apt-key add - </pre>
 
or as a normal user (with an appropriate entry for apt-key in the
<pre>
sudoers file):
root$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B
<pre>user$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B<br />user$ gpg --armor --export DA286F326C5F196B | sudo apt-key add - </pre>
 
<h3>Final installation step</h3>
root$ gpg --armor --export DA286F326C5F196B | apt-key add -  
Once you added the relevant sources lines to your /etc/apt/sources.list
</pre>
you can run
 
<pre>aptitude install scribus scribus-cvs<br /></pre>
or as a normal user (with an appropriate entry for apt-key in the sudoers file):
 
<pre>
user$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B
 
user$ gpg --armor --export DA286F326C5F196B | sudo apt-key add -  
</pre>
 
<h4>Final installation step</h4>
 
Once you added the relevant sources lines to your /etc/apt/sources.list you can run
 
<pre>
aptitude install scribus scribus-cvs
</pre>
or
or
<pre>
<pre>apt-get install scribus scribus-cvs<br /></pre>
apt-get install scribus scribus-cvs
in a root terminal or use your favorite graphical apt-get front-end
</pre>
such as synaptic or aptitude. Don't forget to "Reload Package List" in
in a root terminal or use your favorite graphical apt-get front-end such as synaptic or aptitude. Don't forget to "Reload Package List" in the synaptic. It's the equivalent of "apt-get (or aptitude) update" and has to be done to make new packages from our repositories available to your package management tools.
the synaptic. It's the equivalent of "apt-get (or aptitude) update" and
 
has to be done to make new packages from our repositories available to
'''The ''"scribus"'' package is the 1.2.x stable series whereas ''"scribus-cvs"'' package will let you try the new 1.3.x series, which is pretty stable and much more featureful than 1.2.x. ''"scribus-cvs"'' package installs into /usr/local hierarchy, so it can be installed and used independently from the scribus package.'''
your package management tools.<br />
 
<br />
However, please DO NOT file bug reports about the scribus-cvs package or any packages in these upstream repositories into the Debian or Ubuntu BTS. Only use the distribution BTS for the package version that is in that distribution. If you have a Scribus issue that is not related to Debian packaging then use the scribus BTS at http://bugs.scribus.net for reporting bugs.
<h3>Bug reporting</h3>
 
Please DO NOT file bug reports about the packages from these upstream
== Step-by-step procedure: ==
repositories into the Debian or
 
Ubuntu BTS (Bug Tracking Systems). Only use the distribution BTS for
You don't have to log on as root, but you have to have superuser privileges to
the package version that
edit the /etc/apt/sources.list file. Fortunately, on a Linux system you can do
is in that distribution. If you have a Scribus issue that is not
that with ease. Please open a root terminal or open a regular terminal and
related to Debian packaging then use the scribus BTS at
become root through a "su" command. You will have to provide root password
http://bugs.scribus.net for reporting bugs. You are encouraged to
contact the maintainer <a
href="mailto:malextagancha.org">Oleksandr (Alex)
Moskalenko</a> if you have package
installation questions or related Scribus issues that
you believe do not belong in Scribus BTS or for comments and
suggestions about this document.
<h3>Step-by-step procedure for new
Debian GNU/Linux users.</h3>
You don't have to log on as root, but you have to have superuser
privileges to
edit the /etc/apt/sources.list file. Fortunately, on a Linux system you
can do
that with ease. Please open a root terminal or open a regular terminal
and
become root through a "su" command. You will have to provide root
password
when prompted. Then, you can launch your favorite text editor from that
when prompted. Then, you can launch your favorite text editor from that
terminal and edit the sources.list file as outlined in the
terminal and edit the sources.list file as outlined in the
http://wiki.scribus.net/index.php/Scribus_on_Debian_GNU/Linux page.
http://wiki.scribus.net/index.php/Scribus_on_Debian_GNU/Linux page.
Alternatively, you can do a bit more work upfront to achieve a more permanent
Alternatively, you can do a bit more work upfront to achieve a more
access to package manipulation system. If you are familiar with the VI editor
permanent
access to package manipulation system. If you are familiar with the VI
editor
you can do the following:
you can do the following:
 
<ul>
* Open a root terminal.
  <li>Open a root terminal.</li>
* Type "visudo".
  <li>Type "visudo".</li>
* Type "o" to open a new line (vi command) and type the following line
  <li>Type "o" to open a new line
(vi command) and type the following line
(assuming your login name is "scribusoid"):
(assuming your login name is "scribusoid"):
scribusoid   ALL= NOPASSWD: /usr/sbin/synaptic
scribusoid ALL= NOPASSWD: /usr/sbin/synaptic</li>
* Press "ESC" to leave the editing mode in Vi and return to the command mode.
  <li>Press "ESC" to leave the
* Type ":wq!" to exit the editor.
editing mode in Vi and return to the command
 
mode.</li>
  <li>Type ":wq!" to exit the
editor.</li>
</ul>
Now you are ready to launch the very nice graphical apt-get front-end
Now you are ready to launch the very nice graphical apt-get front-end
Synaptic with a "sudo synaptic" command at any time. If you are a new Linux
Synaptic with a "sudo synaptic" command at any time. If you are a new
user, Synaptic will help you get started easier than you probably would with
Linux
user, Synaptic will help you get started easier than you probably would
with
command line tools.
command line tools.
 
Once you launch Synaptic select the "Settings/Repositories" menu entry.
Once you launch Synaptic select the "Settings/Repositories" menu entry. Click
Click
on the "New" button and type or paste in the appropriate source lines. For example for "Debian Sarge":
on the "New" button and type or paste in the appropriate source lines.
 
For example for "Debian Sarge":
URI: http://debian.scribus.net/debian/ <br>
URI: http://debian.scribus.net/debian/ <br />
Distribution: stable <br>
Distribution: stable <br />
Section(s): main non-free contrib <br>
Section(s): main non-free contrib <br />
 
Don't forget to enable that repository by selecting a checkbox in the
Don't forget to enable that repository by selecting a checkbox in the leftmost
leftmost
column. Now you can reload repository information by clicking on the "Reload"
column. Now you can reload repository information by clicking on the
button in the main Synaptic window. Then you click on the "Search" button and
"Reload"
button in the main Synaptic window. Then you click on the "Search"
button and
search for "scribus". Once "scribus", "scribus-cvs", "scribus-doc", and
search for "scribus". Once "scribus", "scribus-cvs", "scribus-doc", and
"scribus-template" packages are found you can mark them for installation by
"scribus-template" packages are found you can mark them for
installation by
double-clicking on them or by right-clicking and selecting "Mark for
double-clicking on them or by right-clicking and selecting "Mark for
installation". When you are done, click on the "Apply" button to proceed with
installation". When you are done, click on the "Apply" button to
installation. After that you should have the packages installed and may begin
proceed with
installation. After that you should have the packages installed and may
begin
to use Scribus.
to use Scribus.
 
<h3>Building from a source package
 
for other Debian-based distributions</h3>
== Building from a source package for other Debian-based distributions ==
Instructions below have been rendered mostly obsolete for the x86
 
architecture by the new repositories. If you have non-x86 hardware or
Instructions below have been rendered mostly obsolete for the x86 architecture by the new repositories. If you have non-x86 hardware or would like to build an optimized package you can still use these instructions. You can submit packages for other architectures to me and I will place them into the repository. If you have a non-x86 arch or would like to optimize the packages for your CPT you can achive these goals by a very simple package rebuild. Make sure that you have the deb-src lines for scribus repositories uncommented and run the following commands:
would like to build an optimized package you can still use these
 
instructions. You can submit packages for other architectures to me and
<hr>The cool way (TM) - as root or set up sudo for yourself as a user:</h4>
I will place them into the repository. If you have a non-x86 arch or
 
would like to optimize the packages for your CPT you can achive these
<pre>
goals by a very simple package rebuild. Make sure that you have the
apt-get install apt-build
deb-src lines for scribus repositories uncommented and run the
</pre>
following commands:
Answer questions about your CPU and stuff - see an excellent document at http://julien.danjou.info/article-apt-build.html)
<hr />The cool way (TM) - as root
 
or set up sudo for yourself as a user:
<pre>
<pre>apt-get install apt-build<br /></pre>
apt-build update
Answer questions about your CPU and stuff - see an excellent document
</pre>
at http://julien.danjou.info/article-apt-build.html)
<pre>
<pre>apt-build update<br /></pre>
apt-build install scribus (or scribus-cvs)
<pre>apt-build install scribus (or scribus-cvs)<br /></pre>
</pre>
<hr />
 
<h4>An alternate cool way - as
<hr>
root or see the config setup below:</h4>
 
<ul>
<h4>An alternate cool way - as root or see the config setup below:</h4>
  <li>Install "apt-src":
    <pre>apt-get install apt-src<br /></pre>
* Install "apt-src":
  </li>
<pre>
  <li>Install the dependencies,
apt-get install apt-src
build and install scribus from source:
</pre>
    <pre>apt-src -i install scribus<br /></pre>
 
  </li>
* Install the dependencies, build and install scribus from source:
</ul>
<pre>
<h4>To streamline this process and
apt-src -i install scribus
build scribus as a user:</h4>
</pre>
<strong>Configure apt-src:</strong>
 
<!-- br-->
<h4>To streamline this process and build scribus as a user:</h4>
 
* Configure apt-src:
Add the following lines to /etc/apt/apt.conf or ~/.apt-src/config file:
Add the following lines to /etc/apt/apt.conf or ~/.apt-src/config file:
<pre>
<pre>APT::Src::RootCommand su -c;<br />APT::Src::BuildDeps<br /></pre>
APT::Src::RootCommand su -c;
This is especially convenient if you set up the no-password su to root
APT::Src::BuildDeps
for yourself through pam. Otherwise you'll likely have to type a
</pre>
password.
This is especially convenient if you set up the no-password su to root for yourself through pam. Otherwise you'll likely have to type a password.
<hr />
 
<h4>Without apt-build or apt-src -
<hr>  
as root:</h4>
 
<pre>apt-get source -b scribus scribus-cvs<br /></pre>
<h4>Without apt-build or apt-src - as root:</h4>
<pre>apt-get build-dep scribus-cvs (or scribus)<br /></pre>
 
<hr />
<pre>
apt-get source -b scribus scribus-cvs
</pre>
 
<pre>
apt-get build-dep scribus-cvs (or scribus)
</pre>
 
<hr>
 
<h4>Anoter way - as root:</h4>
<h4>Anoter way - as root:</h4>
 
<pre>apt-get install devscripts build-essential fakeroot<br /></pre>
<pre>
<strong>Note:</strong>
apt-get install devscripts build-essential fakeroot
This creates a minimal build environment.
</pre>
<pre>apt-get source scribus-cvs (or "scribus" instead of "scribus-cvs")<br /></pre>
''Note: This creates a minimal build environment.''
<pre>apt-get build-dep scribus-cvs (or scribus)<br /></pre>
 
<pre>cd scribus.... or scribus-cvs...<br /></pre>
<pre>
apt-get source scribus-cvs (or "scribus" instead of "scribus-cvs")
</pre>
<pre>
apt-get build-dep scribus-cvs (or scribus)
</pre>
<pre>
cd scribus.... or scribus-cvs...
</pre>
Use the actual directory names.
Use the actual directory names.
<pre>
<pre>debuild -us -uc<br /></pre>
debuild -us -uc
<pre>cd ..<br /></pre>
</pre>
<pre>dpkg -i scribus_.... or scribus-cvs_....<br /></pre>
<pre>
<h3>About this document</h3>
cd ..
As of 2006-01-30 this how-to has been originally created for Scribus
</pre>
Wiki page by the following Scribus Wiki users: malex (Oleksandr
<pre>
Moskalenko), mhanski (Maciej Hanski), Zero0w (Wily Yuen), JureCuhalev,
dpkg -i scribus_.... or scribus-cvs_....
Cbradney (Craig Bradney),
</pre>
and Joolsr.
</body>
</html>

Revision as of 19:50, 30 January 2006

This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>

 <meta
content="text/html; charset=ISO-8859-1"
http-equiv="content-type" />
 <title>Scribus on Debian GNU

Linux</title> </head> <body>

Scribus on Debian GNU/Linux and derivatives.

The main page is now located at http://debian.scribus.net. This page must be kept as strict xhtml 1.0 and any modifications should be followed by a notification to malex@tagncha.org, so the main page could be updated.

"Debian" name here encompasses Debian proper (unstable/testing/stable also known as sid/etch/sarge) and at least Ubuntu breezy/hoary. Instructions on rebuilding the source package may be applicable to other Debian derivatives and custom distributions.

Preamble

Currently there are following Scribus-related packages in Debian: <a

href="http://packages.qa.debian.org/s/scribus.html">scribus</a>

(Scribus 1.2.x), <a

href="http://packages.qa.debian.org/s/scribus-template.html">scribus-template</a>

(Developer and user-contributed additional templates), <a

href="http://packages.qa.debian.org/s/scribus-doc.html">scribus-doc</a>

(Scribus documentation, which has to be provided as a separate package due to is non-free nature by the Debian Free Software Guidelines), <a

href="http://packages.qa.debian.org/i/icc-profiles.html">icc-profiles</a>

(A collection of common ICC profiles to use with Scribus and other color profile-aware software), and <a

href="http://packages.qa.debian.org/l/lprof.html">lprof</a>

(Hardware color profiler that can be used to create color profiles for your hardware to be used with Scribus). Scribus team also maintains an unofficial (outside of Debian proper) repository that contains some of the packages mentioned above with the most notable difference being a scribus-cvs package (Scribus 1.3.x developmental series). scribus-cvs package can be installed in parallel with the scribus package. There are a couple reasons for the existence of this upstream repository. First, Debian development puts a limit on how often a new scribus package can be updated. It could take weeks between consecutive uploads. Because of that the official packages are usually behind those available in our upstream archives. Packages in our upstream repositories usually follow scribus development fairly closely via cvs snapshot builds. For instance, if you discovered a but you are advised to install the most recent package as the bug might have already been fixed and a fixed package is available. This is called "the Scribus magic (TM)". Second, Debian has strict Quality Assurance for packages with its requirements embodied in the extensive and thorough <a

href="http://www.debian.org/doc/debian-policy/">Debian

Policy</a>. As Scribus libraries may not yet be installed in arbitrary locations due to code limitations scribus-cvs package has it libraries in the /usr/local/lib hierarchy. This is a violation of DP and as such 1.3.x series scribus-cvs has to be confined to our upstream repository until it is ready to replace the venerable Scribus 1.2.x series.

Debian setup for Scribus repositories.

About the repositories.

We actually maintain two identical repositories to provide bandwidth redundancy and failover capability to our distribution of Debian scribus packages. These repositories contain x86 packages for Debian stable,testing and unstable and Ubuntu hoary and breezy branches. If you are using a different Debian-based distribution or your hardware is not x86-based such as PowerPC or AMD64 you can easily build a Scribus package from our source package, so do not consider it as a strong obstacle to using these packages.

Repository usage.

To use our repositories add the appropriate source lines from the following list to your /etc/apt/sources.list file. Note that the lines starting with "deb" are used for installation of the pre-compiled binary packages and the line starting with "deb-src" are for the source package for building a binary package for your distribution (if it has a different set of libraries), hardware (if it's not x86) or compiler optimizations (if you really know you want them). 

Source lines for /etc/apt/sources.list or for Synaptic et al.

Debian stable (Sarge):

# debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ stable main non-free contrib<br />deb-src http://debian.scribus.net/debian/ stable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ stable main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ stable main non-free contrib<br />

Debian testing (Etch):

# debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ testing main non-free contrib<br />deb-src http://debian.scribus.net/debian/ unstable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ testing main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ unstable main non-free contrib<br />

Debian unstable (Sid):

# debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ unstable main non-free contrib<br />deb-src http://debian.scribus.net/debian/ unstable main non-free contrib<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ unstable main non-free contrib<br />deb-src http://debian.tagancha.org/debian/ unstable main non-free contrib<br />

Ubuntu hoary:

# debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian/ hoary main restricted<br />deb-src http://debian.scribus.net/debian/ hoary main restricted<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian/ hoary main restricted<br />deb-src http://debian.tagancha.org/debian/ hoary main restricted<br />

Ubuntu breezy:

Note that Ubuntu breezy

package can be also used for Ubuntu "Dapper" branch right now. When Dapper changes enough to require its own scribus or scribus-cvs package we will

provide it.
# debian.scribus.net - Primary repository<br />deb http://debian.scribus.net/debian breezy main restricted<br />deb-src http://debian.scribus.net/debian breezy main restricted<br /># debian.tagancha.org - Backup repository<br />deb http://debian.tagancha.org/debian breezy main restricted<br />deb-src http://debian.tagancha.org/debian breezy main restricted<br />

Using cryptographic repository signatures:

Our repositories are cryptographically signed for added security. Add the gpg-keys for our repositories to avoid having to confirm your installation choice to the package manager each time you update a scribus or scribus-cvs package.

root$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B<br />root$ gpg --armor --export DA286F326C5F196B | apt-key add - 

or as a normal user (with an appropriate entry for apt-key in the sudoers file):

user$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys DA286F326C5F196B<br />user$ gpg --armor --export DA286F326C5F196B | sudo apt-key add - 

Final installation step

Once you added the relevant sources lines to your /etc/apt/sources.list you can run

aptitude install scribus scribus-cvs<br />

or

apt-get install scribus scribus-cvs<br />

in a root terminal or use your favorite graphical apt-get front-end such as synaptic or aptitude. Don't forget to "Reload Package List" in the synaptic. It's the equivalent of "apt-get (or aptitude) update" and has to be done to make new packages from our repositories available to your package management tools.

Bug reporting

Please DO NOT file bug reports about the packages from these upstream repositories into the Debian or Ubuntu BTS (Bug Tracking Systems). Only use the distribution BTS for the package version that is in that distribution. If you have a Scribus issue that is not related to Debian packaging then use the scribus BTS at http://bugs.scribus.net for reporting bugs. You are encouraged to contact the maintainer <a

href="mailto:malextagancha.org">Oleksandr (Alex)

Moskalenko</a> if you have package installation questions or related Scribus issues that you believe do not belong in Scribus BTS or for comments and suggestions about this document.

Step-by-step procedure for new Debian GNU/Linux users.

You don't have to log on as root, but you have to have superuser privileges to edit the /etc/apt/sources.list file. Fortunately, on a Linux system you can do that with ease. Please open a root terminal or open a regular terminal and become root through a "su" command. You will have to provide root password when prompted. Then, you can launch your favorite text editor from that terminal and edit the sources.list file as outlined in the http://wiki.scribus.net/index.php/Scribus_on_Debian_GNU/Linux page. Alternatively, you can do a bit more work upfront to achieve a more permanent access to package manipulation system. If you are familiar with the VI editor you can do the following:

  • Open a root terminal.
  • Type "visudo".
  • Type "o" to open a new line (vi command) and type the following line (assuming your login name is "scribusoid"): scribusoid ALL= NOPASSWD: /usr/sbin/synaptic
  • Press "ESC" to leave the editing mode in Vi and return to the command mode.
  • Type ":wq!" to exit the editor.

Now you are ready to launch the very nice graphical apt-get front-end Synaptic with a "sudo synaptic" command at any time. If you are a new Linux user, Synaptic will help you get started easier than you probably would with command line tools. Once you launch Synaptic select the "Settings/Repositories" menu entry. Click on the "New" button and type or paste in the appropriate source lines. For example for "Debian Sarge": URI: http://debian.scribus.net/debian/
Distribution: stable
Section(s): main non-free contrib
Don't forget to enable that repository by selecting a checkbox in the leftmost column. Now you can reload repository information by clicking on the "Reload" button in the main Synaptic window. Then you click on the "Search" button and search for "scribus". Once "scribus", "scribus-cvs", "scribus-doc", and "scribus-template" packages are found you can mark them for installation by double-clicking on them or by right-clicking and selecting "Mark for installation". When you are done, click on the "Apply" button to proceed with installation. After that you should have the packages installed and may begin to use Scribus.

Building from a source package for other Debian-based distributions

Instructions below have been rendered mostly obsolete for the x86 architecture by the new repositories. If you have non-x86 hardware or would like to build an optimized package you can still use these instructions. You can submit packages for other architectures to me and I will place them into the repository. If you have a non-x86 arch or would like to optimize the packages for your CPT you can achive these goals by a very simple package rebuild. Make sure that you have the deb-src lines for scribus repositories uncommented and run the following commands:


The cool way (TM) - as root

or set up sudo for yourself as a user:

apt-get install apt-build<br />

Answer questions about your CPU and stuff - see an excellent document at http://julien.danjou.info/article-apt-build.html)

apt-build update<br />
apt-build install scribus (or scribus-cvs)<br />

An alternate cool way - as root or see the config setup below:

  • Install "apt-src":
    apt-get install apt-src<br />
  • Install the dependencies, build and install scribus from source:
    apt-src -i install scribus<br />

To streamline this process and build scribus as a user:

Configure apt-src: Add the following lines to /etc/apt/apt.conf or ~/.apt-src/config file:

APT::Src::RootCommand su -c;<br />APT::Src::BuildDeps<br />

This is especially convenient if you set up the no-password su to root for yourself through pam. Otherwise you'll likely have to type a password.


Without apt-build or apt-src - as root:

apt-get source -b scribus scribus-cvs<br />
apt-get build-dep scribus-cvs (or scribus)<br />

Anoter way - as root:

apt-get install devscripts build-essential fakeroot<br />

Note: This creates a minimal build environment.

apt-get source scribus-cvs (or "scribus" instead of "scribus-cvs")<br />
apt-get build-dep scribus-cvs (or scribus)<br />
cd scribus.... or scribus-cvs...<br />

Use the actual directory names.

debuild -us -uc<br />
cd ..<br />
dpkg -i scribus_.... or scribus-cvs_....<br />

About this document

As of 2006-01-30 this how-to has been originally created for Scribus Wiki page by the following Scribus Wiki users: malex (Oleksandr Moskalenko), mhanski (Maciej Hanski), Zero0w (Wily Yuen), JureCuhalev, Cbradney (Craig Bradney), and Joolsr. </body> </html>