如何在 Ubuntu 上安装 Cinnamon 桌面环境
Cinnamon 桌面

> 
> 这篇教程将会为你展示如何在 Ubuntu 上安装 Cinnamon 桌面环境。
> 
> 
> 


[Cinnamon](http://cinnamon.linuxmint.com/) 是 [Linux Mint](http://www.linuxmint.com/) 的默认桌面环境。不同于 Ubuntu 的 Unity 桌面环境，Cinnamon 是一个更加传统而优雅的桌面环境，其带有底部面板和应用菜单。由于 Cinnamon 桌面以及它类 Windows 的用户界面，许多桌面用户[相较于 Ubuntu 更喜欢 Linux Mint](https://itsfoss.com/linux-mint-vs-ubuntu/)。


现在你无需[安装 Linux Mint](https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/) 就能够体验到 Cinnamon了。在这篇教程，我将会展示给你如何在 Ubuntu 18.04，16.04 和 14.04 上安装 Cinnamon。


在 Ubuntu 上安装 Cinnamon 之前，有一些事情需要你注意。有时候，安装的额外桌面环境可能会与你当前的桌面环境有冲突。可能导致会话、应用程序或功能等的崩溃。这就是为什么你需要在做这个决定时谨慎一点的原因。


### 如何在 Ubuntu 上安装 Cinnamon 桌面环境


![如何在 Ubuntu 上安装 Cinnamon 桌面环境](/data/attachment/album/201809/29/231926cy2uj7qqviup4cyj.png)


过去有 Cinnamon 团队为 Ubuntu 提供的一系列的官方 PPA，但现在都已经失效了。不过不用担心，还有一个非官方的 PPA，而且它运行的很完美。这个 PPA 里包含了最新的 Cinnamon 版本。



```
sudo add-apt-repository  
ppa:embrosyn/cinnamon  
sudo apt update && sudo apt install cinnamon  
```

下载的大小大概是 150 MB（如果我没记错的话）。这其中提供的 Nemo（Cinnamon 的文件管理器，基于 Nautilus）和 Cinnamon 控制中心。这些东西提供了一个更加接近于 Linux Mint 的感觉。


### 在 Ubuntu 上使用 Cinnamon 桌面环境


Cinnamon 安装完成后，退出当前会话，在登录界面，点击用户名旁边的 Ubuntu 符号：


![](/data/attachment/album/201809/29/231927awmvtpkfp0w97vl7.jpg)


之后，它将会显示所有系统可用的桌面环境。选择 Cinnamon。


![](/data/attachment/album/201809/29/231927vz8rr13zf5fh1151.jpg)


现在你应该已经登录到有着 Cinnamon 桌面环境的 Ubuntu 中了。你还可以通过同样的方式再回到 Unity 桌面。这里有一张以 Cinnamon 做为桌面环境的 Ubuntu 桌面截图。


![](/data/attachment/album/201809/29/231928dljv5il1vll1jl3b.jpg)


看起来是不是像极了 Linux Mint。此外，我并没有发现任何有关 Cinnamon 和 Unity 的兼容性问题。在 Unity 和 Cinnamon 来回切换，它们也依旧工作的很完美。


#### 从 Ubuntu 卸载 Cinnamon


如果你想卸载 Cinnamon，可以使用 PPA Purge 来完成。首先安装 PPA Purge：



```
sudo apt-get install ppa-purge
```

安装完成之后，使用下面的命令去移除该 PPA：



```
sudo ppa-purge ppa:embrosyn/cinnamon
```

更多的信息，我建议你去阅读 [如何从 Linux 移除 PPA](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/) 这篇文章。


我希望这篇文章能够帮助你在 Ubuntu 上安装 Cinnamon。也可以分享一下你使用 Cinnamon 的经验。




---


via: <https://itsfoss.com/install-cinnamon-on-ubuntu/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[dianbanjiu](https://github.com/dianbanjiu) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

**This tutorial shows you how to install the Cinnamon desktop environment on Ubuntu.**

Cinnamon is the default desktop environment of [Linux Mint](https://www.linuxmint.com/?ref=itsfoss.com). Unlike the GNOME [desktop environment](https://itsfoss.com/what-is-desktop-environment/) in Ubuntu, Cinnamon is a more traditional but elegant-looking desktop environment with a bottom panel, app menu, etc. Many Windows migrants [prefer Linux Mint over Ubuntu](https://itsfoss.com/linux-mint-vs-ubuntu/) because of the Cinnamon desktop and its Windows-resembling user interface.

You don’t need to [install Linux Mint](https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/) just to try Cinnamon. In this tutorial, I’ll show you **how to install Cinnamon in Ubuntu**.

[Timeshift backup of system settings](https://itsfoss.com/backup-restore-linux-timeshift/)is advisable.

## How to Install Cinnamon on Ubuntu

![install cinnamon in ubuntu](https://itsfoss.com/content/images/wordpress/2022/11/install-cinnamon-in-ubuntu.png)

## Installing Cinnamon on Ubuntu

At the time of updating this tutorial, Cinnamon desktop version 5.2.7 is available in the universe repository of Ubuntu 22.04 LTS.

So [make sure to enable the universe repository](https://itsfoss.com/ubuntu-repositories/) and then use this command to install Cinnamon on Ubuntu 22.04:

`sudo apt install cinnamon`


### Installing the latest Cinnamon daily builds from PPA (not recommended)

The Linux Mint team provides a [daily build unstable PPA](https://launchpad.net/~linuxmint-daily-build-team/+archive/ubuntu/daily-builds?ref=itsfoss.com) to install the latest Mint packages on Ubuntu. **Packages on this repository are unstable and for testing purposes, so you should know what you are doing.**

```
sudo add-apt-repository ppa:linuxmint-daily-build-team/daily-builds
sudo apt update
```


`sudo apt install cinnamon nemo-python`


Note that this version of Cinnamon desktop, only worked correctly for Ubuntu 22.04 LTS and it failed for my system with an “unmet dependency error” on Ubuntu 20.04 LTS.

## Using the Cinnamon desktop environment in Ubuntu

Once you have installed Cinnamon, log out of the current session. At the login screen, click on the Ubuntu symbol beside the username:

![select the user on login screen](https://itsfoss.com/content/images/wordpress/2022/11/select-the-user-on-login-screen.png)

When you do this, it will give you all the desktop environments available for your system. No need to tell you that you have to choose Cinnamon:

![select cinnamon from log in screen desktop selection option](https://itsfoss.com/content/images/wordpress/2022/11/select-cinnamon-from-log-in-screen-desktop-selection-option.png)

Now, you should be logged in to Ubuntu with the Cinnamon desktop environment. Remember, you can do the same to switch back to GNOME. Here is a quick screenshot of what it looked like to run **Cinnamon in Ubuntu**:

![ubuntu using cinnamon desktop](https://itsfoss.com/content/images/wordpress/2022/11/ubuntu-using-cinnamon-desktop.png)

Looks completely like Linux Mint, doesn’t it? I didn’t find any compatibility issues between Cinnamon and GNOME. I switched back and forth between GNOME and Cinnamon, and both worked perfectly.

Now that you have it installed, here are [some tips on customizing the Cinnamon desktop](https://itsfoss.com/customize-cinnamon-desktop/).

[7 Ways to Customize Cinnamon Desktop in Linux MintThe traditional Cinnamon desktop can be tweaked to look different and customized for your needs. Here’s how to do that.](https://itsfoss.com/customize-cinnamon-desktop/)![](https://itsfoss.com/content/images/wordpress/2021/02/customize-cinnamon.png)


![](https://itsfoss.com/content/images/wordpress/2021/02/customize-cinnamon.png)

## Remove Cinnamon from Ubuntu

It is understandable that you might want to uninstall Cinnamon. First, change back to GNOME or whichever desktop environment you use.

Now, remove the Cinnamon package installed:

`sudo apt remove cinnamon`


If you used the PPA to install Cinnamon, you should also [delete the PPA](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/) from your list of repositories:

`sudo add-apt-repository -r ppa:linuxmint-daily-build-team/daily-builds`


## Troubleshooting tip

If you are facing any issues like missing some Ubuntu apps after uninstalling the Cinnamon desktop, you can install the **Ubuntu-desktop **package:

`sudo apt install ubuntu-desktop`


## More desktop choices

You can also install many other desktop environments on your existing Ubuntu.

[How to Install MATE Desktop in Ubuntu LinuxScreenshot tutorial to show you how to install MATE desktop in Ubuntu and other versions and how to completely remove it.](https://itsfoss.com/install-mate-desktop-ubuntu/)![](https://itsfoss.com/content/images/wordpress/2014/08/ubuntu-mate-desktop.png)


![](https://itsfoss.com/content/images/wordpress/2014/08/ubuntu-mate-desktop.png)

Budgie is a modern and elegant desktop choice.

[Installing Budgie Desktop on Ubuntu [Quick Guide]Brief: Learn how to install Budgie desktop on Ubuntu in this step-by-step tutorial. Among all the various Ubuntu versions, Ubuntu Budgie is the most underrated one. It looks elegant and it’s not heavy on resources. Read this Ubuntu Budgie review or simply watch this video to see what Ubunt…](https://itsfoss.com/install-budgie-ubuntu/)![](https://itsfoss.com/content/images/wordpress/2019/04/install-budgie-ubuntu.png)


![](https://itsfoss.com/content/images/wordpress/2019/04/install-budgie-ubuntu.png)

KDE needs no introduction. If you did not opt for [Kubuntu or KDE Neon](https://itsfoss.com/kde-neon-vs-kubuntu/), you can always [install KDE on your existing Ubuntu](https://itsfoss.com/install-kde-on-ubuntu/).

[How to Install KDE Desktop Environment on UbuntuThis screenshot tutorial demonstrates the steps to install KDE Plasma desktop environment on Ubuntu Linux. In the world of Linux desktop environments, the ones that dominate are GNOME and KDE. There are several other desktop environments but these two are the leaders. Ubuntu used to have U…](https://itsfoss.com/install-kde-on-ubuntu/)![](https://itsfoss.com/content/images/wordpress/2013/01/Install-KDE-on-Ubuntu.png)


![](https://itsfoss.com/content/images/wordpress/2013/01/Install-KDE-on-Ubuntu.png)

I hope this post helps you to **install Cinnamon in Ubuntu**. Do share your experience with Cinnamon.