How to Install and Uninstall tree-sitter Package on openSUSE Leap

Last updated: July 08,2024

1. Install "tree-sitter" package

This guide let you learn how to install tree-sitter on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install tree-sitter

2. Uninstall "tree-sitter" package

Please follow the guidelines below to uninstall tree-sitter on openSUSE Leap:

$ sudo zypper remove tree-sitter

3. Information about the tree-sitter package on openSUSE Leap

Information for package tree-sitter:
------------------------------------
Repository : Main Repository
Name : tree-sitter
Version : 0.20.7-bp155.2.6
Arch : x86_64
Vendor : openSUSE
Installed Size : 11.7 MiB
Installed : No
Status : not installed
Source package : tree-sitter-0.20.7-bp155.2.6.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