beautypg.com

1 rpm package manager, 2 linux packages, Rpm package manager – Acronis Backup for Linux Server - Installation Guide User Manual

Page 8: Linux packages

background image

8

Copyright © Acronis International GmbH, 2002-2014

2.1.1 RPM Package Manager

Make sure that the RPM Package Manager (RPM) is installed in your system. Before installing the
product on a Linux distribution that does not use RPM, such as Ubuntu, you need to install RPM
manually; for example, by running the following command:

sudo apt-get install rpm

Linux distributions where RPM is already installed include Red Hat Enterprise Linux, Fedora, and SUSE
Linux Enterprise Server.

2.1.2 Linux packages

To add the Acronis Backup modules to the Linux kernel, the setup program needs the following Linux
packages:

The package for building kernel modules. The package version must match the kernel version.

The GNU Compiler Collection (GCC) compiler system. The GCC version must be the one with
which the kernel was compiled.

The Make tool.

The names of these packages vary depending on your Linux distribution.

In Red Hat Enterprise Linux and CentOS, the packages normally will be installed by the setup program.
In other distributions, you need to install the packages if they are not installed or do not have the
required versions.

Are the required packages already installed?

To check whether the packages are already installed, perform these steps:

1. Run the following command to find out the kernel version and the required GCC version:

cat /proc/version

This command returns lines similar to the following: Linux version 2.6.35.6 and gcc
version 4.5.1

2. Run the following command to check whether the Make tool and the GCC compiler are installed:

make -v
gcc -v

For gcc, ensure that the version returned by the command is the same as in the gcc version in
step 1. For make, just ensure that the command runs.

3. Check whether the appropriate version of the packages for building kernel modules is installed:

In Red Hat Enterprise Linux, CentOS, and Fedora, run the following command:

yum list installed | grep kernel-devel

In Ubuntu, run the following commands:

dpkg --get-selections | grep linux-headers
dpkg --get-selections | grep linux-image

In either case, ensure that the package versions are the same as in Linux version in step 1.

Installing the packages from the repository

The following table lists how to install the required packages in various Linux distributions.