How to Install and Uninstall bat Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 14,2024

1. Install "bat" package

Please follow the steps below to install bat on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install bat

2. Uninstall "bat" package

Please follow the guidelines below to uninstall bat on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the bat package on Ubuntu 20.04 LTS (Focal Fossa)

Package: bat
Architecture: amd64
Version: 0.12.1-1ubuntu0.2
Built-Using: rust-ansi-colours (= 1.0.1-2), rustc (= 1.61.0+dfsg1~llvm-1~exp1ubuntu0.20.04.1)
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: 4111
Depends: libc6 (>= 2.29), libgcc-s1 (>= 4.2), libgit2-28 (>= 0.26.0)
Filename: pool/universe/r/rust-bat/bat_0.12.1-1ubuntu0.2_amd64.deb
Size: 1532704
MD5sum: 65c8043577b8a90930ac2ead28134aca
SHA1: c8806b8b7e92a7f56b36943ae79ab967da9dd757
SHA256: aad2d2bbd9a0750b718ff1ec0d1e6078b3c6fca755e61646954c46c9e861c308
SHA512: 0638ae96bfdb4fe4fcf726458338505a5d8823acbd3a29a315712e03a9aa0e7fb8a1809892cda56a44567c018b4c03950ebb015361c623e05f508176fadeed19
Homepage: https://github.com/sharkdp/bat
Description: cat(1) clone with syntax highlighting and git integration
Description-md5: c3d5180c2f97b5de01bb1d988d683ed8
X-Cargo-Built-Using: rust-adler32 (= 1.0.3-1), rust-aho-corasick (= 0.7.8-1), rust-ansi-colours (= 1.0.1-2), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.13-1), rust-base64 (= 0.10.1-1), rust-bincode (= 1.2.1-2), rust-bitflags (= 1.2.1-1), rust-byteorder (= 1.3.2-2), rust-cfg-if (= 0.1.9-1), rust-clap (= 2.33.0-5), 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 (= 2.0.2-1), rust-dirs-sys (= 0.3.4-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.0-1build1), rust-flate2 (= 1.0.13-1), rust-fnv (= 1.0.6-1), rust-git2 (= 0.8.0-2ubuntu0.1), rust-humantime (= 1.3.0-1), rust-idna (= 0.2.0-1), rust-itoa (= 0.4.3-1), rust-lazy-static (= 1.4.0-1), rust-lazycell (= 1.2.1-1), rust-libc (= 0.2.66-1), rust-libgit2-sys (= 0.7.11-1ubuntu0.1), rust-libz-sys (= 1.0.25-1), rust-line-wrap (= 0.1.1-1), rust-linked-hash-map (= 0.5.2-2), rust-log (= 0.4.6-1), rust-matches (= 0.1.8-1), rust-memchr (= 2.2.1-1), rust-miniz-oxide (= 0.3.5-1), rust-onig (= 4.3.2-1), rust-onig-sys (= 69.1.0-1), rust-percent-encoding (= 2.1.0-2), rust-plist (= 0.4.2-1), rust-quick-error (= 1.2.2-1), rust-regex (= 1.2.1-3ubuntu0.1), rust-regex-syntax (= 0.6.13-1), rust-ryu (= 1.0.2-1), rust-safemem (= 0.3.3-1), rust-same-file (= 1.0.6-1), rust-serde (= 1.0.104-1), rust-serde-json (= 1.0.41-1), rust-shell-words (= 0.1.0-1), rust-smallvec (= 1.1.0-1), rust-strsim (= 0.9.3-1), rust-syntect (= 3.2.0-1), rust-term-size (= 0.3.1-2), rust-termios (= 0.3.0-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 0.3.6-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.11-1), rust-unicode-width (= 0.1.5-1), rust-url (= 2.1.0-1), rust-vec-map (= 0.8.1-2), rust-walkdir (= 2.3.1-1), rust-wild (= 2.0.2-1), rust-xml-rs (= 0.8.0-1build1), rust-yaml-rust (= 0.4.3-1), rustc (= 1.61.0+dfsg1~llvm-1~exp1ubuntu0.20.04.1)

Package: bat
Architecture: amd64
Version: 0.12.1-1build1
Built-Using: rust-ansi-colours (= 1.0.1-2), rustc (= 1.41.0+dfsg1+llvm-0ubuntu1)
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: 4224
Depends: libc6 (>= 2.18), libgcc-s1 (>= 4.2), libgit2-28 (>= 0.28.1)
Filename: pool/universe/r/rust-bat/bat_0.12.1-1build1_amd64.deb
Size: 1584644
MD5sum: 42e717aaeedaeda25d8db4f1a372a9c7
SHA1: aef05f920262cc8c4e5d020e40a508b7c536b5ea
SHA256: 5b7e281e48dcc19a1b25c08c1ca3862cdb77e43788cafbf7c9700ba35adfe0ca
Homepage: https://github.com/sharkdp/bat
Description: cat(1) clone with syntax highlighting and git integration
Description-md5: c3d5180c2f97b5de01bb1d988d683ed8
X-Cargo-Built-Using: rust-adler32 (= 1.0.3-1), rust-aho-corasick (= 0.7.8-1), rust-ansi-colours (= 1.0.1-2), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.13-2), rust-base64 (= 0.11.0-1), rust-bincode (= 1.2.1-2), rust-bitflags (= 1.2.1-1), rust-byteorder (= 1.3.2-2), rust-cfg-if (= 0.1.10-2build1), rust-clap (= 2.33.0-5), 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 (= 2.0.2-1), rust-dirs-sys (= 0.3.4-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.0-1build1), rust-flate2 (= 1.0.13-1), rust-fnv (= 1.0.6-1), rust-git2 (= 0.10.2-1), rust-humantime (= 1.3.0-1), rust-idna (= 0.2.0-1), rust-indexmap (= 1.2.0-1), rust-itoa (= 0.4.3-1), rust-lazy-static (= 1.4.0-1), rust-lazycell (= 1.2.1-1), rust-libc (= 0.2.66-1), rust-libgit2-sys (= 0.9.2-2), rust-libz-sys (= 1.0.25-1), rust-line-wrap (= 0.1.1-1), rust-linked-hash-map (= 0.5.2-2), rust-log (= 0.4.8-4), rust-matches (= 0.1.8-1), rust-memchr (= 2.2.1-1), rust-miniz-oxide (= 0.3.5-1), rust-onig (= 5.0.0-2), rust-onig-sys (= 69.2.0-1), rust-percent-encoding (= 2.1.0-2), rust-plist (= 0.5.1-1), rust-quick-error (= 1.2.2-1), rust-regex (= 1.2.1-3), rust-regex-syntax (= 0.6.13-1), rust-ryu (= 1.0.2-1), rust-safemem (= 0.3.3-1), rust-same-file (= 1.0.6-1), rust-serde (= 1.0.104-1), rust-serde-json (= 1.0.41-1), rust-shell-words (= 0.1.0-1), rust-smallvec (= 1.1.0-1), rust-strsim (= 0.9.3-1), rust-syntect (= 3.3.0-2), rust-term-size (= 0.3.1-2), rust-termios (= 0.3.0-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 0.3.6-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.11-1), rust-unicode-width (= 0.1.7-1), rust-url (= 2.1.0-1), rust-vec-map (= 0.8.1-2), rust-walkdir (= 2.3.1-1), rust-wild (= 2.0.2-1), rust-xml-rs (= 0.8.0-1), rust-yaml-rust (= 0.4.3-1), rustc (= 1.41.0+dfsg1+llvm-0ubuntu1)