How do I install CherryTree, my favorite note taking app on Ubuntu 20.04? I tried to install from github, but none of the dependencies are available on Ubuntu 20.04


3 Answers 3


You can now install cherrytree without snap:


sudo add-apt-repository ppa:giuspen/ppa    # add the repo
sudo apt update                            # update package lists
sudo apt install cherrytree                # install

As mentionned on the download page of the developper, there are currently no .deb packages available for Ubuntu. The developper recommends to use the snap or flatpak packages.

By far the easiest way to install is by snap. You will find Cherrytree in the Snap store, or you can install it with the command

snap install cherrytree

If you want to access removable media, connect to the removable-media interface:

snap connect cherrytree:removable-media

It is also available as a flatpak. Both snap and flatpak are at the time of writing the latest stable version. Flatpak is by default not enabled on Ubuntu. You can enable it on your system with a few commands.

Manually installing on Ubuntu 20.04 is not recommended for typical users: it requires to install Python 2, which is now deprecated.

  • Snap didn't work for me: Package snapd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Commented Jul 10, 2020 at 19:32
  • CherryTree is in the Software Store as a flatpak, and it works fine.
    – heynnema
    Commented Jul 10, 2020 at 22:18
  • Then your computer is malconfigured. I tested and it installs and runs fine. @heynnema only if you enabled flatpak on your system and, in 20.04, installed the regular software center instead of the snap store, and installed the gnome software plugin for flatpak .
    – vanadium
    Commented Jul 11, 2020 at 11:16
  • @vanadium On my system, I have both Software store and Snap Store, and I can run snaps or flatpak apps. Not malconfigured. Configured to have more choices. The snap version of this app has some pretty bad reviews, while the flatpak reviews are pretty good. I'm running the flatpak version and it works fine :-)
    – heynnema
    Commented Jul 11, 2020 at 13:43
  • @heynnema, the first part of my comment was not directed to you obviously ;) Comment of OP suggests that snap is not properly configured on his system.
    – vanadium
    Commented Jul 11, 2020 at 14:25

First you need Python 2 pip which was strangely missing:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python2 get-pip.py

More dependencies. Python gtk2-dev is available from this user's repository: https://askubuntu.com/a/1235347/951756

sudo add-apt-repository ppa:nrbrtx/python2-stuff
sudo apt update
sudo apt install git libenchant1c2a
pip install pyenchant
sudo apt install python2 python-gtk2-dev p7zip-full python-dbus python-chardet

The easiest way to get python-gtksourceview is the older ubuntu debs: https://packages.ubuntu.com/eoan/python-gtksourceview2

After all that, Hopefully you should be able to run cherrytree directly from the source code:

git clone https://github.com/giuspen/cherrytree    
  • Python 2 is now EOL. Thanks for using my PPA. Also I have e-mailed to giuspen who packaged CherryTree for previous Ubuntu versions.
    – N0rbert
    Commented Jul 10, 2020 at 17:35
  • @N0rbert CherryTree is in the Software Store as a flatpak, and it works fine.
    – heynnema
    Commented Jul 10, 2020 at 22:19
  • @heynnema, oh, right I see - FlatPak and Snap.
    – N0rbert
    Commented Jul 11, 2020 at 8:27
  • @N0rbert What is "App Outlet"?
    – heynnema
    Commented Jul 11, 2020 at 13:32
  • @heynnema It is a fresh project. I have reviewed it here
    – N0rbert
    Commented Jul 11, 2020 at 15:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .