在本教程中,我们学习如何安装 libavcall1 Ubuntu 22.04。 libavcall1 是外部函数调用库 – 使用可变参数调用 C 函数
介绍
在本教程中我们学习如何安装 libavcall1
在 Ubuntu 22.04。
什么是 libavcall1
libavcall1 是:
ffcall 是一个库的集合,可用于在嵌入式解释器中构建外部函数调用接口。
此软件包安装 avcall 库的共享库版本,可用于调用带有可变参数的 C 函数。
不推荐使用此共享库。 嵌入 avcall 的主 libffcall 库应该是首选。
有三种安装方法 libavcall1
在 Ubuntu 22.04。 我们可以用 apt-get
, apt
和 aptitude
。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。
使用 apt-get 安装 libavcall1
更新 apt 数据库 apt-get
使用以下命令。
更新apt数据库后,我们可以安装 libavcall1
使用 apt-get
通过运行以下命令:
sudo apt-get -y install libavcall1
使用 apt 安装 libavcall1
更新 apt 数据库 apt
使用以下命令。
更新apt数据库后,我们可以安装 libavcall1
使用 apt
通过运行以下命令:
sudo apt -y install libavcall1
使用 aptitude 安装 libavcall1
如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Ubuntu。 更新 apt 数据库 aptitude
使用以下命令。
更新apt数据库后,我们可以安装 libavcall1
使用 aptitude
通过运行以下命令:
sudo aptitude -y install libavcall1
如何卸载 libavcall1 Ubuntu 22.04
仅卸载 libavcall1
打包我们可以使用以下命令:
sudo apt-get remove libavcall1
卸载 libavcall1 及其依赖项
卸载 libavcall1
及其不再需要的依赖项 Ubuntu 22.04,我们可以使用以下命令:
sudo apt-get -y autoremove libavcall1
删除 libavcall1 配置和数据
去除 libavcall1
配置和数据来自 Ubuntu 22.04我们可以使用以下命令:
sudo apt-get -y purge libavcall1
删除 libavcall1 配置、数据及其所有依赖项
我们可以使用下面的命令来删除 libavcall1
配置、数据及其所有依赖项,我们可以使用以下命令:
sudo apt-get -y autoremove --purge libavcall1
参考
概括
在本教程中我们学习如何安装 libavcall1
封装在 Ubuntu 22.04 使用不同的包管理工具: apt
, apt-get
和 aptitude
。