How to Install and Uninstall tree-sitter Package on openSuSE Tumbleweed

Last updated: November 26,2024

1. Install "tree-sitter" package

Please follow the step by step instructions below to install tree-sitter on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install tree-sitter

2. Uninstall "tree-sitter" package

Please follow the instructions below to uninstall tree-sitter on openSuSE Tumbleweed:

$ sudo zypper remove tree-sitter

3. Information about the tree-sitter package on openSuSE Tumbleweed

Information for package tree-sitter:
------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : tree-sitter
Version : 0.20.8-2.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 11.6 MiB
Installed : No
Status : not installed
Source package : tree-sitter-0.20.8-2.5.src
Upstream URL : https://tree-sitter.github.io/
Summary : An incremental parsing system for programming tools
Description :
Tree-sitter is a parser generator tool and an incremental parsing
library. It can build a concrete syntax tree for a source file
and efficiently update the syntax tree as the source file is
edited. Tree-sitter aims to be:
* General enough to parse any programming language
* Fast enough to parse on every keystroke in a text editor
* Robust enough to provide useful results even in the presence
of syntax errors
* Dependency-free so that the runtime library (which is written
in pure C) can be embedded in any application