如何安装 hunspell-vi Ubuntu 18.04

在本教程中,我们学习如何安装 hunspell-vi Ubuntu 18.04。 hunspell-vi 是 hunspell 的越南语词典

介绍

在本教程中我们学习如何安装 hunspell-vi 在 Ubuntu 18.04。

什么是 hunspell-vi

hunspell-vi 是:

这是与 hunspell 拼写检查器一起使用的越南语词典。

Hunspell 是一个拼写检查器和形态分析器库和程序,专为具有丰富形态和复杂单词复合或字符编码的语言而设计。 它基于 MySpell,并具有使用 Curses 库的类似 Ispell 的终端界面、Ispell 管道接口和 LibreOffice UNO 模块。

有三种安装方法 hunspell-vi 在 Ubuntu 18.04。 我们可以用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 hunspell-vi

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 hunspell-vi 使用 apt-get 通过运行以下命令:

sudo apt-get -y install hunspell-vi

使用 apt 安装 hunspell-vi

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 hunspell-vi 使用 apt 通过运行以下命令:

sudo apt -y install hunspell-vi

使用 aptitude 安装 hunspell-vi

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 hunspell-vi 使用 aptitude 通过运行以下命令:

sudo aptitude -y install hunspell-vi

如何卸载 hunspell-vi Ubuntu 18.04

仅卸载 hunspell-vi 打包我们可以使用以下命令:

sudo apt-get remove hunspell-vi

卸载 hunspell-vi 及其依赖项

卸载 hunspell-vi 及其不再需要的依赖项 Ubuntu 18.04,我们可以使用以下命令:

sudo apt-get -y autoremove hunspell-vi

删除 hunspell-vi 配置和数据

去除 hunspell-vi 配置和数据来自 Ubuntu 18.04我们可以使用以下命令:

sudo apt-get -y purge hunspell-vi

删除 hunspell-vi 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 hunspell-vi 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge hunspell-vi

参考

概括

在本教程中我们学习如何安装 hunspell-vi 封装在 Ubuntu 18.04 使用不同的包管理工具: apt, apt-getaptitude