Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to install cherrytree?

27 views
Skip to first unread message

kaye n

unread,
Jul 13, 2020, 4:50:04 PM7/13/20
to
Hello Friends!
Having trouble installing cherrytree app.

kaye@laptop:~$ sudo apt-get update
[sudo] password for kaye:
Hit:1 http://security.debian.org/debian-security buster/updates InRelease      
Hit:2 http://deb.debian.org/debian buster InRelease                            
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]          
Hit:4 https://download.virtualbox.org/virtualbox/debian buster InRelease  
Fetched 51.9 kB in 6s (8,526 B/s)                                              
Reading package lists... Done
kaye@laptop:~$ sudo apt-get install cherrytree
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package cherrytree

thank you for your time!
by the way thank you for the calculator suggestions in my previous thread.

Marco Möller

unread,
Jul 13, 2020, 5:40:03 PM7/13/20
to
On 13.07.20 22:42, kaye n wrote:
> Hello Friends!
> Having trouble installing cherrytree app.
>
> /kaye@laptop:~$ sudo apt-get update/
> [sudo] password for kaye:
> Hit:1 http://security.debian.org/debian-security buster/updates InRelease
> Hit:2 http://deb.debian.org/debian buster InRelease
> Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
> Hit:4 https://download.virtualbox.org/virtualbox/debian buster InRelease
> Fetched 51.9 kB in 6s (8,526 B/s)
> Reading package lists... Done
> /kaye@laptop:~$ sudo apt-get install cherrytree/
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package cherrytree
>
> thank you for your time!
> by the way thank you for the calculator suggestions in my previous thread.
>

In the past, on Debian/buster, I did this, not having encountered
problems, but of course I cannot give you any warranty for your
installation (! Note that my notes and experience is not for the most
up-to-date version of cherrytree !):

1.) download the latest version of the required dependency which is no
more in current stable or newer Debian repositories:
https://packages.debian.org/stretch/amd64/python-gtksourceview2/download

2.) download the cherrytree *.deb package:
https://www.giuspen.com/cherrytree/#downl

3.) install both packages with the following commands:
apt --no-install-recommends --no-install-suggests install
./python-gtksourceview2_2.10.1-3_amd64.deb
apt install ./cherrytree_0.38.10-0_all.deb


Later on I moved to this solution, which I am currently running on
Debian/testing: if you consider the usage of flatpak to be an option
for you then could try it. Actually I recommend this over the first,
above mentioned older solution.Keep in mind that using flatpak there
will be install a "containerized, very well defined mini-linux
environment" for you, which is then taken advantage of by the apps which
you install (by a flatpak command) to run "inside" this flatpak base
environment. The base flatpak installation and a first graphical app
depending on Gtk, like cherrytree, will occupy some 2 GB of storage space.

1.) install flatpak
apt install flatpak

2.) install cherrytree as an flatpak app; this will automatically
install also all the by cherrytree needed flatpak base environment
components
flatpak install flathub com.giuspen.cherrytree

3.) run and enjoy cherrytree
flatpak run com.giuspen.cherrytree

I am using cherrytree like this for a year now without having run into
any trouble.


If your host desktop environment is Plasma (KDE) and not Gtk (GNOME)
based, then you may want to consider to also add Debian package
xdg-desktop-portal-kde to your KDE Plasma installation from the usual
Debian repository with the usual apt command, so that GTK apps can use
KDE dialogs, and also flatpak apps can access native KDE dialogs. etc.
I finally have kept a note stating the following concerning the
xdg-desktop-portal-kde addition, although I cannot explain anywmore why
I made this and kept the note on it:
export GTK_USE_PORTAL=1 add this to the end of your ~/.profile
assuming your system doesn't use either ~/.bash_profile or ~/.bash_login.

Good Luck! Marco.

kaye n

unread,
Jul 13, 2020, 7:50:04 PM7/13/20
to
thanks friends!
-------------------------------------
kaye@laptop:~$  flatpak install flathub com.giuspen.cherrytree
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/kaye/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
Looking for matches…
error: No remote refs found similar to ‘flathub’
----------------------------------------

if it matters, my system:
Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)

l0f...@tuta.io

unread,
Jul 14, 2020, 4:00:04 AM7/14/20
to
Hi,

14 juil. 2020 à 01:48 de gui...@gmail.com:

> kaye@laptop:~$  flatpak install flathub com.giuspen.cherrytree
> Note that the directories
> '/var/lib/flatpak/exports/share'
> '/home/kaye/.local/share/flatpak/exports/share'
> are not in the search path set by the XDG_DATA_DIRS environment variable, so
> applications installed by Flatpak may not appear on your desktop until the
> session is restarted.
> Looking for matches…
> error: No remote refs found similar to ‘flathub’
>
Try this before your command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

If it doesn't work, restart the system (https://flatpak.org/setup/Debian/).

Best regards,
l0f4r0

Richard Hector

unread,
Jul 15, 2020, 2:30:04 AM7/15/20
to
On 14/07/20 8:50 am, Darac Marjal wrote:
>> ------------------- Reason -------------------
>> RoQA; python2-only; depends on pygtk/gtksourceview, deprecated; upstream is rewriting it in C++, so there's no hope for a py3k port
>> ----------------------------------------------
>

Ew. In the html version, this bit showed up (or didn't) as white on
white :-)

Richard
0 new messages