1

I installed Baloo search on Ubuntu 18.04. It gave me version 4:5.44.0-0ubuntu1.

Looking for a more recent version, I found the kubuntu ppa. That says it has Bakoo version 5.47.0-0ubuntu1~ubuntu18.04~ppa2.

I added the ppa and installed Baloo again:

$ sudo apt install baloo

add kubuntu repository
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update

But apt said I already have the 'newest version': 4:5.44.0-0ubuntu1 .

I am assuming it is simply okay to install Kubuntu (kde) packages on Ubuntu, and that the ppa to use is kubuntu-ppa/backports.

What do I do to get the latest version? Are there any good reasons why I should not? And is there a better place to get it. (I notice Baloo seems not to be available as a Flatpak).

To clarify, I installed the following packages:

$ apt list --installed | grep baloo

baloo/bionic,bionic,now 4:5.44.0-0ubuntu1 all [installed]
baloo-kf5/bionic,now 5.44.0-0ubuntu1 amd64 [installed,upgradable to: 5.47.0-0ubuntu1~ubuntu18.04~ppa2]
libkf5baloo5/bionic,now 5.44.0-0ubuntu1 amd64 [installed,upgradable to: 5.47.0-0ubuntu1~ubuntu18.04~ppa2]
libkf5balooengine5/bionic,now 5.44.0-0ubuntu1 amd64 [installed,upgradable to: 5.47.0-0ubuntu1~ubuntu18.04~ppa2]
markling
  • 562
  • 8
  • 33
  • *I installed Baloo search on Ubuntu 18.04* What was the command you used? – DK Bose Apr 01 '20 at 13:32
  • sudo apt install baloo – markling Apr 01 '20 at 13:33
  • 1
    And what does `apt list --installed 2>/dev/null | grep -i baloo` show? Please [edit] your question to provide the information. – DK Bose Apr 01 '20 at 13:36
  • Even PPAs [do not have](https://launchpad.net/ubuntu/+ppas?name_filter=Baloo) newer versions of Baloo for 18.04 LTS. On newer distro versions the package is named [baloo-kf5](https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=Baloo). @DKBose, how do you think - is it possible to compile it from source with its dependence on kf5? – N0rbert Apr 01 '20 at 13:37
  • Hi @N0rbert I don't understand what OP's trying to do by installing baloo-related software on Ubuntu. It's normally intended for a KDE Plasma desktop environment. The ppa mentioned by OP does provide a newer version of `baloo-kf5`. On Kubuntu 18.04, I have `baloo-kf5`, `libkf5baloo5`, `libkf5balooengine5`, `libkf5baloowidgets-bin`, `libkf5baloowidgets-data`, and `libkf5baloowidgets5`. – DK Bose Apr 01 '20 at 13:44
  • @N0rbert see this link: https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/backports?field.series_filter=bionic. That's the ppa OP has in mind. – DK Bose Apr 01 '20 at 13:45
  • DK, i, er, do believe the reason why is obvious: trying to find a decent desktop search tool without installing an entirely different desktop environment. – markling Apr 01 '20 at 14:11

2 Answers2

1

After adding the mentioned PPA you have to try to install the Baloo KF5 package with:

sudo apt-get install baloo-kf5

To get all new dependencies you have to also run:

sudo apt-get dist-upgrade

after adding the PPA.

But be careful, enabling KDE backports PPAs is a bit dangerous on downgrade by
ppa-purge ppa:kubuntu-ppa/backports.

N0rbert
  • 97,162
  • 34
  • 239
  • 423
  • On Kubuntu, there are more packages with "baloo" in them. I wonder what will be achieved by just installing `baloo-kf5`. – DK Bose Apr 01 '20 at 13:54
  • Added `dist-upgrade` for that. – N0rbert Apr 01 '20 at 13:54
  • Do you get the other packages I mentioned in my comment to the question? – DK Bose Apr 01 '20 at 13:56
  • Well, OP's has added more detail! And the dist-upgrade should complete the picture. But I still wonder about the point of the exercise! – DK Bose Apr 01 '20 at 13:58
  • Currently I do not have 18.04 LTS VM with KDE, so hope this will run well. – N0rbert Apr 01 '20 at 14:00
  • 1
    Maybe OP will provide first hand usage experience. I'm not saying that baloosearch will not work on Ubuntu. I've answered a couple of questions on how to stop it from working because users felt it ate too much CPU/RAM: [here](https://askubuntu.com/a/1154650/248158) and [here](https://askubuntu.com/a/1068792/248158). – DK Bose Apr 01 '20 at 14:07
  • Thanks, N0rbert, for pointing out the obvious: issuing a baloo-kf5 install instruction directly did indeed install baloo-kf5 v5.47 and baloo lib v5.44. I do not, however, think it wise to do a dist upgrade. Your answer hints at that part of my question that asks if there are any good reasons why one should not install kde packages from that backports repository. Would you care to elaborate? – markling Apr 01 '20 at 14:18
  • I remembered the problems with removing backports PPA to revert to original versions from official repositories. I do not know other problems than this. – N0rbert Apr 01 '20 at 14:38
0

Just don't do it, unless you can afford to risk busting your system, and have time and inclination to try recovering it.

That is, don't add the kubuntu backports ppa. Make do with kde packages you can get from the official packages or compile yourself.

If you do add the kubuntu backports ppa, you will be able to install the most recent version of baloo by using sudo apt-get install baloo-kf5 (as opposed to the way you might install it from the official repositories, with sudo apt-get install baloo). But, like I say, you may find this busts your system. Don't ask why. I didn't stop to ask why as the fire was blazing. I was too busy fighting flames.

The official ubuntu repositories have an older version of baloo. But that is fine. I only went in search for a more recent version baloo after attempting to use it with Dolphin file browser. Baloo is supposed to integrate with Dolphin. But there were problems with Dolphin + Baloo and Dolphin + Ubuntu/xfce. So I tried to find a the simplest way of installing latest versions, without tinkering.

The attraction was trying to find a quick and powerful desktop search gui. Baloo seems fine on its own, but it requires careful configuration, which explains the countless forum complaints about it hogging resources. But it's useless to a user without a decent gui. In short, it is not a quick and convenient way to get a powerful desktop search gui.

kfind - another kde app available through the official ubuntu repositories - is the most quick and convenient way of getting a decent desktop search gui. Like Kate, it's one of those kde apps essential for any ubuntu install. It's a decent, rudimentary search, well endowed with options.

Otherwise Recoll is the most powerful and convenient desktop search, imho. It has a powerful gui interface. If you want to do anything more with it than index your entire drive, you will find that under the bonnet, its config is not very dissimilar to baloo. I really have no need for baloo.

markling
  • 562
  • 8
  • 33