How to Install and Uninstall bat Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 25,2024
1. Install "bat" package
This guide covers the steps necessary to install bat on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
bat
Copied
2. Uninstall "bat" package
Please follow the instructions below to uninstall bat on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
bat
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the bat package on Ubuntu 21.04 (Hirsute Hippo)
Package: bat
Architecture: amd64
Version: 0.12.1-6build1
Built-Using: rust-ansi-colours (= 1.0.1-2), rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)
Multi-Arch: allowed
Priority: optional
Section: universe/utils
Source: rust-bat
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4351
Depends: libc6 (>= 2.32), libgcc-s1 (>= 4.2), libgit2-1.1 (>= 1.1.0)
Filename: pool/universe/r/rust-bat/bat_0.12.1-6build1_amd64.deb
Size: 1598328
MD5sum: ee9439b40b201f26c165d485b2da3916
SHA1: c70532927b8a23549dcdf74d729127fe32e4468f
SHA256: 55915e76b859138cc2106d1559a0ef2a7bdcb05ae5d54aa0e7b659108a511331
SHA512: 71da727dba47ca4ad3cbf9e43473fe0da8482426bb265a7ea824b00c56807c73bc5e0b40dadf6733116a140d7000a2d4bfaac06f63ef44ce0c6a7abf1f416186
Homepage: https://github.com/sharkdp/bat
Description-en: cat(1) clone with syntax highlighting and git integration
bat is a drop-in cat(1) replacement featuring:
.
* syntax highlighting for a large number of languages;
* git integration;
* automatic paging;
* a user-friendly command-line interface.
.
In this package the executable and its manpage have been renamed from ‘bat’ to
‘batcat’ because of a file name clash with another Debian package.
.
This package contains the following binaries built from the Rust crate
"bat":
- bat
Description-md5: e152d540ea8fcb3d63dd53b95d9270ac
X-Cargo-Built-Using: rust-adler32 (= 1.2.0-1), rust-aho-corasick (= 0.7.10-1), rust-ansi-colours (= 1.0.1-2), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.14-2), rust-base64 (= 0.12.1-1), rust-bincode (= 1.3.1-1), rust-bitflags (= 1.2.1-1), rust-byteorder (= 1.3.4-1), rust-cfg-if-0.1 (= 0.1.10-1), rust-chrono (= 0.4.19-1), rust-clap (= 2.33.3-1), rust-clicolors-control (= 1.0.1-1), rust-console (= 0.8.0-1), rust-content-inspector (= 0.2.4-1), rust-crc32fast (= 1.2.0-1), rust-dirs (= 3.0.1-1), rust-dirs-sys (= 0.3.5-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-1), rust-encoding-index-tradchinese (= 1.20141219.5-1), rust-error-chain (= 0.12.4-1), rust-flate2 (= 1.0.13-2), rust-fnv (= 1.0.6-1), rust-git2 (= 0.13.11-2), rust-idna (= 0.2.0-1), rust-indexmap (= 1.3.2-1), rust-itoa (= 0.4.3-1), rust-lazy-static (= 1.4.0-1), rust-lazycell (= 1.3.0-2), rust-libc (= 0.2.80-1), rust-libgit2-sys (= 0.12.13-1), rust-libz-sys (= 1.1.2-3), rust-line-wrap (= 0.1.1-1), rust-linked-hash-map (= 0.5.2-2), rust-log (= 0.4.11-2), rust-matches (= 0.1.8-1), rust-memchr (= 2.3.3-1), rust-miniz-oxide (= 0.3.6-1), rust-num-integer (= 0.1.42-1), rust-num-traits (= 0.2.14-1), rust-onig (= 6.1.0-1), rust-onig-sys (= 69.5.1-2), rust-percent-encoding (= 2.1.0-2), rust-plist (= 1.0.0-1), rust-regex (= 1.3.7-1), rust-regex-syntax (= 0.6.17-1), rust-ryu (= 1.0.2-1), rust-safemem (= 0.3.3-1), rust-same-file (= 1.0.6-1), rust-serde (= 1.0.106-1), rust-serde-json (= 1.0.41-1), rust-shell-words (= 1.0.0-1), rust-smallvec (= 1.4.2-1), rust-strsim (= 0.9.3-1), rust-syntect (= 3.3.0-4), rust-term-size (= 0.3.1-2), rust-termios (= 0.3.0-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 1.0.1-1), rust-time (= 0.1.42-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.12-1), rust-unicode-width (= 0.1.8-1), rust-url (= 2.1.1-2), rust-vec-map (= 0.8.1-2), rust-walkdir (= 2.3.1-1), rust-wild (= 2.0.2-1), rust-xml-rs (= 0.8.3-1), rust-yaml-rust (= 0.4.3-1), rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)
Architecture: amd64
Version: 0.12.1-6build1
Built-Using: rust-ansi-colours (= 1.0.1-2), rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)
Multi-Arch: allowed
Priority: optional
Section: universe/utils
Source: rust-bat
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4351
Depends: libc6 (>= 2.32), libgcc-s1 (>= 4.2), libgit2-1.1 (>= 1.1.0)
Filename: pool/universe/r/rust-bat/bat_0.12.1-6build1_amd64.deb
Size: 1598328
MD5sum: ee9439b40b201f26c165d485b2da3916
SHA1: c70532927b8a23549dcdf74d729127fe32e4468f
SHA256: 55915e76b859138cc2106d1559a0ef2a7bdcb05ae5d54aa0e7b659108a511331
SHA512: 71da727dba47ca4ad3cbf9e43473fe0da8482426bb265a7ea824b00c56807c73bc5e0b40dadf6733116a140d7000a2d4bfaac06f63ef44ce0c6a7abf1f416186
Homepage: https://github.com/sharkdp/bat
Description-en: cat(1) clone with syntax highlighting and git integration
bat is a drop-in cat(1) replacement featuring:
.
* syntax highlighting for a large number of languages;
* git integration;
* automatic paging;
* a user-friendly command-line interface.
.
In this package the executable and its manpage have been renamed from ‘bat’ to
‘batcat’ because of a file name clash with another Debian package.
.
This package contains the following binaries built from the Rust crate
"bat":
- bat
Description-md5: e152d540ea8fcb3d63dd53b95d9270ac
X-Cargo-Built-Using: rust-adler32 (= 1.2.0-1), rust-aho-corasick (= 0.7.10-1), rust-ansi-colours (= 1.0.1-2), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.14-2), rust-base64 (= 0.12.1-1), rust-bincode (= 1.3.1-1), rust-bitflags (= 1.2.1-1), rust-byteorder (= 1.3.4-1), rust-cfg-if-0.1 (= 0.1.10-1), rust-chrono (= 0.4.19-1), rust-clap (= 2.33.3-1), rust-clicolors-control (= 1.0.1-1), rust-console (= 0.8.0-1), rust-content-inspector (= 0.2.4-1), rust-crc32fast (= 1.2.0-1), rust-dirs (= 3.0.1-1), rust-dirs-sys (= 0.3.5-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-1), rust-encoding-index-tradchinese (= 1.20141219.5-1), rust-error-chain (= 0.12.4-1), rust-flate2 (= 1.0.13-2), rust-fnv (= 1.0.6-1), rust-git2 (= 0.13.11-2), rust-idna (= 0.2.0-1), rust-indexmap (= 1.3.2-1), rust-itoa (= 0.4.3-1), rust-lazy-static (= 1.4.0-1), rust-lazycell (= 1.3.0-2), rust-libc (= 0.2.80-1), rust-libgit2-sys (= 0.12.13-1), rust-libz-sys (= 1.1.2-3), rust-line-wrap (= 0.1.1-1), rust-linked-hash-map (= 0.5.2-2), rust-log (= 0.4.11-2), rust-matches (= 0.1.8-1), rust-memchr (= 2.3.3-1), rust-miniz-oxide (= 0.3.6-1), rust-num-integer (= 0.1.42-1), rust-num-traits (= 0.2.14-1), rust-onig (= 6.1.0-1), rust-onig-sys (= 69.5.1-2), rust-percent-encoding (= 2.1.0-2), rust-plist (= 1.0.0-1), rust-regex (= 1.3.7-1), rust-regex-syntax (= 0.6.17-1), rust-ryu (= 1.0.2-1), rust-safemem (= 0.3.3-1), rust-same-file (= 1.0.6-1), rust-serde (= 1.0.106-1), rust-serde-json (= 1.0.41-1), rust-shell-words (= 1.0.0-1), rust-smallvec (= 1.4.2-1), rust-strsim (= 0.9.3-1), rust-syntect (= 3.3.0-4), rust-term-size (= 0.3.1-2), rust-termios (= 0.3.0-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 1.0.1-1), rust-time (= 0.1.42-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.12-1), rust-unicode-width (= 0.1.8-1), rust-url (= 2.1.1-2), rust-vec-map (= 0.8.1-2), rust-walkdir (= 2.3.1-1), rust-wild (= 2.0.2-1), rust-xml-rs (= 0.8.3-1), rust-yaml-rust (= 0.4.3-1), rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)