Installing SysCare

This chapter describes how to install SysCare on openEuler.

Installing SysCare Core Components

Minimum Hardware Requirements

  • 2 CPUs (x86_64 or AArch64)
  • 4 GB memory
  • 100 GB drive

Prerequisites

  1. openEuler 22.03 LTS SP4 has been installed.
  2. root permissions are required for patch making.

Installing from Source

Clone the SysCare source code https://atomgit.com/openeuler/syscare.git and then compile and install SysCare as follows:

shell
dnf install -y kernel-source-`uname -r` kernel-debuginfo-`uname -r` kernel-devel-`uname -r`
dnf install -y elfutils-libelf-devel openssl-devel dwarves flex python3-devel rpm-build bison cmake make gcc g++ rust cargo bpftool clang libbpf libbpf-devel llvm libbpf-static

git clone https://atomgit.com/openeuler/syscare.git
cd syscare
mkdir build_tmp
cd build_tmp
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

Installing SysCare from a Repository

The repository of openEuler 22.03 LTS SP4 contains SysCare packages. You can use the dnf or yum command to download and install them.

shell
dnf install syscare syscare-build

Uninstalling SysCare

shell
dnf remove syscare*