在本教程中,我们学习如何安装 libfluidsynth2 Ubuntu 21.10。 libfluidsynth2 是实时 MIDI 软件合成器(运行时库)
介绍
在本教程中我们学习如何安装 libfluidsynth2
在 Ubuntu 21.10。
什么是 libfluidsynth2
libfluidsynth2 是:
Fluidsynth 是一个基于 soundfont(sf2 和 sf3)规范的实时 midi 合成器。 它可用于将 MIDI 输入或 MIDI 文件渲染为音频。 MIDI 事件是从 MIDI 设备读取的。 声音实时呈现到声音输出设备。
该包包含运行时库。
有三种安装方式 libfluidsynth2
在 Ubuntu 21.10。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 libfluidsynth2
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 libfluidsynth2
使用 apt-get
通过运行以下命令:
sudo apt-get -y install libfluidsynth2
使用 apt 安装 libfluidsynth2
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 libfluidsynth2
使用 apt
通过运行以下命令:
sudo apt -y install libfluidsynth2
使用 aptitude 安装 libfluidsynth2
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 libfluidsynth2
使用 aptitude
通过运行以下命令:
sudo aptitude -y install libfluidsynth2
如何卸载 libfluidsynth2 Ubuntu 21.10
仅卸载 libfluidsynth2
打包我们可以使用以下命令:
sudo apt-get remove libfluidsynth2
卸载 libfluidsynth2 及其依赖项
卸载 libfluidsynth2
及其不再需要的依赖项 Ubuntu 21.10,我们可以使用以下命令:
sudo apt-get -y autoremove libfluidsynth2
删除 libfluidsynth2 配置和数据
去除 libfluidsynth2
配置和数据来自 Ubuntu 21.10我们可以使用以下命令:
sudo apt-get -y purge libfluidsynth2
删除 libfluidsynth2 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 libfluidsynth2
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge libfluidsynth2
参考
概括
在本教程中我们学习如何安装 libfluidsynth2
封装在 Ubuntu 21.10 使用不同的包管理工具:apt、apt-get 和 aptitude。