How to install cherry tree text editor in Ubuntu
To install cherry tree text editor in Ubuntu 16.04
CherryTree text editor is a rich text editor that supports image handling, password protection, spell Check etc., It stores data as a single XML or SQLITE file. It also provides a feature to copy/paste the hyperlinks from the other apps.
Features
- Supports embedded files handling: insertion in the text, save to disk
- Supports multi-level lists handling
- Supports simple tables handling
- Alignment options
- Supports Codeboxes conversion
- Hyperlinks associated to text and images
- Spell check
- Intra and cross application copy/paste
- Print & save as pdf file
- Export to plain text of a selection / node / node and subnodes / the whole tree
To install Cherrytree
Run the following command to add repo file.
root@linuxhelp:~# add-apt-repository ppa:giuspen/ppa More info: https://launchpad.net/~giuspen/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpkgotgpsg/secring.gpg' created gpg: keyring `/tmp/tmpkgotgpsg/pubring.gpg' created gpg: requesting key 5FE1EFE4 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpkgotgpsg/trustdb.gpg: trustdb created gpg: key 5FE1EFE4: public key " Launchpad PPA for giuspen" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
Utilise the following command to update the repository.
root@linuxhelp:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial InRelease
Get:4 http://ppa.launchpad.net/giuspen/ppa/ubuntu xenial InRelease [18.0 kB]
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:7 http://ppa.launchpad.net/gns3/ppa/ubuntu xenial InRelease
Get:8 http://ppa.launchpad.net/giuspen/ppa/ubuntu xenial/main amd64 Packages [700 B]
Get:9 http://ppa.launchpad.net/giuspen/ppa/ubuntu xenial/main i386 Packages [700 B]
Get:10 http://ppa.launchpad.net/giuspen/ppa/ubuntu xenial/main Translation-en [392 B]
Ign:11 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04 InRelease
Hit:12 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04 Release
Fetched 19.8 kB in 2s (6,985 B/s)
Reading package lists... Done
W: https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/Release.gpg: Signature by key 4497DA50FBD0158CCFD1996CEE611E131C42E360 uses weak digest algorithm (SHA1)
Now lets start the installation of cherry tree by using the following command.
root@linuxhelp:~# apt-get install cherrytree
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpango1.0-0 libpangox-1.0-0 linux-headers-4.4.0-21
linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic
linux-image-extra-4.4.0-21-generic
Use ' sudo apt autoremove' to remove them.
The following additional packages will be installed:
libappindicator1 libgtksourceview2.0-0 libgtksourceview2.0-common
libindicator7 p7zip-full python-appindicator python-cairo python-chardet
python-dbus python-enchant python-gi python-gobject python-gobject-2
python-gtk2 python-gtksourceview2 python-pkg-resources
Suggested packages:
.
.
.
.
Remove stale byte-compiled files...
Setting up python-enchant (1.6.6-2) ...
Setting up python-pkg-resources (20.7.0-1) ...
Setting up python-chardet (2.3.0-2) ...
Setting up python-cairo (1.8.8-2) ...
Setting up python-gtk2 (2.24.0-4ubuntu1) ...
Setting up libgtksourceview2.0-common (2.10.5-2ubuntu2) ...
Setting up libgtksourceview2.0-0 (2.10.5-2ubuntu2) ...
Setting up python-gtksourceview2 (2.10.1-2build1) ...
Setting up cherrytree (0.37.3-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
To launch Cherrytree
Now open the cherryTree by running the following command.
root@linuxhelp:~# cherrytree
To add a node
To add a node, right click on the add node icon.
Then set node name and hit “ ok” .
Start editing your files.
Finally save the file by triggering “ save” interface from File tab.
Select the Type of Storage you prefer and click OK to proceed further.
Or select Not protected type and click ok.
Next select the destination location, set filename and click save.
To create a Sub node
To create a sub node, right click on your first node and select Add SubNode.
Enter a name for the sub node and the type then click ok.