mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-06 23:50:16 +08:00
79 lines
3.8 KiB
Markdown
79 lines
3.8 KiB
Markdown
Translating by GOLinux!
|
||
How To Install Unity 8 Desktop Preview In Ubuntu
|
||
================================================================================
|
||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/06/Unity_8.jpeg)
|
||
|
||
If you have been following the news, Ubuntu will be switching to [Mir display server][1] along with [Unity 8][2] desktop. While it is still not certain if Unity 8 running on Mir will be available in [Ubuntu 15.10 Willy Werewolf][3], a preview version of Unity 8 is available for you to try and test. With the official PPA, it is really easy to **install Unity 8 in Ubuntu 14.04, 14.10 and 15.04**.
|
||
|
||
Until now, this Unity 8 desktop preview has been available via an [ISO][4] for (primarily) developers to test it. But Canonical has made it available through [LXC containers][5]. By using this method you get a Unity 8 desktop session running on Mir display server as any desktop environment. It’s like as if you [install Mate desktop in Ubuntu][6] and choose the desktop session from the LightDm login screen.
|
||
|
||
Curious to give Unity 8 a try? Let’s see how to install it.
|
||
|
||
**Note: It’s an experimental preview and may not work properly for everyone.**
|
||
|
||
### Install Unity 8 desktop in Ubuntu ###
|
||
|
||
Following are the steps to install and use Unity 8:
|
||
|
||
#### Step 1: Install Unity 8 in Ubuntu 12.04 and 14.04 ####
|
||
|
||
If you are running Ubuntu 12.04 and 14.04, you’ll have to use the official PPA to install Unity 8. Use the following command:
|
||
|
||
sudo apt-add-repository ppa:unity8-desktop-session-team/unity8-preview-lxc
|
||
sudo apt-get update
|
||
sudo apt-get upgrade
|
||
sudo apt-get install unity8-lxc
|
||
|
||
#### Step 1: Install Unity 8 in Ubuntu 14.10 and 15.04 ####
|
||
|
||
If you are running Ubuntu 14.10 or 15.04, Unity 8 LXC is already in the sources. You just need to run the following commands:
|
||
|
||
sudo apt-get update
|
||
sudo apt-get install unity8-lxc
|
||
|
||
#### Step 2: Set up Unity 8 desktop preview LXC ####
|
||
|
||
Once you have installed Unity 8 LXC, it’s time to set it up. Use the following command for this purpose:
|
||
|
||
sudo unity8-lxc-setup
|
||
|
||
It will take some time in set up, so have some patience. It downloads the ISO and then extracts it, and then any last bits of setup necessary to make it work. It will also install a slightly modified version of LightDM. Once everything is done, a restart is required.
|
||
|
||
#### Step 3: Select Unity 8 ####
|
||
|
||
After restarting, at login screen, click on the Ubuntu icon beside your login name:
|
||
|
||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Change_Desktop_Environment_Ubuntu.jpeg)
|
||
|
||
You should see the option of Unity 8 here. Select it:
|
||
|
||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/06/Select_Unity8.jpeg)
|
||
|
||
### Uninstall Unity 8 LXC ###
|
||
|
||
If you find Unity 8 too buggy or if you don’t like it, you can simply switch back to the default Unity version in similar fashion. Additionally, you can also remove Unity 8 using this command:
|
||
|
||
sudo apt-get remove unity8-lxc
|
||
|
||
This will remove the Unity 8 option from LightDM screen but the set-up will remain there.
|
||
|
||
That’s all you need to do to install Unity 8 with Mir in Ubuntu. Do share what you think of Unity 8 when you try it out.
|
||
|
||
--------------------------------------------------------------------------------
|
||
|
||
via: http://itsfoss.com/install-unity-8-desktop-ubuntu/
|
||
|
||
作者:[Abhishek][a]
|
||
译者:[译者ID](https://github.com/译者ID)
|
||
校对:[校对者ID](https://github.com/校对者ID)
|
||
|
||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||
|
||
[a]:http://itsfoss.com/author/abhishek/
|
||
[1]:http://en.wikipedia.org/wiki/Mir_%28software%29
|
||
[2]:https://wiki.ubuntu.com/Unity8Desktop
|
||
[3]:http://itsfoss.com/ubuntu-15-10-codename/
|
||
[4]:https://wiki.ubuntu.com/Unity8DesktopIso
|
||
[5]:https://wiki.ubuntu.com/Unity8inLXC
|
||
[6]:http://itsfoss.com/install-mate-desktop-ubuntu-14-04/
|