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

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


<div style="background-color: #fee; margin: 0 1em; padding: 0 10px; border: 1px dotted #c00;">  
<div style="background-color: #fee; margin: 0 1em; padding: 0 10px; border: 1px dotted #c00;">  
'''BIG FAT WARNING:'''  
'''BIG FAT WARNING:'''  
Scribus users on Kubuntu Dapper Drake will 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].
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 the following easy workaround:
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'''.
launch Scribus in this way: '''LC_ALL=C scribus'''


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
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
</div>
</div>


== Adding repositories with Scribus related packages ==


{| border="0" cellpadding="2" cellspacing="0" align="right" style="color:white;background:#065682;"
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.
<!-- Header -->
|-style="color:white; background: #98712a;margin-bottom:5px;font-weight:bold"
|'''Requirements:'''
|&nbsp;&nbsp;


<!-- Row 1 -->
{|  
|-
!Vendor
|'''Operating System:'''
!Distribution
|&nbsp;&nbsp;Ubuntu/Kubuntu Linux &nbsp;
!Available sets
<!-- Row 2 -->
|-
|-
|'''Scribus Version:'''
|Ubuntu || maverick || main
|&nbsp;&nbsp;1.2.* and 1.3.*
<!-- Row 3 -->
|-
|-
|'''DTP skills:'''
|Ubuntu || lucid || main
|&nbsp;&nbsp;novice 
<!-- Row 4 -->
|-
|-
|'''OS skills:'''
|Ubuntu || karmic || main
|&nbsp;&nbsp;novice
|}
|}


# 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


== Adding repositories with Scribus related packages ==
=== Example for the current release of Ubuntu ===
Note that there are packages for Ubuntu/Kubuntu <strike>Breezy¹</strike>, Dapper and Edgy, Edgy or ''Feisty²'' users should simply replace "dapper" by "''feisty''" or "edgy" in the belowmentioned repositories:
If you are using the latest release of Ubuntu, your /etc/lsb-release should look similar to this:
 
DISTRIB_ID=Ubuntu
'''¹''' ''<font size="1">Unsupported.</font>''<br>
DISTRIB_RELEASE=10.04
'''²''' ''<font size="1">When it's released.</font>''
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.04"


* Kubuntu: go to  '''KDE menu/System/Adept (Package Manager)'''  <br>''Ubuntu: '''System'''/'''Administration'''/'''Synaptic (Package Manager)'''''
Based on this information, using the primary site, the repositories you would add are:
* Kubuntu: in Adept go to '''Adept/Manage Repositories''' <br>''Ubuntu:  in Synaptic go to '''Settings/Repositories/New'''''
  deb http://debian.scribus.net/debian maverick main
* Kubuntu: 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:''
  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.


  # debian.scribus.net - Primary repository
* Go to '''KDE menu/System/Adept (Package Manager)''' <br>''Ubuntu: '''System'''/'''Administration'''/'''Synaptic (Package Manager)'''''
deb http://debian.scribus.net/debian dapper main restricted
* In Adept go to '''Adept/Manage Repositories''' <br>''Ubuntu: in Synaptic go to '''Settings/Repositories/New'''''
  deb-src http://debian.scribus.net/debian dapper main restricted
* 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:''
 
  # debian.tagancha.org - Backup repository
deb http://debian.tagancha.org/debian dapper main restricted
deb-src http://debian.tagancha.org/debian dapper main restricted


[[Image:Adding scribus repositories.png]]
[[Image:Adding scribus repositories.png]]


== Using cryptographic repository signatures ==
== 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.
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.


'''New keys'''<br>
==== On recent systems ====
<small>''"If you are using our upstream repositories of Debian/Ubuntu Scribus packages you will notice during your next package upgrade that apt/aptitude complains about not having the right key. The reason for it is that as of today the key used for signing our repositories has been changed."''</small> [http://nashi.altmuehlnet.de/pipermail/scribus/2007-March/022583.html by Alex (Malex)].  
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 -


root$ gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
As a regular user:
root$ gpg --armor --export EEF818CF | apt-key add -


or as a normal user (with an appropriate entry for apt-key in the sudoers file):
  $ gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
 
  $ gpg --armor --export EEF818CF | sudo apt-key add -
  user$ (sudo) gpg --keyserver subkeys.pgp.net --recv-keys EEF818CF
  user$ (sudo) gpg --armor --export EEF818CF | sudo apt-key add -


==Installing Scribus and related packages==
==Installing Scribus and related packages==
Launch '''Adept''' (on Kubuntu) or '''Synaptic''' (on Ubuntu) and install the following packages:  
Launch '''Adept''' (on Kubuntu) or '''Synaptic''' (on Ubuntu) and install the following packages:  


* '''scribus''' &ndash; Scribus 1.2.x '''or'''
* '''scribus''' &ndash; Scribus 1.3.3.x (stable branch) '''or'''
* '''scribus-ng''' &ndash; Scribus 1.3.x. scribus-ng package can be installed paralelly to the  scribus package
* '''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.
* '''scribus-template''' &ndash; developer and user-contributed additional templates
* '''scribus-template''' &ndash; developer and user-contributed additional templates
* '''scribus-doc''' &ndash; Scribus 1.2.x documentation, which has to be provided as a separate package due to its non-free nature by the Debian Free Software Guidelines
* '''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
* '''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
* '''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
* '''icc-profiles''' &ndash; a collection of common ICC profiles to use with Scribus and other color profile-aware software
* '''icc-profiles''' &ndash; a collection of common ICC profiles to use with Scribus and other color profile-aware software
Line 94: Line 93:
* '''ttf-xfree86-nonfree'''
* '''ttf-xfree86-nonfree'''


==Finetuning Scribus==
==Fine tuning Scribus==


===Default GUI font (Ubuntu users only)===
===Default GUI font (Ubuntu users only)===
Line 101: Line 100:


[[Image:Qtconfig.png]]
[[Image:Qtconfig.png]]


===External tools and additional fonts===
===External tools and additional fonts===
* Launch Scribus and go to '''File/Preferences/External Tools'''
* Launch Scribus and go to '''File/Preferences/External Tools'''
* PostScript Interperter: enter '''gs-apfl'''
* PostScript Interperter: enter '''gs-afpl'''
* Image Processing Tool: '''gimp-remote'''
* Image Processing Tool: '''gimp-remote'''
* Go to '''Fonts''' subsection and add/disable/enable additional fonts
* Go to '''Fonts''' subsection and add/disable/enable additional fonts
Line 111: Line 109:
[[Image:External tools.png]]
[[Image:External tools.png]]


==Other installation howtos==
{{CC_BY_SA_and_GNU_FDL|2005-2007|Scribus Wiki authors mentioned in the page history}}
* [http://www.scribus.net/index.php?name=Sections&req=viewarticle&artid=4&page=1 Scribus on Debian GNU/Linux]
* [http://www.scribus.net/index.php?name=Sections&req=viewarticle&artid=3&page=1 Scribus on Mac OSX]
* [http://www.scribus.net/index.php?name=Sections&req=viewarticle&artid=2&page=1 Scribus on Windows]

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.