Difference between revisions of "Debian"

From Scribus Wiki
Jump to: navigation, search
(Undo revision 33471 by Ale (talk))
 
Line 1: Line 1:
 
[[Category:Installation]] [[Category:EN]] [[Category:Linux]]
 
[[Category:Installation]] [[Category:EN]] [[Category:Linux]]
 
__NOTOC__
 
__NOTOC__
{{Annotation|caution|Currently, the Debian and Ubuntu packages are newer than the ones in the Scribus own repository. Please, ignore the content of this page and just install Scribus from your package manager}}
 
=Introduction=
 
  
This document is about using Scribus Team package archive to obtain up-to-date Scribus packages for <strong><em>Debian GNU/Linux</em></strong> and on <strong><em>Ubuntu</em></strong> GNU/Linux distributions. The archive and packages described here are produced and supported by the Scribus Team member "malex".
+
The packages from the the Debian and Ubuntu repositories are the standard way to obtain Scribus.
  
==Available packages==
+
On Ubuntu, you can also use Daily builds of scribus-trunk packages made from the latest Scribus subversion trunk code.
{| width=100% "
 
|-
 
!align="left"|Name
 
!align="left"|Description
 
!align="left"|Supported Distributions and branches
 
|-
 
|scribus
 
|stable
 
|Debian Stable/Testing/Unstable and Ubuntu Raring/Quantal/Precise/Lucid
 
|-
 
|fontmatrix
 
|Font manager
 
|Supported Ubuntu releases
 
|}
 
  
==The Scribus Archive==
+
See the installation instructions at [https://launchpad.net/~scribus/+archive/ppa https://launchpad.net/~scribus/+archive/ppa]. scribus-trunk can be installed and used in parallel with the stable package.
We have two package archives (also known as 'repositories') - ''debian.scribus.net'' (located in Europe) and ''debian.tagancha.org'' (located in the USA), so you can use one that is closer to you or even both at the same time for redundancy. Instructions are the same whether you run a 32-bit (i386) or a 64-bit (amd64) distribution. Both scribus and scribus-ng packages can be installed on your system at the same time.
 
  
==Ubuntu PPA==
+
=Building from source=
There is another archive hosted by Ubuntu. Daily builds of scribus-trunk packages are made from the latest Scribus subversion trunk code. See the installation instructions at [https://launchpad.net/~scribus/+archive/ppa https://launchpad.net/~scribus/+archive/ppa]. scribus-trunk can be installed and used in parallel with both scribus and scribus-ng packages.
 
  
=I. Short instructions for the impatient and experienced=
+
See [[Debian_Ubuntu_Building_From_Source|Building Scribus from source on Debian/Ubuntu]] for more details.
 
 
==1. Add the repositories to package manager software==
 
Scribus Archive source lines can be simply added to /etc/apt/sources.list:
 
 
 
===Debian unstable (Sid):===
 
<pre>
 
deb http://debian.scribus.net/debian/ unstable main
 
deb http://debian.tagancha.org/debian/ unstable main
 
</pre>
 
===Debian testing (Wheezy):===
 
<pre>
 
deb http://debian.scribus.net/debian/ testing main
 
deb http://debian.tagancha.org/debian/ testing main
 
</pre>
 
 
 
===Debian stable (Squeeze):===
 
<pre>
 
deb http://debian.scribus.net/debian/ stable main
 
deb http://debian.tagancha.org/debian/ stable main
 
</pre>
 
 
 
===Ubuntu Raring Ringtail (raring or 13.04):===
 
<pre>
 
deb http://debian.scribus.net/debian/ raring main
 
deb http://debian.tagancha.org/debian/ raring main
 
</pre>
 
 
 
===Ubuntu Quantal Quetzal (quantal or 12.10):===
 
<pre>
 
deb http://debian.scribus.net/debian/ quantal main
 
deb http://debian.tagancha.org/debian/ quantal main
 
</pre>
 
 
 
===Ubuntu Precise Pangolin (precise or 12.04):===
 
<pre>
 
deb http://debian.scribus.net/debian/ precise main
 
deb http://debian.tagancha.org/debian/ precise main
 
</pre>
 
 
 
===Ubuntu Lucid Lynx LTS (lucid or 10.04):===
 
LTS = Long-Term Support
 
<pre>
 
deb http://debian.scribus.net/debian/ lucid main
 
deb http://debian.tagancha.org/debian/ lucid main
 
</pre>
 
 
 
==2. Add the Scribus Archive signature key==
 
Our repositories are cryptographically signed for added security with EEF818CF key, so your package manager software could verify that our packages have not been tampered with by a third party will not produce warnings about untrusted packages being installed.
 
 
 
===Automated way===
 
Install the '''scribus-archive-keyring''' package from our archive using apt, aptitude, or synaptic. Answer ''yes'' when your package manager asks if you would really like to install a package from an untrusted source.
 
 
 
===Manual way===
 
Get the key from any major keyserver such as:
 
 
 
<pre>$ gpg --keyserver wwwkeys.pgp.net --recv-keys EEF818CF</pre>
 
 
 
Export the key and add it to the apt keyring.
 
<pre>$ gpg --armor --export EEF818CF | sudo apt-key add -</pre>
 
 
 
==3. Install the package==
 
Use aptitude, apt, or synaptic to install your the package you'd like to use.
 
  
'''Examples:''' <pre>$aptitude install scribus</pre> <pre>$apt-get install scribus-ng</pre>
+
== The Scribus packages ==
  
===Note: Report bugs to the Scribus Bug Tracker not Debian or Ubuntu BTS===
 
<strong>Do not </strong>file bug reports about the packages from the Scribus archive in the Debian or Ubuntu Bug Tracking Systems (BTS). You are encouraged to contact the maintainer directly at [[Image:Malex_at_scribus_info_email.png‎]] if you have package installation questions or for comments and suggestions about this document. If you have a Scribus issue unrelated to packaging you should use the [http://bugs.scribus.net/ Scribus BTS].
 
 
=II. Step-by-step instructions.=
 
<p>These instructions are focused on Ubuntu.</p> Please note that any '''versions''' in the screenshots are incidental and should not be taken into consideration. See the [[Scribus|front page of this wiki]] for information on the released versions.
 
==1. Add the Scribus Archive gpg key to your package manager using gui-apt-key==
 
<ul>
 
<li>Start gui-apt-key from the command line by running "sudo gui-apt-key" or from the "Run Application" dialog window that appears when  you press Alt+F2. When gui-apt-key starts you will see its main window. Enter the Scribus Archive key's ID into the "Key ID" box (1) and click on the "Add" button (2).</li>
 
[[Image:Gui-apt-key-main.png]]
 
<li>When the confirmation dialog appears click on the "OK" button.</li>
 
[[Image:Gui-apt-key_add_confirmation.png]]
 
<li>As a result of you should see the Scribus Archive key in the list in the main window as the result (highlighted entry in the screenshot).</li>
 
[[Image:Gui-apt-key-result.png]]
 
</ul>
 
 
==2a. Method 1- Add the Scribus Archive as a new Repository using <strong>Software Sources</strong>==
 
<ul>
 
<li>Go to System > Administration > Software Sources. The Software Sources window will open. Choose the 'Other Software' tab.</li>
 
[[Image:Softwaresourcesbefore.png]]
 
<li>Click on the Add button. When the dialogue opens type (or copy and paste) the appropriate source line from the list at the top of this document into the text field. For example, if you are running Debian Unstable release you would type or paste "deb http://debian.scribus.net/debian/ unstable main non-free contrib" as shown in the screenshot below. For Ubuntu Lucid Lynx it would be "deb http://debian.scribus.net/debian/ lucid main non-free" and so on.</li>
 
[[Image:Aptline.png]]
 
<li>Left click on the 'Add Source' button and follow the prompts to update the repository index. To check if all went well you should now see your Software Sources updated to look like this:</li>
 
[[Image:Softwaresourcesafter.png]]
 
<li>If it does not look right then highlight the line and left click on the Edit button. Make any changes necessary to ensure it looks like this:</li>
 
[[Image:Editsource.png]]
 
<li>Close down Software Sources.</li>
 
</ul>
 
==2b. Method 2 - Add the Scribus Archive to your package manager using Synaptic==
 
<ul>
 
<li>Start Synaptic package manager (later "Synaptic").</li>
 
<li>Click on "Settings" &gt; "Repositories" (Figure 1).</li>
 
[[Image:Synaptic-main_window-settings_menu-edited.png]]
 
<strong>Figure 1. Settings &gt; Repositories menu.</strong>
 
<li>Click on "New" and type or paste in the "URI", "Distribution", and "Section(s)" and click on "OK" (Figure 2).</li>
 
[[Image:Synaptic-unstable-repositories-edited.png]]
 
<strong>Figure 2. Adding a repository.</strong>
 
<li>click on the "Reload" button in the toolbar and wait for the package database update to complete.</li>
 
<li>Click on the "Search" toolbar button. A "Find" dialog window will open. Type "scribus" in the "Search" field and click on the "Search" button (Figure 3).</li>
 
[[Image:Search-window-edited.png]]<br/>
 
<strong>Figure 3. Searching.</strong>
 
<li>The search should produce results similar to the following (Figure 4).</li>
 
[[Image:Search-result-scribus-edited.png]]
 
<br/>
 
<strong>Figure 4. Search results.</strong>
 
<li>Right-click on the package you'd like to install in the search results or click on the small square in the leftmost "S" column and select "Mark for Installation" (Figure 5).</li>
 
[[Image:Mark_for_installation-edited.png]]<br/>
 
<strong>Figure 5. Mark package for installation.</strong>
 
<li>You should see your chosen package marked for installation in the main synaptic window as indicated by a yellow arrow in the "S" column (Figure 6).</li>
 
[[Image:Marked_for_installation.png]]<br/>
 
<strong>Figure 6. Package is marked for installation.</strong>
 
<li>Click on the "Apply" button in the toolbar. You should see the following dialog window.</li>
 
[[Image:Apply_changes.png]]<br/>
 
<strong>Figure 7. Apply changes summary.</strong>
 
<li>Click on the "Apply" button in the above dialog window. You should see a succession of messages indicating that the package is being downloaded and installed as shown in the next two figures.</li>
 
[[Image:Installing_software.png]]<br/>
 
<strong>Figure 8. Package being downloaded.</strong>
 
<p></p>
 
[[Image:Installed_software.png]]<br/>
 
<strong>Figure 9. Package being installed.</strong>
 
<li>Depending on your synaptic preferences you might have to click on the "Close" button or the installation progress window might close by itself. At the end you should see a green square in the column "S" in front of your chosen package in the main synaptic window.</li>
 
[[Image:Installed_software-main_window.png]]<br/>
 
<strong>Figure 10. Main window after package installation.</strong>
 
 
==2c. Using Adept package manager to install a Scribus package==
 
For an alternative method using the "Adept" package manager found in Kubuntu see [[Getting_Scribus_on_Ubuntu/Kubuntu_up_and_running|Getting Scribus on Ubuntu/Kubuntu up and running.]]
 
 
=Building from source=
 
See [[Debian_Ubuntu_Building_From_Source|Building Scribus from source on Debian/Ubuntu]] for more details.
 
 
=About the Scribus Archive=
 
 
There are following Scribus related packages in <strong>Debian</strong> and <strong>Ubuntu</strong>:
 
There are following Scribus related packages in <strong>Debian</strong> and <strong>Ubuntu</strong>:
  
==Scribus applications and documentation==
 
 
<ul>
 
<ul>
 
<li>[http://packages.qa.debian.org/s/scribus.html scribus] (Scribus 1.4.x) - Stable branch. This is the recommended version to use at this time.</li>
 
<li>[http://packages.qa.debian.org/s/scribus.html scribus] (Scribus 1.4.x) - Stable branch. This is the recommended version to use at this time.</li>
Line 173: Line 22:
 
<li>[http://packages.qa.debian.org/s/scribus-ng-doc.html scribus-ng-doc] (Currentl a transitional dummy package) Scribus 1.5.x documentation.</li>
 
<li>[http://packages.qa.debian.org/s/scribus-ng-doc.html scribus-ng-doc] (Currentl a transitional dummy package) Scribus 1.5.x documentation.</li>
 
</ul>
 
</ul>
 +
 
<p>Additional data, color profiles, templates, and auxiliary applications:</p>
 
<p>Additional data, color profiles, templates, and auxiliary applications:</p>
 +
 
<ul>
 
<ul>
 
<li>[http://packages.qa.debian.org/s/scribus-template.html scribus-template] - Additional document templates. </li>
 
<li>[http://packages.qa.debian.org/s/scribus-template.html scribus-template] - Additional document templates. </li>
Line 182: Line 33:
 
</ul>
 
</ul>
  
Instructions on rebuilding the source packages are also applicable to other Debian derivatives and custom distributions not covered here. Oleksandr Moskalenko maintains a Scribus Team's Debian/Ubuntu repository (Scribus Archive) that contains the newest "scribus", "scribus-doc", "scribus-ng", and "scribus-ng-doc" packages. Note that the only way to run latest Scribus versions on Debian/Stable and Ubuntu is to use Scribus Archive. Unfortunately, Ubuntu has had a number of Qt related problems, so in some cases we recommend using Debian to run Scribus.
+
=About this document=
  
=About this document=
 
 
This how-to has been originally created for Scribus Wiki page by the following Scribus Wiki users: malex, mhanski, Zero0w, JureCuhalev, Cbradney, and Joolsr. This page is licensed under [http://creativecommons.org/licenses/by-sa/2.0/%20 CC BY-SA].
 
This how-to has been originally created for Scribus Wiki page by the following Scribus Wiki users: malex, mhanski, Zero0w, JureCuhalev, Cbradney, and Joolsr. This page is licensed under [http://creativecommons.org/licenses/by-sa/2.0/%20 CC BY-SA].
  
 
<strong><em>Keywords: </em></strong><em>Debian, Ubuntu, .deb, packages, repository, archive, step-by-step guide, 42.</em>
 
<strong><em>Keywords: </em></strong><em>Debian, Ubuntu, .deb, packages, repository, archive, step-by-step guide, 42.</em>

Latest revision as of 11:15, 2 May 2016


The packages from the the Debian and Ubuntu repositories are the standard way to obtain Scribus.

On Ubuntu, you can also use Daily builds of scribus-trunk packages made from the latest Scribus subversion trunk code.

See the installation instructions at https://launchpad.net/~scribus/+archive/ppa. scribus-trunk can be installed and used in parallel with the stable package.

Building from source

See Building Scribus from source on Debian/Ubuntu for more details.

The Scribus packages

There are following Scribus related packages in Debian and Ubuntu:

  • scribus (Scribus 1.4.x) - Stable branch. This is the recommended version to use at this time.
  • scribus-doc Scribus 1.4.x documentation.
  • scribus-ng (Currently this is a transitional dummy package; will contain Scribus 1.5.x after the first release in the 1.5svn branch) - Developmental branch with new features and capabilities. Use if you really need the new features in development, but save your work often and report bugs when you encounter them.
  • scribus-ng-doc (Currentl a transitional dummy package) Scribus 1.5.x documentation.

Additional data, color profiles, templates, and auxiliary applications:

  • scribus-template - Additional document templates.
  • icc-profiles - A collection of common ICC profiles to use with Scribus and other color profile-aware software. You must Install this package if you want to enable color management.
  • lprof Hardware color profiler tool for creating ICC profiles to be used with Scribus.
  • qt4-qtconfig allows users to configure the look and behavior of any Qt4 application - necessary to overcome some Ubuntu problems.
  • podofo is a library to work with the PDF file format. The scribus-ng packages in the Scribus Archive are podofo-enabled.

About this document

This how-to has been originally created for Scribus Wiki page by the following Scribus Wiki users: malex, mhanski, Zero0w, JureCuhalev, Cbradney, and Joolsr. This page is licensed under CC BY-SA.

Keywords: Debian, Ubuntu, .deb, packages, repository, archive, step-by-step guide, 42.