How to Install and Uninstall nim Package on openSUSE Leap

Last updated: May 20,2024

1. Install "nim" package

Here is a brief guide to show you how to install nim on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install nim

2. Uninstall "nim" package

Please follow the guidelines below to uninstall nim on openSUSE Leap:

$ sudo zypper remove nim

3. Information about the nim package on openSUSE Leap

Information for package nim:
----------------------------
Repository : Main Repository
Name : nim
Version : 1.6.10-bp155.1.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 27.7 MiB
Installed : No
Status : not installed
Source package : nim-1.6.10-bp155.1.5.src
Upstream URL : https://nim-lang.org/
Summary : A statically typed compiled systems programming language
Description :
Nim is a statically typed compiled systems programming language. It
combines successful concepts from mature languages like Python, Ada
and Modula.
Efficient:
* Nim generates native dependency-free executables, not dependent on
a virtual machine, which are small and allow easy redistribution.
* The Nim compiler and the generated executables support all major
platforms like Windows, Linux, BSD and macOS.
* Nim's memory management is deterministic and customizable with
destructors and move semantics, inspired by C++ and Rust. It is
well-suited for embedded, hard-realtime systems.
* Modern concepts like zero-overhead iterators and compile-time
evaluation of user-defined functions, in combination with the
preference of value-based datatypes allocated on the stack, lead
to extremely performant code.
* Support for various backends: it compiles to C, C++ or JavaScript
so that Nim can be used for all backend and frontend needs.
Expressive:
* Nim is self-contained: the compiler and the standard library are
implemented in Nim.
* Nim has a powerful macro system which allows direct manipulation
of the AST, offering nearly unlimited opportunities.
Elegant:
* Macros cannot change Nim's syntax because there is no need for it
— the syntax is flexible enough.
* Modern type system with local type inference, tuples, generics and
sum types.
* Statements are grouped by indentation but can span multiple lines.