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

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(102 intermediate revisions by 14 users not shown)
Line 1: Line 1:
== Installation ==
[[Category:Installation]] [[Category:EN]] [[Category:Linux]]{{Update}}
'''Note:''' the main document maintained by the Debian/Ubuntu packager and other people is [[Debian|located here]].


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 to the Debian or Scribus BTS (Bug Tracking System) or for comments about this page.
<div style="background-color: #fee; margin: 0 1em; padding: 0 10px; border: 1px dotted #c00;">
'''BIG FAT WARNING:'''
Scribus users on any version of '''Kubuntu''' from  Dapper Drake on may experience  difficulties while changing values in real number spinboxes. This is a long standing bug which has been reported to both [https://launchpad.net/distros/ubuntu/+source/scribus/+bug/37711 Ubuntu] and [http://bugs.scribus.net/view.php?id=3826 Scribus bug tracker].
As long as there is no real solution, you can use of the workarounds mentioned in [https://launchpad.net/distros/ubuntu/+source/scribus/+bug/37711 Ubuntu Bug Tracker], preferably remove the package '''scim_qtimm'''.


If you'd like to stay on the leading edge of Scribus development please use upstream repositories as I have to upload scribus into Debian through a sponsor and it usually takes weeks to get an upload in. Because of that the official packages are usually well-behind what is available in the upstream repositories. Please try a package from an upstream directory to test the bug you discovered as it might have already been fixed and new package is available. This is called "the Scribus magic (TM)".
Please refer also to [http://bugs.scribus.net/view.php?id=4423 this metabug] for other *buntu issues that may diminish its suitability as a good platform for Scribus and DTP
<p>
</div>
To use the upstream repositories:


Add the following lines to your /etc/apt/sources.list
== Adding repositories with Scribus related packages ==
<pre>
deb        http://debian.scribus.net/debian/ unstable/
deb-src    http://debian.scribus.net/debian/ unstable/


deb        http://debian.tagancha.org/scribus unstable/
Repositories are provided for the majority of Debian and Ubuntu based systems. If you are uncertain which distribution you are running the file /etc/lsb-release will probably contain that information.
deb-src    http://debian.tagancha.org/scribus unstable/
</pre>


Once you added the sources lines you can run
{|
<pre>
!Vendor
aptitude install scribus
!Distribution
</pre>
!Available sets
Substituted aptitude for apt-get if you wish. "scribus" package is for 1.2.xcvs stable series. You can or even should also install "scribus-cvs" package to try the new 1.3cvs series, which is pretty stable and much more featureful than 1.2. scribus-cvs package installs into /usr/local hierarchy and can be installed in parallel with the scribus package, so you can have both and even run them at the same time. However, DO NOT file bug reports about the 1.3 scribus-cvs package or any packages in the upstream repository that are newer then what is in Debian proper in the Debian BTS. Only use Debian BTS for the packages that are in Debian. If you have a Scribus issue, which is not related to Debian packaging then it is much more preferable if you use scribus BTS for reporting bugs. Go to http://bugs.scribus.net and have fun.
|-
|Ubuntu || maverick || main
|-
|Ubuntu || lucid || main
|-
|Ubuntu || karmic || main
|}


== Sarge-specific issues ==
# debian.scribus.net - Primary repository
deb http://debian.scribus.net/debian yourdistribution main
deb-src http://debian.scribus.net/debian yourdistribution main


The latest gcc packages in sarge are at 3.4.3 version and the current
# debian.tagancha.org - Backup repository
unstable/testing have already diverged. Fortunately, as of early July 2005 sarge is not that far behind and you can get my package to work on your system by a simple package rebuild. Make sure that you have the deb-src lines for scribus repositories uncommented and run the following commands:
deb http://debian.tagancha.org/debian yourdistribution main
deb-src http://debian.tagancha.org/debian yourdistribution main


<b> The cool way (TM) - as root or set up sudo for yourself as a user: </b>
=== Example for the current release of Ubuntu ===
If you are using the latest release of Ubuntu, your /etc/lsb-release should look similar to this:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.04"


<pre>
Based on this information, using the primary site, the repositories you would add are:
apt-get install apt-build
  deb http://debian.scribus.net/debian maverick main
</pre>
  deb-src http://debian.scribus.net/debian maverick main
Answer questions about your CPU and stuff - see an excellent document at http://julien.danjou.info/article-apt-build.html)


<pre>
=== Kubuntu Graphical Example ===
apt-build update
An example of adding both repositories successfully to a system running breezy with Adept Manager.


apt-build install scribus (or scribus-cvs)
* Go to  '''KDE menu/System/Adept (Package Manager)'''  <br>''Ubuntu: '''System'''/'''Administration'''/'''Synaptic (Package Manager)'''''
</pre>
* In Adept go to '''Adept/Manage Repositories''' <br>''Ubuntu:  in Synaptic go to '''Settings/Repositories/New'''''
* Add the following repositories one by one using the '''Add''' field and click on '''Apply''':<br>''Ubuntu: Fill the fields and use the '''OK''' button to add the following repositories:''


<hr>
[[Image:Adding scribus repositories.png]]


<b> Without apt-build - as root:</b>
== Adding the repository key ==
<pre>
apt-get build-dep scribus-cvs (or scribus)
</pre>
<pre>
apt-get source -b scribus scribus-cvs
</pre>


<hr>
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-ng package.


<b> Anoter way - as root:</b>
==== On recent systems ====
As root:
# apt-key adv --recv-keys --keyserver subkeys.pgp.net EEF818CF
As a regular user:
$ sudo apt-key adv --recv-keys --keyserver subkeys.pgp.net EEF818CF
==== On older systems ====
As root:
# gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
# gpg --armor --export EEF818CF | apt-key add -


<pre>
As a regular user:
apt-get install devscripts build-essential fakeroot
</pre>
Note: This creates a minimal build environment.


<pre>
$ gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
apt-get source scribus-cvs (or "scribus" instead of "scribus-cvs")
$ gpg --armor --export EEF818CF | sudo apt-key add -
</pre>
 
<pre>
==Installing Scribus and related packages==
apt-get build-dep scribus-cvs (or scribus)
Launch '''Adept''' (on Kubuntu) or '''Synaptic''' (on Ubuntu) and install the following packages:
</pre>
 
<pre>
* '''scribus''' &ndash; Scribus 1.3.3.x (stable branch) '''or'''
cd scribus.... or scribus-cvs...
* '''scribus-ng''' &ndash; Scribus 1.3.x (development branch) scribus-ng package can be installed paralelly to the  scribus package. Only available for lucid/maverick.
</pre>
* '''scribus-template''' &ndash; developer and user-contributed additional templates
At this moment these are scribus-1.2.1+cvs20050620 and scribus-cvs-1.3+cvs20050629), but it's just an example. Use the actual directory names.
* '''scribus-doc''' &ndash; Scribus 1.3.3.x documentation, which has to be provided as a separate package due to its non-free nature by the Debian Free Software Guidelines
<pre>
* '''scribus-ng-doc''' &ndash; Scribus 1.3.x documentation, which has to be provided as a separate package due to its non-free nature by the Debian Free Software Guidelines
debuild -us -uc
* '''icc-profiles''' &ndash; a collection of common ICC profiles to use with Scribus and other color profile-aware software
</pre>
* '''lprof''' &ndash; hardware color profiler that can be used to create color profiles for your hardware to be used with Scribus
<pre>
* '''qt3-qtconfig''' &ndash; Ubuntu users are strongly advised to install this package for finetuning the Scribus GUI with their Gnome desktop
cd ..
* '''gs-afpl''' &ndash; The AFPL Ghostscript PostScript interpreter, the Ghostscript version recommended by the Scribus team
</pre>
 
<pre>
 
dpkg -i scribus_.... or scribus-cvs_....
Optionally, install the following high quality font packages:
</pre>
* '''t1-xfree86-nonfree'''
At the moment these are scribus_1.2.1+cvs20050620-2_i386.deb and scribus-cvs_1.3+cvs20050629-1_i386.deb, but use the actual file names.
* '''ttf-bitstream-vera'''
<p>
* '''ttf-gentium'''
Voila - you have a scribus (1.2) or scribus-cvs (1.3) package built and optimized for your Sarge (Debian 3.1 a.k.a. stable) system.
* '''ttf-xfree86-nonfree'''
 
==Fine tuning Scribus==
 
===Default GUI font (Ubuntu users only)===
* Launch gtconfig: '''ALT + F2 / enter "qtconfig" / hit Enter'''
* Go to '''Fonts''' tab and choose the font family and size to match your Gnome settings
 
[[Image:Qtconfig.png]]
 
===External tools and additional fonts===
* Launch Scribus and go to '''File/Preferences/External Tools'''
* PostScript Interperter: enter '''gs-afpl'''
* Image Processing Tool: '''gimp-remote'''
* Go to '''Fonts''' subsection and add/disable/enable additional fonts
 
[[Image:External tools.png]]
 
{{CC_BY_SA_and_GNU_FDL|2005-2007|Scribus Wiki authors mentioned in the page history}}

Latest revision as of 04:01, 15 January 2011

Update.png
This article is outdated. Please update the information to reflect the current status or knowledge. We will deprecate/delete in the future.

Note: the main document maintained by the Debian/Ubuntu packager and other people is located here.

BIG FAT WARNING: Scribus users on any version of Kubuntu from Dapper Drake on may experience difficulties while changing values in real number spinboxes. This is a long standing bug which has been reported to both Ubuntu and Scribus bug tracker. As long as there is no real solution, you can use of the workarounds mentioned in Ubuntu Bug Tracker, preferably remove the package scim_qtimm.

Please refer also to this metabug for other *buntu issues that may diminish its suitability as a good platform for Scribus and DTP

Adding repositories with Scribus related packages

Repositories are provided for the majority of Debian and Ubuntu based systems. If you are uncertain which distribution you are running the file /etc/lsb-release will probably contain that information.

Vendor Distribution Available sets
Ubuntu maverick main
Ubuntu lucid main
Ubuntu karmic main
# debian.scribus.net - Primary repository
deb http://debian.scribus.net/debian yourdistribution main
deb-src http://debian.scribus.net/debian yourdistribution main
# debian.tagancha.org - Backup repository
deb http://debian.tagancha.org/debian yourdistribution main
deb-src http://debian.tagancha.org/debian yourdistribution main

Example for the current release of Ubuntu

If you are using the latest release of Ubuntu, your /etc/lsb-release should look similar to this:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.04"

Based on this information, using the primary site, the repositories you would add are:

 deb http://debian.scribus.net/debian maverick main
 deb-src http://debian.scribus.net/debian maverick main

Kubuntu Graphical Example

An example of adding both repositories successfully to a system running breezy with Adept Manager.

  • Go to KDE menu/System/Adept (Package Manager)
    Ubuntu: System/Administration/Synaptic (Package Manager)
  • In Adept go to Adept/Manage Repositories
    Ubuntu: in Synaptic go to Settings/Repositories/New
  • Add the following repositories one by one using the Add field and click on Apply:
    Ubuntu: Fill the fields and use the OK button to add the following repositories:

Adding scribus repositories.png

Adding the repository key

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-ng package.

On recent systems

As root:

# apt-key adv --recv-keys --keyserver subkeys.pgp.net EEF818CF

As a regular user:

$ sudo apt-key adv --recv-keys --keyserver subkeys.pgp.net EEF818CF

On older systems

As root:

# gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
# gpg --armor --export EEF818CF | apt-key add -

As a regular user:

$ gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
$ gpg --armor --export EEF818CF | sudo apt-key add -

Installing Scribus and related packages

Launch Adept (on Kubuntu) or Synaptic (on Ubuntu) and install the following packages:

  • scribus – Scribus 1.3.3.x (stable branch) or
  • scribus-ng – Scribus 1.3.x (development branch) scribus-ng package can be installed paralelly to the scribus package. Only available for lucid/maverick.
  • scribus-template – developer and user-contributed additional templates
  • scribus-doc – Scribus 1.3.3.x documentation, which has to be provided as a separate package due to its non-free nature by the Debian Free Software Guidelines
  • scribus-ng-doc – Scribus 1.3.x documentation, which has to be provided as a separate package due to its non-free nature by the Debian Free Software Guidelines
  • icc-profiles – a collection of common ICC profiles to use with Scribus and other color profile-aware software
  • lprof – hardware color profiler that can be used to create color profiles for your hardware to be used with Scribus
  • qt3-qtconfig – Ubuntu users are strongly advised to install this package for finetuning the Scribus GUI with their Gnome desktop
  • gs-afpl – The AFPL Ghostscript PostScript interpreter, the Ghostscript version recommended by the Scribus team


Optionally, install the following high quality font packages:

  • t1-xfree86-nonfree
  • ttf-bitstream-vera
  • ttf-gentium
  • ttf-xfree86-nonfree

Fine tuning Scribus

Default GUI font (Ubuntu users only)

  • Launch gtconfig: ALT + F2 / enter "qtconfig" / hit Enter
  • Go to Fonts tab and choose the font family and size to match your Gnome settings

Qtconfig.png

External tools and additional fonts

  • Launch Scribus and go to File/Preferences/External Tools
  • PostScript Interperter: enter gs-afpl
  • Image Processing Tool: gimp-remote
  • Go to Fonts subsection and add/disable/enable additional fonts

External tools.png


(c)

The content of this page is available under the Creative Commons Attribution-ShareAlike Licence and Free Documentation Licence

If you alter, transform, or build upon this work, you may distribute the resulting work either under one or under both of the abovementioned licences.