How to Install and Uninstall tree-sitter-cli Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "tree-sitter-cli" package

This guide covers the steps necessary to install tree-sitter-cli on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install tree-sitter-cli

2. Uninstall "tree-sitter-cli" package

In this section, we are going to explain the necessary steps to uninstall tree-sitter-cli on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove tree-sitter-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the tree-sitter-cli package on Ubuntu 24.04 LTS (Noble Numbat)

Package: tree-sitter-cli
Architecture: amd64
Version: 0.20.8-5
Built-Using: rust-option-ext (= 0.2.0-1), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1)
Multi-Arch: allowed
Priority: optional
Section: universe/devel
Source: rust-tree-sitter-cli
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12678
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libtree-sitter0 (>= 0.20.8)
Recommends: gcc | c-compiler, nodejs, node-gyp, emscripten
Filename: pool/universe/r/rust-tree-sitter-cli/tree-sitter-cli_0.20.8-5_amd64.deb
Size: 1919610
MD5sum: 6c62e4d18dc08e48f7f2eafd39961af0
SHA1: 53707f6706d2aff43f5aed089bd9190490f095bd
SHA256: 62e957652c730351c60706996b9564590de624255bc18906523db696f333c2b4
SHA512: 699f096cd0e33896e96d7294b29c0eb3ae14083d5c7e4fea8180d93899279a4d9bc7377498cdb5751ffdcbf233d56d645d51dcd7b9ccc63c31fda66f7001dfa8
Description: command-line for Tree-sitter parsers
Description-md5: e68894e96f5f098020f822ed5a3a67dd
X-Cargo-Built-Using: rust-aho-corasick (= 1.1.2-1), rust-ansi-term (= 0.12.1-1), rust-anyhow (= 1.0.75-1), rust-ascii (= 1.0.0-2), rust-atty (= 0.2.14-2), rust-bitflags-1 (= 1.3.2-5), rust-cc (= 1.0.83-1), rust-cfg-if (= 1.0.0-1), rust-chunked-transfer (= 1.4.0-1), rust-clap-2 (= 2.34.0-3), rust-difference (= 2.0.0-1build2), rust-dirs (= 5.0.1-1), rust-dirs-sys (= 0.4.1-1), rust-either (= 1.9.0-1), rust-form-urlencoded (= 1.2.1-1), rust-getopts (= 0.2.21-4), rust-glob (= 0.3.1-1), rust-hashbrown (= 0.12.3-1), rust-home (= 0.5.5-1), rust-html-escape (= 0.2.12-1), rust-httpdate (= 1.0.2-1), rust-idna (= 0.4.0-1), rust-indexmap (= 1.9.3-1), rust-itoa (= 1.0.9-1), rust-lazy-static (= 1.4.0-2), rust-libc (= 0.2.152-1), rust-libloading (= 0.7.4-1), rust-log (= 0.4.20-2), rust-memchr (= 2.6.4-3build2), rust-once-cell (= 1.19.0-1), rust-option-ext (= 0.2.0-1), rust-percent-encoding (= 2.3.1-1), rust-regex-automata (= 0.4.3-1build2), rust-regex (= 1.10.2-2build2), rust-regex-syntax (= 0.8.2-1), rust-rustc-hash (= 1.1.0-1), rust-ryu (= 1.0.15-1), rust-same-file (= 1.0.6-1), rust-semver (= 1.0.21-1), rust-serde (= 1.0.195-1), rust-serde-json (= 1.0.111-1), rust-smallbitvec (= 2.5.1-1), rust-smallvec (= 1.11.2-1), rust-smawk (= 0.3.1-2), rust-strsim (= 0.10.0-1), rust-textwrap (= 0.16.0-3), rust-thiserror (= 1.0.50-1), rust-tiny-http (= 0.12.0-1), rust-tree-sitter-config (= 0.19.0-3), rust-tree-sitter (= 0.20.10-1), rust-tree-sitter-highlight (= 0.20.1-1), rust-tree-sitter-loader (= 0.20.0-3), rust-tree-sitter-tags (= 0.20.2-1), rust-unicode-bidi (= 0.3.13-1), rust-unicode-linebreak (= 0.1.4-1), rust-unicode-normalization (= 0.1.22-1), rust-unicode-width (= 0.1.11-1), rust-url (= 2.4.1-1), rust-utf8-width (= 0.1.5-1), rust-vec-map (= 0.8.1-2), rust-walkdir (= 2.4.0-1), rust-webbrowser (= 0.8.10-1), rust-which (= 4.2.5-1), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1)