如何安装 caffe-tools-cuda Ubuntu 18.04

在本教程中,我们学习如何安装 caffe-tools-cuda Ubuntu 18.04。 caffe-tools-cuda 是快速、开放的深度学习框架 (CUDA) 的工具

介绍

在本教程中我们学习如何安装 caffe-tools-cuda 在 Ubuntu 18.04。

什么是 caffe-tools-cuda

caffe-tools-cuda 是:

Caffe 是一个深度学习框架,考虑到了表达、速度和模块化。 它由伯克利人工智能研究实验室 (BAIR) 和社区贡献者开发。

它包含使用 CUDA 配置的 caffe 可执行文件。

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

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

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

sudo apt-get -y install caffe-tools-cuda

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

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

sudo apt -y install caffe-tools-cuda

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

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

sudo aptitude -y install caffe-tools-cuda

仅卸载 caffe-tools-cuda 打包我们可以使用以下命令:

sudo apt-get remove caffe-tools-cuda

卸载caffe-tools-cuda及其依赖项

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

sudo apt-get -y autoremove caffe-tools-cuda

删除 caffe-tools-cuda 配置和数据

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

sudo apt-get -y purge caffe-tools-cuda

删除 caffe-tools-cuda 配置、数据及其所有依赖项

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

sudo apt-get -y autoremove --purge caffe-tools-cuda

参考

概括

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