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
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.
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 cherrytree/cherrytree