如何安装 flite Ubuntu 22.04

在本教程中,我们学习如何安装 flite Ubuntu 22.04。 flite 是小型运行时语音合成引擎

介绍

在本教程中我们学习如何安装 flite 在 Ubuntu 22.04。

什么是 flite

弗莱特是:

Flite 是一个小型快速运行时语音合成引擎。 它是免费软件合成工具套件的最新成员,包括爱丁堡大学的 Festival Speech Synthesis 系统和卡内基梅隆大学的 FestVox 项目、用于构建合成声音的工具、脚本和文档。 然而,flite 本身不需要这些系统中的任何一个来运行。

目前仅支持英语和印度语。

该软件包包含可执行文件和文档。

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

使用 apt-get 安装 flite

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

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

sudo apt-get -y install flite

使用 apt 安装 flite

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

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

sudo apt -y install flite

使用 aptitude 安装 flite

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

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

sudo aptitude -y install flite

如何卸载 flite Ubuntu 22.04

仅卸载 flite 打包我们可以使用以下命令:

sudo apt-get remove flite

卸载 flite 及其依赖项

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

sudo apt-get -y autoremove flite

删除 flite 配置和数据

去除 flite 配置和数据来自 Ubuntu 22.04我们可以使用以下命令:

sudo apt-get -y purge flite

删除 flite 配置、数据及其所有依赖项

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

sudo apt-get -y autoremove --purge flite

参考

概括

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