How to Install and Uninstall bat Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "bat" package

Please follow the guidelines below to install bat on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install bat

2. Uninstall "bat" package

This guide covers the steps necessary to uninstall bat on Debian 12 (Bookworm):

$ sudo apt remove bat $ sudo apt autoclean && sudo apt autoremove

3. Information about the bat package on Debian 12 (Bookworm)

Package: bat
Source: rust-bat
Version: 0.22.1-4
Installed-Size: 4630
Maintainer: Debian Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libgit2-1.5 (>= 1.5.0)
Description: cat(1) clone with syntax highlighting and git integration
Description-md5: fe57157c2e97d51f6072ac586ca26707
Multi-Arch: allowed
Homepage: https://github.com/sharkdp/bat
Built-Using: rust-ansi-colours (= 1.1.1-1), rust-onig-sys (= 69.8.0-1), rustc (= 1.63.0+dfsg1-2)
X-Cargo-Built-Using: rust-adler (= 1.0.2-2), rust-aho-corasick (= 0.7.19-1), rust-ansi-colours (= 1.1.1-1), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.14-2), rust-base64 (= 0.13.0-1), rust-bincode (= 1.3.3-1), rust-bitflags (= 1.3.2-3), rust-bstr (= 0.2.17-1), rust-bytemuck (= 1.12.1-1), rust-byteorder (= 1.4.3-2), rust-bytesize (= 1.1.0-1), rust-cfg-if-0.1 (= 0.1.10-2), rust-cfg-if (= 1.0.0-1), rust-clap-3 (= 3.2.23-4), rust-clap-lex (= 0.3.0-1), rust-clircle (= 0.3.0-1), rust-console (= 0.15.2-2), rust-content-inspector (= 0.2.4-1), rust-crc32fast (= 1.3.2-2), rust-dirs-next (= 2.0.0-1), rust-dirs-sys-next (= 0.1.1-1), rust-encoding (= 0.2.33-1), rust-encoding-index-japanese (= 1.20141219.5-1), rust-encoding-index-korean (= 1.20141219.5-1), rust-encoding-index-simpchinese (= 1.20141219.5-1), rust-encoding-index-singlebyte (= 1.20141219.5-1), rust-encoding-index-tests (= 0.1.4-2), rust-encoding-index-tradchinese (= 1.20141219.5-1), rust-flate2 (= 1.0.25-1), rust-fnv (= 1.0.7-1), rust-form-urlencoded (= 1.1.0-1), rust-git2 (= 0.16.0-1), rust-globset (= 0.4.9-1), rust-grep-cli (= 0.1.6-2), rust-hashbrown (= 0.12.3-1), rust-idna (= 0.3.0-1), rust-indexmap (= 1.9.2-1), rust-io-lifetimes (= 0.7.2-3), rust-itoa (= 1.0.1-2), rust-lazy-static (= 1.4.0-2), rust-libc (= 0.2.139-1), rust-libgit2-sys (= 0.14.1-1), rust-libz-sys (= 1.1.8-2), rust-line-wrap (= 0.1.1-1), rust-linked-hash-map (= 0.5.6-1), rust-linux-raw-sys (= 0.0.46-3), rust-log (= 0.4.17-3), rust-memchr (= 2.5.0-1), rust-miniz-oxide (= 0.6.2-1), rust-num-threads (= 0.1.6-1), rust-once-cell (= 1.17.0-1), rust-onig (= 6.3.2-1), rust-onig-sys (= 69.8.0-1), rust-onig-sys (= 69.8.0-1), rust-os-str-bytes (= 6.0.0-1), rust-path-abs (= 0.5.1-1), rust-percent-encoding (= 2.2.0-1), rust-plist (= 1.3.1-1), rust-regex-automata (= 0.1.8-2), rust-regex (= 1.7.1-1), rust-regex-syntax (= 0.6.27-1), rust-rgb (= 0.8.36-1), rust-rustix (= 0.35.12-1), rust-ryu (= 1.0.2-1), rust-safemem (= 0.3.3-1), rust-same-file (= 1.0.6-1), rust-semver (= 1.0.14-1), rust-serde (= 1.0.152-2), rust-serde-json (= 1.0.87-1), rust-serde-yaml (= 0.8.26-1), rust-shell-words (= 1.1.0-1), rust-smallvec (= 1.9.0-1), rust-std-prelude (= 0.2.12-1), rust-strsim (= 0.10.0-1), rust-syntect (= 5.0.0-1), rust-termcolor (= 1.1.2-1), rust-terminal-size (= 0.2.1-3), rust-textwrap (= 0.16.0-2), rust-thiserror (= 1.0.38-1), rust-time (= 0.3.9-1), rust-unicode-bidi (= 0.3.8-2), rust-unicode-normalization (= 0.1.22-1), rust-unicode-width (= 0.1.10-1), rust-url (= 2.3.1-1), rust-walkdir (= 2.3.2-1), rust-wild (= 2.1.0-1), rust-xml-rs (= 0.8.3-1), rust-yaml-rust (= 0.4.5-1), rustc (= 1.63.0+dfsg1-2)
Section: utils
Priority: optional
Filename: pool/main/r/rust-bat/bat_0.22.1-4_amd64.deb
Size: 1954444
MD5sum: 6c909ac31c4b18a6bb27b147c0fad544
SHA256: edf6fd2340051da870a9d3e9f47100f66dc8442c51f9e3c805bdee060478d3f4