Installing SysCare
This chapter describes how to install SysCare on openEuler.
Installing SysCare Core Components
Minimum Hardware Requirements
x86, 2 CPUs, 4 GB RAM, 100 GB drive
Prerequisites
- openEuler 22.03 LTS SP1 has been installed.
- root permissions are required for patch making.
Installing Dependencies
The kernel source code and kpatch are required during SysCare patch making. Related dependencies need to be installed.
yum install -y kernel-source-`uname -r` kernel-debuginfo-`uname -r` kernel-devel-`uname -r`
yum install -y elfutils-libelf-devel openssl-devel dwarves flex python3-devel rpm-build bison cmake make gcc g++ rust cargo
Installing from Source
Clone the SysCare source code https://gitee.com/openeuler/syscare.git and then compile and install SysCare as follows:
git clone https://gitee.com/openeuler/syscare.git
cd syscare
mkdir tmp
cd tmp
cmake ..
make
make install
Installing SysCare from a Repository
If the repository source contains SysCare packages, you can use RPM to download and install them.
dnf/yum install syscare-1.0.rpm
rpm -ivh syscare-1.0.rpm
Uninstalling SysCare
dnf/yum remove syscare