Score:0

How to install Scribus 1.4 alongside 1.5 on Kubuntu 22.04?

cn flag

I few months ago I upgraded my system from Kubuntu 18.04 (Bionic) to Kubuntu 22.04 (Jammy). My old ~ is still accessible.

In Bionic I was using Scribus 1.4.6 for one of my personal projects. Jammy imposed 1.5.8, an upgrade I was dreading. But I didn't expect 1.5 to subtly mangle my document in ways that range from inconsequential to inexplicable. Apparently this involves several Scribus bugs.

A friend pointed me to a PPA (ppa:ubuntuhandbook1/ppa) that allowed me to install Scribus 1.4 dependencies, including qt4. I grabbed the Scribus Version14x branch, installed all the deps, and ran cmake.

It compiled successfully after fixing one pointer comparison that the compiler didn't like.

I would like to install the Scribus 1.4.8 I compiled alongside Scribus 1.5.8 from the Jammy package, the 1.4.8 binary at /usr/local/bin/scribus, reading separate configs from what 1.5.8 uses. Scribus 1.5.8 configs are at ~/.config/scribus in Jammy, but in Bionic Scribus 1.4.6 kept configs at ~/.scribus. It doesn't matter to me where the configs are, only that each version maintains its own and doesn't overwrite the other.

How do I configure make install to do this?

Score:0
es flag

If it's really important for you, you could install it in a VM together with a distro version that still supports the Scribus version that you need; for example with VirtualBox. You could use shared folders to access your data directory from the VM.

A snap or flatpak package might also be an alternative if you can find the right version.

Score:0
us flag

The simple answer is: forget it.

The more complex answer is not much longer:

  • You need to first install Qt4, which is not packaged anymore for Ubuntu.
  • There might be other dependencies that might not be packaged anymore in a version supported for Scribus 1.4.
  • And then do a cmake with the paths to the local install.

Probably, this is out of reach for you (as far as I know, there is only one person in the world that is still compiling Scribus 1.4...).

So, if you really need Scribus 1.4 on Linux, you probably need to install an old version of Ubuntu (one that still packages Scribus 1.4) in a virtual machine and use Scribus 1.4 in there.

But the better way, is to migrate to Scribus 1.5.x (or as soon as it is out Scribus 1.6) which is packaged for the current versions of Ubuntu.

Marty Vance avatar
cn flag
Scribus 1.5 doesn't handle my document correctly, which I have known since March. I have already installed all the deps for 1.4 and compiled it... I just need to install it. Scribus uses so much RAM that using it in a VM is not a viable option. Installing 1.4 is the path of least resistance.
a.l.e avatar
us flag
Depending on what the issues are, you might want to submit your document to the issue tracker (https.//bugs.scribus.net ; please attach the .sla, a pdf created with 1.4 and a pdf created with 1.5) and the devs will be able to check if there are bugs that can be fixed. Just be aware that going from 1.4 to 1.5 the layout of the text (how long the text is...) will change and there is nothing that can be done to fix that... except fixing the layout : - )
a.l.e avatar
us flag
You can also get a cheap laptop, install an old version of Ubuntu on it... But you should not use that laptop on the internet or in "open" local networks (companies, publice wifi)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.