How to install MATE on Debian

MATE installation on Debian [wiki]

How to install MATE on Debian

Postby k3lt01 » Sat Jan 19, 2013 2:01 am

This tutorial is designed to help people, especially those with little or no prior knowledge or experience, install MATE desktop environment on Debian. It is by no means meant to be exhaustive and cannot come close to being exhaustive because Linux gives the user choice so my choice can possibly be very different to the choice of other users. Read the entire tutorial before doing anything, no warranty is implied or given. Parts of this post come from the wiki page.

1. What do you need?
To install MATE on Debian you need a way to install Debian onto your PC. I personally use Debian's DVD1. You can use CD1 but it doesn't have everything most people will need to have a fully functioning operating system. Follow the instructions that are available on Debian's website to install Debian. After you have Debian Gnome installed follow this process.

2a. sources.list .
In a terminal, as root, type in
Code: Select all
gedit /etc/apt/sources.list
This will open the sources.list file allowing you to edit it. Open Iceweasel and go to http://debgen.simplylinux.ch/ You must start with, at the very least, Wheezy. If you want to use Sid just select Sid. Make sure you choose the options you need for your installation. If you need non-free firmware or other packages make sure you select both contrib and non-free. Once your sources.list has been generated copy and paste it somewhere so you can use it to paste into your sources.list file. Don't even attempt this with Squeeze or Lenny it will not work, Once you have done that you will need to also add one of these two line to your sources.list

Code: Select all
# main repository
deb http://repo.mate-desktop.org/debian wheezy main
 # mirrors
deb http://packages.mate-desktop.org/repo/debian wheezy main
deb http://mirror1.mate-desktop.org/debian wheezy main


The sources.list for Jessie should be
Code: Select all
# main repository
deb http://repo.mate-desktop.org/debian jessie main
 # mirrors
deb http://packages.mate-desktop.org/repo/debian jessie main
deb http://mirror1.mate-desktop.org/debian jessie main


My sources.list looks like this
Code: Select all
#Official Australian Debian Repository#
#The http://http.debian.net entries locate mirrors closer than the "national" mirrors if packages are unavailable on "national" mirrors.#
deb http://ftp.au.debian.org/debian/ wheezy main contrib non-free
deb http://http.debian.net/debian/ wheezy main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-backports main
deb http://http.debian.net/debian/ wheezy-backports main
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.au.debian.org/debian/ wheezy-proposed-updates contrib non-free main
deb http://http.debian.net/debian/ wheezy-proposed-updates contrib non-free main
deb http://ftp.au.debian.org/debian/ experimental main
deb http:/http.debian.net/debian/ experimental main

#Third Party Repos#
#Debian Mozilla team
deb http://mozilla.debian.net/ experimental iceweasel-beta
# deb http://mozilla.debian.net/ experimental iceweasel-aurora
#MATE Desktop
deb http://repo.mate-desktop.org/debian wheezy main


2b. /etc/apt/preferences.d/mate Taken straight from the wiki.
In the next release of Debian, Jessie, MATE should be included. The process is currently on the way and MATE has been partially imported. However this causes issues for people trying to install MATE with these repositories. Until it has been imported completely we will need to give the MATE repository a higher priority. We do this by creating the following file /etc/apt/preferences.d/mate.
Code: Select all
Package: *
Pin: release a=testing
Pin-Priority: 10
 
Package: *
Pin: origin repo.mate-desktop.org
Pin-Priority: 900


3. Install MATE
Now that you have done that, in the terminal type (or simply cut and paste) these commands in order
Code: Select all
apt-get update
apt-get install mate-archive-keyring
apt-get update


Now you have 3 choices. This next command installs the base packages only
Code: Select all
apt-get install mate-core

Or this command installs mate-core and a few more extras
Code: Select all
apt-get install mate-desktop-environment

Or this to install both packages above and even more extras.
Code: Select all
apt-get install mate-desktop-environment-extra


4. Clean Up Gnome packages (optional)
If you have chosen mate-desktop-environment and do not want Gnome left on your installation, which is often a good idea because you will be duplicating many things if you run both Gnome and MATE type this command into your terminal and it will remove the Gnome duplicates that you no longer require. If you do want Gnome to remain do not do this last step.
Code: Select all
apt-get purge alacarte baobab caribou caribou-antler cheese cheese-common empathy empathy-common eog eog-dbg eog-dev eog-plugins evince evince-common evince-dbg evolution evolution-common evolution-data-server evolution-data-server-common evolution-webcal file-roller gcalctool gconf-editor gdm3 gedit gedit-common gedit-plugins gkbd-capplet gnome gnome-accessibility-themes gnome-applets gnome-applets-data gnome-backgrounds gnome-bluetooth gnome-color-manager gnome-common gnome-contacts gnome-control-center gnome-control-center-data gnome-core gnome-desktop3-data gnome-dictionary gnome-disk-utility gnome-documents gnome-font-viewer gnome-icon-theme gnome-icon-theme-extras gnome-icon-theme-symbolic gnome-js-common gnome-mag gnome-media gnome-menus gnome-mime-data gnome-nettool gnome-online-accounts gnome-orca gnome-packagekit gnome-packagekit-data gnome-panel gnome-panel-data gnome-power-manager gnome-screensaver gnome-session gnome-session-bin gnome-session-common gnome-session-fallback gnome-settings-daemon gnome-shell gnome-shell-common gnome-shell-extensions gnome-menus gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gnome-themes-standard gnome-themes-standard-data gnome-tweak-tool gnome-user-guide gnome-user-share gnome-video-effects gucharmap hamster-applet libreoffice-evolution libreoffice-gnome libreoffice-gtk mousetweaks metacity metacity-common metacity-themes nautilus nautilus-data nautilus-open-terminal nautilus-sendto-empathy notification-daemon python-gnome2 python-gnomedesktop python-nautilus rhythmbox rhythmbox-data rygel sound-juicer task-gnome-desktop tomboy totem totem-common vinagre vino yelp yelp-xsl zenity zenity-common


5. Install Login Manager
If you have cleaned up the Gnome packages you will have removed GDM3 and will now need a new Login Manager. I recommend LightDM so in the terminal you have been using type
Code: Select all
apt-get install lightdm
and let it install.

If you find any errors or have any tips please send me a PM and I will edit this post accordingly. I hope you enjoy your MATE installation.
Cobber Linux, Australia's own.
My tutorials.
How to install MATE on Debian
How to ask for help and get it the smart way.
How to Report Bugs in MATE
k3lt01
 
Posts: 693
Joined: Tue Sep 25, 2012 10:55 pm
Location: Australia

Return to Debian

Who is online

Users browsing this forum: No registered users and 1 guest