diff --git a/published/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md b/published/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md new file mode 100644 index 0000000000..179b548be1 --- /dev/null +++ b/published/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md @@ -0,0 +1,135 @@ +[#]: subject: "How to Install Latest LibreOffice in Ubuntu and other Linux" +[#]: via: "https://www.debugpoint.com/install-latest-libreoffice-ubuntu-linux/" +[#]: author: "Arindam https://www.debugpoint.com/author/admin1/" +[#]: collector: "lkxed" +[#]: translator: "littlebirdnest" +[#]: reviewer: "wxy" +[#]: publisher: "wxy" +[#]: url: "https://linux.cn/article-15277-1.html" + +如何在 Ubuntu 中安装最新的 LibreOffice +====== + +![][0] + +> 在 Ubuntu 和其他 Linux 中安装最新的 LibreOffice 版本的快速指南。 + +自由开源的办公套件 LibreOffice 有两个版本:社区版和企业版。“社区” 版是为那些希望获得最新的尖端软件技术的早期采用者准备的。而 “企业” 版本更加稳定,可能不包括所有的最新功能,但它是生产环境和专业工作的理想选择。 + +### 在 Ubuntu 和其他 Linux 中安装最新的 LibreOffice + +#### 1、删除预安装的 LibreOffice + +Ubuntu 和其他的 Linux 发行版带有预安装的 LibreOffice。这可能不是最新的,这是因为发行版有特定的发行周期。在进行新安装之前,你可以通过以下命令删除 Ubuntu 及其衍生发行版中的的旧版本。 + +打开一个终端并运行以下命令,以删除 Ubuntu 和相关发行版中的已安装的 LibreOffice。对于其他发行版,你可以使用发行版的软件包管理器将其删除。 + +``` +sudo apt remove –purge libreoffice* +sudo apt autoclean +sudo apt autoremove +``` + +然后重启以确保一切正常(尽管你也可以跳过这一步)。 + +#### 2、从网站上下载安装 + +前往 [官方下载页面][1]. 并通过从下拉菜单中选择类型下载 “最新的” 版本。对于 Ubuntu 和其他衍生产品,请选择 .deb 文件。 + +![LibreOffice download and install from official website][2] + +下载后,提取文件;你应该看到下面的所有软件包。 + +![Extracted LibreOffice DEB files][3] + +在提取文件的位置打开终端,并按顺序运行以下命令。首先,你需要安装 ure 包,其次是核心包,然后是所有的基本包。最后,就是主要的 LibreOffice 软件包。下面是一组典型的命令。你需要更改为具体版本的版本号。 + +``` +sudo dpkg -i libobasis7.0-ure_7.0.4.2-2_amd64.deb +sudo dpkg -i libobasis7.0-core_7.0.4.2-2_amd64.deb +sudo dpkg -i libobasis7.0* +``` + +``` +sudo dpkg -i libreoffice7.0* +``` + +如果你使用的是 Fedora Linux 或 Red Hat Linux,请按照上述相同的顺序使用 [dnf 命令][4]。 + +![Install LibreOffice via dpkg][5] + +等待安装完成。完成后,你可以通过应用程序菜单找到 LibreOffice。 + +![Latest LibreOffice in Menu][6] + +这应该完成安装最新 LibreOffice 的步骤。如果你不想遵循上述方法,请参阅以下选项。 + +### 通过 PPA 安装 + +如果你想通过 PPA 安装它,请按照以下步骤操作。确保在上面的第 1 步中删除现有的 LibreOffice。 + +``` +sudo add-apt-repository ppa:libreoffice/ppa +``` + +最后,运行以下命令从这个官方 PPA 安装最新的 LibreOffice 5.4 系列。 + +``` +sudo apt update +sudo apt install libreoffice +``` + +安装后,你可以通过 Dash 搜索启动 LibreOffice。 + +![LibreOffice 5.4.2 Running in Ubuntu][7] + +### 通过 Snap 和 Flatpak 安装 + +如果你是 Linux 用户,你可以尝试 LibreOffice 独立的可执行文件,它在 Snap 或 Flatpak 等沙箱中运行。 + +要通过 [Flatpak][8] 安装 LibreOffice ,请访问 [这个页面][9] 进行设置,然后运行以下命令进行安装: + +``` +flatpak install flathub org.libreoffice.LibreOffice +``` + +同样,对于 [Snap][10] 版本,使用以下命令进行安装: + +``` +sudo snap install libreoffice +``` + +### 如何升级到最新的 LibreOffice 版本? + +如果你不想删除 LibreOffice 但想升级到最新版本,请阅读我们下面的完整指南。 + +> **[在 Ubuntu、Linux Mint 和 Windows 中升级到最新的 LibreOffice][11]** + +如果你在安装最新的 LibreOffice 时遇到问题,请随时留言。 + +-------------------------------------------------------------------------------- + +via: https://www.debugpoint.com/install-latest-libreoffice-ubuntu-linux/ + +作者:[Arindam][a] +选题:[lkxed][b] +译者:[littlebirdnest](https://github.com/littlebirdnest) +校对:[wxy](https://github.com/wxy) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://www.debugpoint.com/author/admin1/ +[b]: https://github.com/lkxed +[1]: https://www.libreoffice.org/download/download/ +[2]: https://www.debugpoint.com/wp-content/uploads/2017/10/LibreOffice-download-and-install-from-official-website.jpg +[3]: https://www.debugpoint.com/wp-content/uploads/2017/10/Extracted-LibreOffice-DEB-files.jpg +[4]: https://www.debugpoint.com/dnf-commands-examples/ +[5]: https://www.debugpoint.com/wp-content/uploads/2017/10/Install-LibreOffice-via-dpkg.jpg +[6]: https://www.debugpoint.com/wp-content/uploads/2017/10/Latest-LibreOffice-in-Menu.jpg +[7]: https://www.debugpoint.com/wp-content/uploads/2017/10/LibreOffice-5.4.2-Running-in-Ubuntu-.png +[8]: https://flathub.org/apps/details/org.libreoffice.LibreOffice +[9]: https://flatpak.org/setup/ +[10]: https://snapcraft.io/libreoffice +[11]: https://www.debugpoint.com/libreoffice-upgrade-update-latest/ +[12]: https://www.debugpoint.com/libreoffice-upgrade-update-latest/embed/#?secret=KINquNxuYI#?secret=FGij1s6Mfc +[0]: https://img.linux.net.cn/data/attachment/album/202211/21/232133g8pmpgssszv6p1v8.jpg \ No newline at end of file diff --git a/translated/tech/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md b/translated/tech/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md deleted file mode 100644 index 3eaae1e4ba..0000000000 --- a/translated/tech/20221104.3 ⭐️ How to Install Latest LibreOffice in Ubuntu and other Linux.md +++ /dev/null @@ -1,134 +0,0 @@ -[#]: subject: "How to Install Latest LibreOffice in Ubuntu and other Linux" -[#]: via: "https://www.debugpoint.com/install-latest-libreoffice-ubuntu-linux/" -[#]: author: "Arindam https://www.debugpoint.com/author/admin1/" -[#]: collector: "lkxed" -[#]: translator: "littlebirdnest" -[#]: reviewer: " " -[#]: publisher: " " -[#]: url: " " - -如何在Ubuntu和其他Linux中安装最新的Libreoffice -====== - -**在Ubuntu和其他Linux中安装最新的Libreoffice版本的快速指南。** - -免费和开源的办公套件Libreoffice有两个版本。社区版本和企业版本。社区版本主要是给前期的用户尝鲜,有较前沿的技术. 企业版本较为稳定但不会包括最新的功能,是生产环境和专业工作的最佳选择 - -### 在Ubuntu和其他Linux中安装最新的Libreoffice - -#### 1.删除预安装的libreoffice - -ubuntu和其他linux,带预安装的Libreoffice。这可能不是最新的,因为发行版的发行周期是之前的版本.但是,在进行新安装之前,您可以通过以下命令删除Ubuntu及其相关的旧版本: - -打开一个终端并运行以下命令,以删除Ubuntu和相关分布中的已安装的Libreoffice。对于其他人,您可以使用Distro的软件包管理器将其删除。 - -``` -sudo apt remove –purge libreoffice* -sudo apt autoclean -sudo apt autoremove -``` - -然后重启以确保一切正常(你也可以跳过) - -#### 2. 从网站上下载安装 - -前往[官方下载页面][1]. 并通过从下拉菜单中选择类型下载“Fresh”版本。对于Ubuntu和其他导数,请选择.deb文件。 - -![LibreOffice download and install from official website][2] - -下载后,提取文件;您应该看到下面的所有软件包。 - -![Extracted LibreOffice DEB files][3] - -下载解压后y,在提取文件的位置打开终端并按顺序运行以下命令。首先,你需要安装 ure 包。第二个是核心包,然后是所有基本包。最后,就是主要的 LibreOffice 软件包。下面是主要一些的命令。但是您需要更具体版本的版本号。 - -``` -sudo dpkg -i libobasis7.0-ure_7.0.4.2-2_amd64.deb -sudo dpkg -i libobasis7.0-core_7.0.4.2-2_amd64.deb -sudo dpkg -i libobasis7.0* -``` - -``` -sudo dpkg -i libreoffice7.0* -``` - -如果您使用的是 Fedora Linux 或 Red Hat Linux,请按照上述相同的顺序使用[dnf 命令][4] - -![Install LibreOffice via dpkg][5] - -等待安装完成。完成后,您可以通过应用程序菜单找到 LibreOffice。 - -![Latest LibreOffice in Menu][6] - -这应该完成安装最新 LibreOffice 的步骤。如果您不想遵循上述方法,请参阅以下选项。 - -#### 通过 PPA 安装 - -如果您想通过 PPA 安装它,请按照以下步骤操作。确保在上面的第 1 步中删除现有的 LibreOffice。 - -``` -sudo add-apt-repository ppa:libreoffice/ppa -``` - -最后,运行以下命令从这个官方 PPA 安装最新的 LibreOffice 5.4 系列。 - -``` -sudo apt update -sudo apt install libreoffice -``` - -安装后,您可以通过 Dash 搜索启动 LibreOffice。 - -![LibreOffice 5.4.2 Running in Ubuntu][7] - -#### 通过 Snap 和 Flatpak 安装 - -如果您是 Linux 用户,您可以尝试 LibreOffice 独立的可执行文件,它在 Snap 或 Flatpak 等沙箱中运行。 - -- 要通过[Flatpak][8]安装 LibreOffice ,请访问this page][9] 进行设置,然后运行以下命令进行安装 - -``` -flatpak install flathub org.libreoffice.LibreOffice -``` - -- 同样,对于[Snap version][10],使用以下命令进行安装。 - -``` -sudo snap install libreoffice -``` - -### 如何升级到最新的 LibreOffice 版本? - -如果您不想删除 LibreOffice 但想升级到最新版本,请阅读我们下面的完整指南。 - -> [在 Ubuntu、Linux Mint 和 Windows 中升级到最新的 LibreOffice[11] - -![“在 Ubuntu、Linux Mint 和 Windows 中升级到最新的 LibreOffice” — DebugPoint.com][12] - -如果您在安装最新的 LibreOffice 时遇到问题,请随时发表评论。 - --------------------------------------------------------------------------------- - -via: https://www.debugpoint.com/install-latest-libreoffice-ubuntu-linux/ - -作者:[Arindam][a] -选题:[lkxed][b] -译者:[littlebirdnest](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://www.debugpoint.com/author/admin1/ -[b]: https://github.com/lkxed -[1]: https://www.libreoffice.org/download/download/ -[2]: https://www.debugpoint.com/wp-content/uploads/2017/10/LibreOffice-download-and-install-from-official-website.jpg -[3]: https://www.debugpoint.com/wp-content/uploads/2017/10/Extracted-LibreOffice-DEB-files.jpg -[4]: https://www.debugpoint.com/dnf-commands-examples/ -[5]: https://www.debugpoint.com/wp-content/uploads/2017/10/Install-LibreOffice-via-dpkg.jpg -[6]: https://www.debugpoint.com/wp-content/uploads/2017/10/Latest-LibreOffice-in-Menu.jpg -[7]: https://www.debugpoint.com/wp-content/uploads/2017/10/LibreOffice-5.4.2-Running-in-Ubuntu-.png -[8]: https://flathub.org/apps/details/org.libreoffice.LibreOffice -[9]: https://flatpak.org/setup/ -[10]: https://snapcraft.io/libreoffice -[11]: https://www.debugpoint.com/libreoffice-upgrade-update-latest/ -[12]: https://www.debugpoint.com/libreoffice-upgrade-update-latest/embed/#?secret=KINquNxuYI#?secret=FGij1s6Mfc