How to install Geary on MX Linux 17

To install Geary on MX Linux 17

Geary is the first major update to the popular Linux mail app. Avid fans of the client will find a number of enhancements on offer, including several improvements to the rich text composer, Yahoo! Mail and Outlook mail archiving support, and a better mail labeling experience. In this tutorial, we will cover the installation of Geary on MX Linux 17.

Installation

Let's first start with updating the system repositories as follows

root@linuxhelp:~# apt-get update
Hit:1 http://deb.debian.org/debian stretch-backports InRelease
Hit:2 http://security.debian.org stretch/updates InRelease                   
Hit:3 http://ftp.cn.debian.org/debian stretch-updates InRelease                   
Ign:4 http://ftp.cn.debian.org/debian stretch InRelease                           
Hit:5 http://ftp.cn.debian.org/debian stretch Release
Hit:6 http://ftp.yzu.edu.tw/Linux/mx-workspace/antix/stretch stretch InRelease            
Hit:8 http://ftp.yzu.edu.tw/Linux/mx-workspace/mx/repo stretch InRelease                 
Hit:9 http://www.deb-multimedia.org stretch InRelease                    
Hit:10 http://ftp.yzu.edu.tw/Linux/mx-workspace/mx/testrepo stretch InRelease
Reading package lists... Done

Install the Geary package by using following command

root@linuxhelp:~# apt-get install geary -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 libdirectfb-1.2-9 libgegl-0.3-0 libgoo-canvas-perl
  libgoocanvas-common libgoocanvas3 libgtk2-ex-simple-list-perl libgtk2-imageview-perl
  libgtkimageview0 liblastfm1 liblivemedia57 libmygpo-qt1 libopenmpt-modplug1 libpgm-5.2-0
  libqjson0 libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script
  libqt4-scripttools libqt4-svg libqt4-test libqt4-xmlpatterns libqtassistantclient4 libqxt-core0
  libqxt-gui0 libsane-perl libsdl-image1.2 libsodium18 libssh-gcrypt-4 libvlccore8 libx264-148
  libzmq5 python-qt4
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
.
.
Selecting previously unselected package geary.
Preparing to unpack .../geary_0.11.3-1_amd64.deb ...
Unpacking geary (0.11.3-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.1-2~mx17+1) ...
Setting up libjavascriptcoregtk-3.0-0:amd64 (2.4.11-3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libgmime-2.6-0:amd64 (2.6.22+dfsg2-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up libwebkitgtk-3.0-0:amd64 (2.4.11-3) ...
Setting up geary (0.11.3-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...

Once Installation is done you can access the Geary from the Menu as shown here Geary application

With this, the method to install Geary on MX Linux 17 comes to an end.

FAQ
Q
Why can’t I examine the Geary MessageSearchTable with an SQLite explorer tool (or the sqlite3 command-line app)?
Geary uses SQLite’s full-text search (FTS) feature as well
A
Geary uses SQLite’s full-text search (FTS) feature as well as a Unicode tokenizer and stemmer to improve search performance and results. In order to examine the FTS virtual table, the stemmer/tokenizer must be loaded. Geary is linked with this tokenizer. In order to use the tokenizer/stemmer with another tool or the sqlite3 console program, you must install the tokenizer and load it into memory.
To install:
• Obtain the latest Geary source
• Run the following from Geary source code directory:
$ cd src/sqlite3-unicodesn
$ make
$ sudo make install
To use:
• With the SQLite command-line application:
$ sqlite3 -cmd '.load unicodesn.sqlext' geary.db
• Check other application’s documentation for instructions on loading SQLite extensions at runtime.
Q
How do I backup Geary mail?
A
Geary’s configuration is stored in ~/.config/geary (that is, /home//.config/geary), backing up that or (even better) your entire ~/.config directory will make a copy of Geary’s account information that can be restored later by moving it back into place.
The mail Geary pulls from your server(s) is stored in ~/.local/share/geary. Since mail is retrieved from your mail server it is safe to not back up this directory, however if it is deleted then your mail will need to be re-downloaded again.
Q
How do I turn on logging with Geary?
A
To enable logging, run Geary with the --debug (or -d) command line parameter:
geary --debug
This enables some basic debug output that can be used to track down what Geary is doing.
While debugging mode is active, there are several logging options to log network activity, etc. These options can be listed by running:
geary --help
Note that the logs may contain personal information like email address and the contents of your messages. Some logging options (such as --log-serializer) dump all information indiscriminantly, including usernames and passwords, so beware when using.
Q
Geary crashes when I run it. What I can do to help the developers?
A
If you can reproduce a crash, please check you are running the most recent version of Geary. If so, then get a stack trace and report the bug.
Q
How to resolve the problem for Not running GNOME 3?
A
Geary is designed for the GNOME 3 desktop, and as such depends on a number of standard desktop services provided by GNOME by default. While it is possible to run Geary under other desktop environments such as KDE, XFCE, Mate, and so on, you may need to ensure that the services Geary depends on are installed and correctly configured for your desktop yourself.
With these services installed, Geary will use your desktop's standard settings to determine your user interface language, writing direction, notifications, date and time format, GTK+ theme, icon theme, proxy settings, and so on. Consult your desktop environment's user manual for help in setting these, and Geary will pick up any changes you make automatically.