Αναζήτηση αυτού του ιστολογίου

Installing Mate on Debian 8.5 from source

Debian 8,5 stable , supports Mate Desktop Environment 1.8
Debian 8.5 testing/unstable install Mate Environment 1.14

Mate 1.14 , cause Caja File Manager to crash with segmentation faults.
This behavior according to Mate Git was expected; Fortunatelly Debian moved quickly to version 1.16 whis is OK.

In case you still have Mate 1.14 and Caja keeps crashing , you will find how to upgrade/comple the latest Caja / Mate version bellow.



According to github, the solution is to install a version of Caja bigger than 1.14
Today 23-09-2016 version 1.16 is available.

To find the latest available version is preferable to have a look in http://mate-desktop.org/development/ instead of github.

In Releases section of /development web page, you can get all the available releases in a nice tar.gz format (http://pub.mate-desktop.org/releases/)

I just wanted to install / upgrade Caja , so i downloaded Caja 1.15.1.tar.gz
PS: I didn't uninstall previous version of Caja, since apt-get purge caja requires almost the whole mate-desktop-environment to be removed also.

File was stored in Downloads folder of /home/gv .
I extracted the contents of the tar.gz and a new directory (caja-1.15.1) was created (inside /home/gv/Downloads).
Going into this folder, i started the caja compiling by running ./autogen.sh script.

I got various dependency errors, and then this page appeared in my google:
http://wiki.mate-desktop.org/building

I followed the instructions for Debian Wheezy and i installed all the file suggested by wiki:

sudo apt-get install libxml2-dev libxslt1-dev libglib2.0-dev libidl-dev \
    libdbus-1-dev libdbus-glib-1-dev libpolkit-backend-1-dev flex libpopt-dev \
    bison libbz2-dev libgcrypt11-dev libcanberra-dev libgail-dev libgtk2.0-dev \
    libart-2.0-dev libglade2-dev libtasn1-3-bin libxklavier-dev libsoup2.4-dev \
    icon-naming-utils libunique-dev libcanberra-gtk-dev libwnck-dev \
    librsvg2-dev libpolkit-agent-1-dev gobject-introspection \
    libgirepository1.0-dev libupower-glib-dev intltool xsltproc \
    libtasn1-3-dev libtool gtk-doc-tools libgamin-dev \
    librarian-dev libdconf-dev libsecret-1-dev libgnome-keyring-dev \
    yelp-tools libnotify-dev

I got an error about package libtasn1-3-dev.
As apt-get suggested this package has not a release candidate, but there is a kind of replacement package called libtasn1-doc. I installed this package insted of 1-3-dev and the process completed (succesfully i suppose).

Then following the wiki/building advise i tried to continue installation of Caja by running again ./autogen.sh .

Caja 1.15.1 depends on mate-desktop 1.15.1 so installation stopped with dependency error.
I downloaded and installed mate-desktop 1.15.1 by the same pub releases as above.
I extract the tar.gz and installation completed succesfully (installation order : ./autogen.sh && make && make install)

Back to Caja installation, installation finished correctly this time since mate-desktop-1.15.1 was installed.

Did a nice reboot and bingo! Big failure.
Desktop icons on mate were missing (this is a usuall problem if the Caja is not running correctly).

Root terminal : caja --version gives error .... Using GTK 2.0 and GTK 3.xx in the same process is not supported.

Maybe i have to remove completely mate from Debian and install mate only from the mate web site releases.

Removing MATE 14.0.1
It is not so easy . apt-get purge mate-desktop-environment-extras removes some things but a lot remain.
To see what remains install run dpkg -l mate*
to remove all packages manually , switch to a real terminal in a different tty (i.e ctrl + alt + F1) login as root and go apt purge mate*

when you try to install a different mate (i.e apt-get install -t stable mate-desktop-environment-extras) the error messages will drive you to what must be removed yet.

the following command should be enough to clear your system from the mate:
apt purge mate* marco* caja* pluma* libcaja* libmate*

Once sucessfully removed, you will be able to apt-get install -t stable mate-desktop* succesfully.