Getting Scribus on Ubuntu/Kubuntu up and running

From Scribus Wiki
Revision as of 20:00, 1 July 2005 by Malex (talk | contribs)
Jump to navigation Jump to search

Installation

Add the following lines to your /etc/apt/sources.list

deb         http://debian.scribus.net/debian/ unstable/
deb-src     http://debian.scribus.net/debian/ unstable/

deb         http://debian.tagancha.org/scribus unstable/
deb-src     http://debian.tagancha.org/scribus unstable/

Sarge-specific issues

The latest gcc packages in sarge are at 3.4.3 version and the current 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:

The cool way (TM) - as root or set up sudo for yourself as a user:

apt-get install apt-build

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

apt-build update

apt-build install scribus (or scribus-cvs)

A bit slower way - as root:

apt-get install devscripts build-essential fakeroot

Note: This creates a minimal build environment.

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

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.

debuild -us -uc
cd ..
dpkg -i scribus_.... or scribus-cvs_....

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.

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.