Elektra
0.9.3
|
The graph below shows an (incomplete) list of available packages for Elektra.
For the following Linux distributions and package managers 0.8 packages are available:
For OpenSUSE, CentOS, Fedora, RHEL and SLE Kai-Uwe Behrmann kindly provides packages for download.
To use the Ubuntu Bionic repository of the latest builds from master following steps need to be made:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D919CE8B27A64C16656FCA9FF1532673651F9C6C
to obtain the key.Add deb https://ubuntu-bionic-repo.libelektra.org/ bionic main
into /etc/apt/sources.list
Which can also be done using:
Or alternatively, you can use (if you do not mind many dependences just to add one line to a config file):
To use the Debian Buster repository of the latest builds from master put following lines in /etc/apt/sources.list
:
Which can also be done using:
Or alternatively, you can use (if you do not mind many dependences just to add one line to a config file):
If you want to rebuild Elektra from Debian unstable or our repositories, add a deb-src
entry to /etc/apt/sources.list
and then run:
To get all packaged plugins, bindings and tools install:
For a small installation with command-line tools available use:
To build Debian/Ubuntu Packages from the source you might want to use:
You can install Elektra using Homebrew via the shell command:
. We also provide a tap containing a more elaborate formula here.
Please refer to the section OS Independent below.
First follow the steps in COMPILE.
After you completed building Elektra on your own, there are multiple options how to install it. For example, with make or CPack tools. We recommend that you generate your own packages with CPack so ensure compatibility with future releases.
The current supported systems are: Debian, Ubuntu and Fedora.
Then use:
which will create packages for distributions where a Generator is implemented.
You can find the generated packages in the package
directory of the build directory.
NOTE: If all plugins/bindings/tools a package includes are excluded, the package will be not generated.
On Debian based distributions you will need to set LD_LIBRARY_PATH before generating the package. Simply cd
into the build directory and run following command:
To install the packages run this in the package
directory:
If any dependency problems appear, run following command to install the missing dependencies:
To install RPM packages we recommend using yum localinstall
since installing with rpm
doesn't resolve missing dependencies.
Run following command in the package
directory:
To uninstall Elektra use (will not be very clean, e.g. it will not remove directories and *.pyc
files):
or in the build directory (will not honor DESTDIR
!):
If you encounter the problem that the library can not be found (output like this)
or:
you need to place a configuration file at /etc/ld.so.conf.d/
(e.g. /etc/ld.so.conf.d/elektra.conf
). Note that under Alpine Linux this file is called /etc/ld-musl-x86_64.path
or similar, depending on your architecture.
Add the path where the library has been installed (on Alpine Linux this had to be usr/lib/elektra
for it to work)
and run ldconfig
as root.
For some of the plugins and tools that ship with Elektra, additional installation manuals have been written. You can find them in the tutorial overview.