如何在 Ubuntu 上安装最新的 LibreOffice
LibreOffice
![](/data/attachment/album/202311/04/170549qzsfnygzhtzsn0uo.jpg)



> 
> 想在 Ubuntu 上使用最新、最好的 LibreOffice？这里有一个简单的方法。
> 
> 
> 


LibreOffice 已预装在 Ubuntu 中。


不过，如果你选择了最小化的 Ubuntu 安装，或者卸载它并安装了其他办公套件，你可以使用此命令轻松安装：



```
sudo apt install libreoffice

```

这没问题。但 Ubuntu 仓库提供的 LibreOffice 版本可能不是最新的。


如果你听说有新的 LibreOffice 版本发布，很可能你不会获得该新版本。这是因为 Ubuntu 将其保持在稳定版本上。


这对大多数用户来说都很好。但是，如果你不是“大多数用户”，并且你想在 Ubuntu 中获取最新的 LibreOffice，那么你完全可以这样做。


有两种方法可以做到这一点：


* 使用官方 PPA（推荐）
* 从 LibreOffice 下载 deb 文件


让我们来看看。


### 方法 1：通过官方 PPA 安装最新的 LibreOffice（推荐）


你可以使用官方 “LibreOffice Fresh” PPA 在基于 Ubuntu 的发行版上安装 LibreOffice 的最新稳定版本。


PPA 提供了 LibreOffice 的最新稳定版本，而不是开发版本。因此，这使其成为在 Ubuntu 上获取较新 LibreOffice 版本的理想选择。


你甚至不需要使用此方法卸载以前的版本。它将把现有的 LibreOffice 更新到新版本。



```
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice

```

由于你要添加 PPA，因此你还将获得以这种方式安装的新版本的更新。


### 方法 2：从网站获取二进制文件（如果需要）


你可以随时前往 [LibreOfiice 网站的下载页面](https://www.libreoffice.org/download/download-libreoffice) 下载最新版本的 deb 文件。你还会看到下载较旧但 LTS 稳定版本的选项。


![](/data/attachment/album/202311/04/170633n7pqyq5k5v6p8ebl.png)


我相信你已经 [知道如何从 deb 文件安装应用](https://itsfoss.com/install-deb-files-ubuntu/)。右键单击 deb 文件，选择使用软件中心打开它。进入软件中心后，你可以单击安装按钮进行安装。


### 结论


第二种方法的缺点是，如果有更新，你必须再次下载 deb 文件，删除以前的 LibreOffice 版本，然后使用新下载的 deb 文件安装新版本。


相比之下，PPA 会随着系统更新而自动更新。这就是我推荐 PPA 的原因，特别是当它由 LibreOffice 团队自己维护时。


顺便说一句，这里有一些 [充分利用 LibreOffice 的技巧](/article-15530-1.html)：



> 
> **[提高 LibreOffice 生产力的技巧](/article-15530-1.html)**
> 
> 
> 


我希望这个快速技巧可以帮助你在基于 Ubuntu 的发行版上获取最新的 LibreOffice。如果你有疑问，请告诉我。




---


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


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[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)

LibreOffice comes preinstalled in Ubuntu.

However, if you opted for the minimal Ubuntu install, removed it for some other office suite, you can easily install it using this command:

`sudo apt install libreoffice`


That's fine. But the LibreOffice version provided by the Ubuntu repository may not be the latest one.

If you are hearing about a new LibreOffice version release, most likely, you won't be getting the new release. That's because Ubuntu keeps it on a stable release.

And that's fine for most users. However, if you are not 'among most users' and you like to get the latest LibreOffice in Ubuntu, you can totally do that.

There are two ways to do that:

- Use official PPA (recommended)
- Download deb file from LibreOffice

Let's see them one by one.

## Method 1: Install latest LibreOffice via official PPA (recommended)

You can use the official “LibreOffice Fresh” PPA to install the latest stable release of LibreOffice on Ubuntu based distributions.

The PPA provides the latest stable release of the LibreOffice, not a development release. So, this makes it the ideal choice to get the newer LibreOffice version on Ubuntu.

You don’t even need to uninstall the previous version using this method. It will update the existing LibreOffice to the newer version.

```
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice
```


Since you are adding a PPA, you'll also get updates on the newer version installed this way.

## Method 2: Get the binaries from the website (if you want)

You can always go to the [download section of the LibreOfiice website](https://www.libreoffice.org/download/download-libreoffice) and download the deb file of the latest version. You'll also see the option to download an older but LTS stable version.

![Download LibreOffice latest version](https://itsfoss.com/content/images/2023/10/download-libreoffice.png)

I believe you already [know how to install applications from a deb file](https://itsfoss.com/install-deb-files-ubuntu/). Right click on the deb file, select to open it with Software Center. Once in software center, you can click the install button to install it.

## Conclusion

The downside of the second method is that if there is an update, you'll have to download the deb file again, remove the previous LibreOffice version and install the new version with the newly downloaded deb file.

In contrast, the PPA gives you update automatically with the system updates. That's the reason why I recommend the PPA, specially when it is maintained by the LibreOffice team itself.

By the way, here are some [tips on getting more out of LibreOffice](https://itsfoss.com/libreoffice-tips/):

[15 LibreOffice Tips to Get More Out of itLibreOffice is an excellent office suite. These LibreOffice tips will enable you to use it more effectively.](https://itsfoss.com/libreoffice-tips/)![](https://itsfoss.com/content/images/wordpress/2017/12/LibreOffice-logo.jpeg)


![](https://itsfoss.com/content/images/wordpress/2017/12/LibreOffice-logo.jpeg)

I hope this quick tip helped you get the latest LibreOffice on Ubuntu-based distributions. Let me know if you have questions.