How to Install and Uninstall ohai Package on Debian 11 (Bullseye)

Last updated: December 28,2024

1. Install "ohai" package

Please follow the guidance below to install ohai on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install ohai

2. Uninstall "ohai" package

This tutorial shows how to uninstall ohai on Debian 11 (Bullseye):

$ sudo apt remove ohai $ sudo apt autoclean && sudo apt autoremove

3. Information about the ohai package on Debian 11 (Bullseye)

Package: ohai
Version: 16.13.0-3~bpo11+1
Installed-Size: 622
Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Depends: ruby, ruby-chef-config (>= 14.12), ruby-chef-config (<< 17), ruby-chef-utils (>= 16.0), ruby-chef-utils (<< 17), ruby-ffi (>= 1.9), ruby-ffi-yajl (>= 2.2), ruby-ipaddress, ruby-mixlib-cli (>= 1.7.0), ruby-mixlib-config (>= 2.0), ruby-mixlib-config (<< 4.0), ruby-mixlib-log (>= 2.0.1), ruby-mixlib-log (<< 4.0), ruby-mixlib-shellout (>= 3.2.5), ruby-plist (>= 3.1), ruby-train-core
Breaks: chef (<< 15)
Description-en: Detects data about your operating system and reports it in JSON
Information about your system is collected and returned as multidimensional
attributes in JSON format. The following information is captured:
* Operating system and kernel
* Filesystems in use
* Network configuration and statistics
* Available languages
* Virtualization
Description-md5: e7614c4a2f2143a1d06c4d3a646fc455
Homepage: https://github.com/chef/ohai/
Ruby-Versions: all
Section: admin
Priority: optional
Filename: pool/main/o/ohai/ohai_16.13.0-3~bpo11+1_all.deb
Size: 102244
SHA256: 94f2ab6a8072cfdffd2e7255ca26ee971287d9ca7dc99a2294f7d038fd6ec65e