How to Install and Uninstall zram-generator Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "zram-generator" package

Please follow the steps below to install zram-generator on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install zram-generator

2. Uninstall "zram-generator" package

Learn how to uninstall zram-generator on openSuSE Tumbleweed:

$ sudo zypper remove zram-generator

3. Information about the zram-generator package on openSuSE Tumbleweed

Information for package zram-generator:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : zram-generator
Version : 1.1.2-2.7
Arch : x86_64
Vendor : openSUSE
Installed Size : 838.2 KiB
Installed : No
Status : not installed
Source package : zram-generator-1.1.2-2.7.src
Upstream URL : https://github.com/systemd/zram-generator
Summary : Systemd unit generator for zram swap devices
Description :
This is a systemd unit generator that enables swap on zram.
(With zram, there is no physical swap device. Part of the avaialable RAM
is used to store compressed pages, essentially trading CPU cycles for memory.)
To configure and activate swap and zram devices with file-systems, create a configuration file in /etc/systemd/zram-generator.conf. You can consult /usr/share/doc/zram-generator/zram-generator.conf.example for an example and a list of available settings.