How to Install and Uninstall caffe Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 02,2024

1. Install "caffe" package

This is a short guide on how to install caffe on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install caffe

2. Uninstall "caffe" package

Please follow the instructions below to uninstall caffe on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove caffe $ sudo apt autoclean && sudo apt autoremove

3. Information about the caffe package on Ubuntu 21.04 (Hirsute Hippo)

Package: caffe
Architecture: amd64
Version: 1.0.0+git20180821.99bd997-8build2
Multi-Arch: foreign
Priority: optional
Section: universe/science
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9291
Depends: libcaffe1 (= 1.0.0+git20180821.99bd997-8build2), libboost-filesystem1.74.0 (>= 1.74.0), libboost-thread1.74.0 (>= 1.74.0), libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgflags2.2, libgoogle-glog0v5, libhdf5-103-1, libleveldb1d, libopencv-core4.5 (>= 4.5.0+dfsg), libopencv-imgcodecs4.5 (>= 4.5.0+dfsg), libopencv-imgproc4.5 (>= 4.5.0+dfsg), libprotobuf23 (>= 3.12.3), libstdc++6 (>= 9)
Conflicts: caffe-tools-cuda
Breaks: caffe-cpu, caffe-tools-cpu
Replaces: caffe-cpu, caffe-tools-cpu
Filename: pool/universe/c/caffe/caffe_1.0.0+git20180821.99bd997-8build2_amd64.deb
Size: 1622484
MD5sum: 1366219414f395b9f3be9ab12a26b9a1
SHA1: a8b89f3317b785a06c435c5d8ac2e612dc8205ce
SHA256: cb0b373bf6da1d8f7fa27c357586f4f1085dd40c4ad5bd159961a5dff1da3fc5
SHA512: 05c4b474f75ecbdc0d5e0c884a649caed96d905b37f95a1dd45c2540ec2abac058e18d910d5ad0d7cda5497e5418d1dd725271048f12a7186b6b46fca8d55545
Homepage: http://caffe.berkeleyvision.org
Description-en: Tools for fast, open framework for Deep Learning (CPU_ONLY)
Caffe is a deep learning framework made with expression, speed,
and modularity in mind. It is developed by the Berkeley AI Research
Lab (BAIR) and community contributors.
.
It contains caffe executables, configured as CPU_ONLY.
.
Issue this command at the root of caffe source tree for a unit test:
$ caffe-gtest --gtest_shuffle --gtest_filter="-*GPU*"
Description-md5: a44c0b75b97330b3bfcb943951a8b085