更新升级 专属应用 系统故障 硬件故障 电脑汽车 鸿蒙刷机 鸿蒙开发Linux教程 鸿蒙开发Linux命令
当前位置:HMXT之家 > 鸿蒙开发Linux教程 > 在Ubuntu 22.04系统上安装FreeOffice 2021的方法

在Ubuntu 22.04系统上安装FreeOffice 2021的方法

更新时间:2023-03-30 09:36:24浏览次数:366+次

本文介绍如何在Ubuntu 22.04系统上安装和使用FreeOffice 2021的方法,将演示安装softmaker-freeoffice-2021_1062-01_amd64.deb软件包的过程,同样的方法也适用在Ubuntu 20.04/18.04系统上。

在Ubuntu 22.04上安装FreeOffice 2021

在本文中,将演示两种在Ubuntu 22.04系统上安装FreeOffice 2021的方法,一是使用Softmaker存储库,二是手动安装.deb文件。

方法一:使用SoftMaker存储库在Ubuntu 22.04上安装FreeOffice 2021

有一个FreeOffice的存储库,可以用来在Ubuntu 22.04/20.04/18.04上下载和安装任何FreeOffice版本。

首先,为存储库添加GPG密钥:

wget -qO - https://shop.softmaker.com/repo/linux-repo-public.key | sudo apt-key add -

现在,在Ubuntu 22.04上添加SoftMaker存储库:

sudo apt-add-repository "deb http://shop.softmaker.com/repo/apt stable non-free"

然后更新您的APT包索引:

sudo apt update

既然存储库已经成功添加到我们的系统中,那么我们就可以使用以下命令在Ubuntu 22.04上轻松安装FreeOffice 2021了:

sudo apt install softmaker-freeoffice-2021

输出信息样本如下:

Building dependency tree

Reading state information... Done

The following additional packages will be installed:

  libcurl4

The following NEW packages will be installed:

  libcurl4 softmaker-freeoffice-2021

0 upgraded, 2 newly installed, 0 to remove and 22 not upgraded.

Need to get 131 MB of archives.

After this operation, 281 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

请输入y键并回车安装。

方法二:在Ubuntu 22.04上手动安装FreeOffice 2021

使用此选项,您将需要从官方SoftMaker FreeOffice下载页面下载最新的.deb文件,地址在https://www.freeoffice.com/de/download/programme。或者,您可以获得下载链接,并提取.deb包,如下所示:

wget https://www.softmaker.net/down/softmaker-freeoffice-2021_1062-01_amd64.deb

下载包后,导航下载路径,如果您使用Wget,包将在您的工作目录中。继续并使用以下命令进行安装:

sudo dpkg -i softmaker-freeoffice-2021_1062-01_amd64.deb

样本输出信息如下:

Preparing to unpack softmaker-freeoffice-2021_1062-01_amd64.deb ...

Removing document icons...

Removing icons from theme Adwaita /1 of 2/

Removing icons from theme hicolor /1 of 2/

Removing icons from theme HighContrast /1 of 2/

Removing icons from theme Humanity /1 of 2/

Removing icons from theme Adwaita /2 of 2/

Removing icons from theme hicolor /2 of 2/

Removing icons from theme HighContrast /2 of 2/

Removing icons from theme Humanity /2 of 2/

Creating /etc/SoftMaker folder...

Installing for user thor

Cleaning the cache from folder: /var/tmp/kdecache-*/*

Adding icons to the menu...

Processing triggers for mime-support (3.60ubuntu1) ...

Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...

Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...

Processing triggers for shared-mime-info (1.9-2) ...

Processing triggers for libc-bin (2.27-3ubuntu1.4) ..

使用此方法安装Freeoffice后,您需要在Ubuntu 22.04上配置自动更新:

sudo /usr/share/freeoffice2021/add_apt_repo.sh

样本输出:

APT repository directory found.

/usr/share/freeoffice2021/add_apt_repo.sh: line 40: /tmp: Is a directory

Adding the SoftMaker repository to keep SoftMaker Office up to date...

Importing the key for the SoftMaker repository...

OK

All done!

更新您的系统:

sudo apt update

现在,您将使用升级命令接收FreeOffice 2021版本更新。

在Ubuntu 22.04上使用FreeOffice 2021

使用上述方法之一在Ubuntu 22.04上安装了FreeOffice 2021,现在继续从应用程序菜单启动它:

\

您将看到三个独立的程序,即FreeOffice Plan maker、FreeOffice Presentation和FreeOffice TextMaker。让我们从下面的FreeOffice Plan maker开始。从列表中选择您喜欢的:

\

然后,您将被要求提供您的用户信息。如果您现在不需要,请单击取消键并继续:

\

到这里,您将进入FreeOffice Plan maker页面,在这里,您可以创建类似于MS Excel的电子表格:

\

现在,对于保存选项,FreeOffice为您提供了两个保存计划制定者文档的选项,如下所示:

\

您也可以启动FreeOffice TextMaker,它类似于MS word。对于此应用程序,它有保存文档的选项做选择,请选择自己需要的即可,如下所示:

\

最后,第三个包是FreeOffice Presentations。这与Powerpoint类似,但添加了新的动画/过渡:

\

对于此应用程序,还提供了两个保存选项:

\

配置到了这里,我们就已经在Ubuntu 22.04系统上成功安装并使用了FreeOffice 2021。另外,值得一说的是,FreeOffice 2021版本的MS Office兼容性得到了改进,它通常有两个保存选项供使用者做选择。