Tuesday, October 6, 2015

Upgrade to GNOME 3.16 in Ubuntu 15.04

Wondering how to upgrade to GNOME 3.16 in Ubuntu 15.04?  Well, we’re here to show you how (should you want to).
Stable though the latest release of GNOME is, upgrading to it in the latest Ubuntu is not without drawbacks.
Before we get started let’s recap why.

Why GNOME 3.16 Isn’t Included in Ubuntu 15.04

The stable release of GNOME 3.16 arrived in March.
It comes with a bunch of neat app updates, a new look ‘shell’ and a slick new notification center. All great stuff, but all arriving too late in the Ubuntu development cycle to be included by default in Ubuntu 15.04.
Since GNOME is an intrinsic part of the regular Unity desktop used by millions around the around the decision was made to stick with the older, but thoroughly tested, GNOME 3.14 release.
You can, should want to you, upgrade GNOME 3.14 to 3.16 in Ubuntu — but it’s not recommended.
Upgrading GNOME involves more than a few apps and icon themes. You are swapping out older, well tested components of your operating system for newer, largely untested replacements.
If you’re entomophobic (a fancy word for being scared of bugs) or hate software headaches (no fancy word for that) this tutorial is not for you.
To repeat: you can upgrade to GNOME 3.16 in Ubuntu 15.04 but it is not recommended and may not give stable, reliable experience at the end.
Understood?

How to Upgrade to GNOME 3.16 in Ubuntu 15.04

gnome-viewer
To follow this guide correctly you need to be already running GNOME 3.14 on your desktop, ideally the latest release of Ubuntu GNOME 15.04 (which ships it by default).
You can upgrade from regular versions of Ubuntu 15.04 too, but, and I cannot lie as it is a big but, following this guide could break the Unity desktop entirely.
Unity users should install the GNOME-Shell desktop before continuing.
Those running older versions of Ubuntu, like 14.10 or 14.04 LTS, cannot upgrade to GNOME 3.16 by following this guide.

1. Add the GNOME 3 Staging PPA

To upgrade we will add the GNOME 3 Staging PPA. This archive is experimental-ish and contains most of the various 3.16 packages needed to perform an upgrade, albeit in a somewhat untested state.
Do not add this PPA  if you are requiring a stable system, if you’re someone who hates the command line, or do not feel confident in fixing broken or conflicting packages.
The GNOME 3 Staging PPA comes with no guarantees, as the archive maintainers note with this caution:
“The packages [in this PPA] have been deemed not ready for general use, they have known bugs and/or regressions, sometimes of a critical nature. Mostly things should run smoothly but be prepared to use ppa-purge, when you encounter issues!”
The regular GNOME 3 PPA is more reliable, and packages within it are considered “stable”. This PPA may, at some point, host the exact GNOME 3.16 packages currently in staging (usually the plan, but sometimes they just remain in staging).
But before we add either PPA let’s do one last check for (and install any available) outstanding distribution updates:
sudo apt-get update && sudo apt-get dist-upgrade -y
With that done we can add the regular GNOME 3 PPA and the GNOME 3 Staging PPA to Ubuntu Software Sources.
The fastest way to do this is by entering the following commands in the Terminal:
sudo add-apt-repository ppa:gnome3-team/gnome3-staging

sudo add-apt-repository ppa:gnome3-team/gnome3

2. Upgrade GNOME

Having added the various PPAs we’ll need the next step is to upgrade GNOME 3 itself.
Take a deep breath and run the following command:
sudo apt-get update && sudo apt-get install gnome-shell gnome-session
Pay attention to any notices that appear in the terminal after running this command. Based on your level of understanding of what you see, decide whether you want to proceed
If you’re happy to give the upgrade the nod by hitting enter.
The install/upgrade process will begin.

Greeted By a Greeter Picker?

change display manager ubuntuIf you’re not running Ubuntu GNOME you will, at some point during the install/upgrade process, be asked to choose a “default display manager” from a list.
The “display manager” handles the login screen experience.
For a pure GNOME experience use the arrow keys on your keyboard to select the ‘GDM’ (GNOME Display Manager) entry from the list that shows, and hit enter.
For the stock Ubuntu login screen select ‘lightdm’ (Light Display Manager) and hit enter.
Don’t panic if you select the wrong login manager. You can change the default Ubuntu login manager at any time by using the following command:
sudo dpkg-reconfigure lightdm

When Done, Reboot

sessions
When GNOME 3.16 has finished installing and/or upgrading you will want to restart your computer.
This is needed to make sure the new packages installed  take effect, like the display manager, for example.
If you install or upgrade from a non-GNOME desktop session don’t forget to select the GNOME session from the login screen. 
That’s it. You should now be running a (mostly) GNOME 3.16 experience on Ubuntu.
But we can go a bit further, too.

Install Some GNOME Apps

Ubuntu GNOME ships with a bunch of GNOME apps by default, but not all. Ubuntu ships with almost none. T
The following command installs a few essentials, including Polari (IRC client), GNOME Maps (desktop mapping app) and Web (lightweight web-browser):
sudo apt-get install polari gnome-music gnome-photos gnome-maps gnome-weather epiphany-browser
There are more than this available but these should give you a

How To Downgrade from GNOME 3.16 to 3.14

Remember what I said about this upgrade not being recommended? You do? Good.
If you encounter significant problems with your system after installing GNOME 3.16 you can use the PPA Purge tool to remove the Staging PPA and all of its packages:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:gnome3-team/gnome3-staging
Lastly, rid yourself of the standard GNOME 3 PPA:
sudo ppa-purge ppa:gnome3-team/gnome3
Reboot and you should be back to the “stock” version of the GNOME desktop in Ubuntu 15.04.

No comments:

Post a Comment