如何在 Debian 10 上安装 LibreOffice

在本教程中,我们将向您展示如何在 Debian 10 上安装 LibreOffice。对于那些不知道的人,LibreOffice 是 Ms Office 的最佳选择。 它是一个功能强大的免费办公套件,用于创建电子表格、幻灯片放映和数据库。 它是早期 StarSuite 的开源版本。 LibreOffice 提供 115 种语言版本,甚至被全世界数百万人使用。 最新的 LibreOffice 8 可供下载并安装在 Linux 系统上。

本文假设您至少具备 Linux 的基本知识,知道如何使用 shell,最重要的是,您将网站托管在自己的 VPS 上。 安装非常简单,假设您在 root 帐户下运行,如果不是,您可能需要添加 ‘sudo‘ 到命令以获取 root 权限。 我将向您展示在 Debian 10 (Buster) 上逐步安装 LibreOffice。

在 Debian 10 Buster 上安装 LibreOffice

第 1 步。在我们安装任何软件之前,重要的是通过运行以下命令确保您的系统是最新的 apt 终端中的命令:

sudo apt update sudo apt upgrade sudo apt install apt-transport-https

步骤 2. 在 Debian 10 上安装 LibreOffice。

  • 通过 PPA 安装 LibreOffice:
sudo add-apt-repository ppa:libreoffice/libreoffice-7-0

之后,您将运行以下命令来安装 LibreOffice:

sudo apt update sudo apt install libreoffice
  • 通过 Snap 安装 LibreOffice:

运行以下命令安装 Snap 和 LibreOffice 软件包:

sudo apt install snapd sudo snap install core

要安装 LibreOffice,只需使用以下命令:

sudo snap install libreoffice

步骤 3. 在 Debian 上访问 LibreOffice。

成功安装后,打开显示应用程序菜单栏,在搜索栏中键入 LibreOffice,然后点击图标以启动 LibreOffice。

恭喜! 您已成功安装 LibreOffice。 感谢您使用本教程在 Debian 10 Buster 上安装 LibreOffice。 如需其他帮助或有用信息,我们建议您查看 LibreOffice 官方网站.