$darkmode
Elektra 0.11.0
|
The graph below shows an (incomplete) list of available packages for Elektra.
For the following Linux distributions and package managers 0.9 packages are available:
We provide repositories for latest releases and latest builds from master (suite postfixed with -unstable
) for following Debian-based distributions:
To use our stable repositories with our latest releases, following steps need to be made:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F26BBE02F3C315A19BF1F791A9A25CC1CC83E839
to obtain the key.Add deb https://debs.libelektra.org/<DISTRIBUTION> <SUITE> main
into /etc/apt/sources.list
where <DISTRIBUTION>
and <SUITE>
is the codename of your distributions e.g.focal
,bionic
,buster
, etc.
This 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 would like to use the latest builds of master, append -unstable
to <SUITE>
.
The etc/apt/source.list
entry must look like following: deb https://debs.libelektra.org/<DISTRIBUTION> <SUITE>-unstable main
E.g. deb https://debs.libelektra.org/focal focal-unstable main
sudo apt-get update
.NOTE: for Ubuntu Bionic the yamlcpp plugin is excluded due to missing dependencies and therefore the package
libelektra5-yamlcpp
is not available.
We provide repositories for latest releases and latest builds from master (suite postfixed with -unstable
) for Fedora 33 and Fedora 34
For our stable repository with our latest releases:
Or alternatively you can use dnf to add this repo:
For our latest builds from master append -unstable
to the suite name:
Or alternatively you can use dnf to add this repo:
We provide repositories for latest releases and latest builds from master (suite postfixed with -unstable
) for openSUSE Leap 15.3
For our stable repository with our latest releases:
NOTE: stable packages will be available as of the
0.9.8
release.
For our latest builds from master append -unstable
to the suite name:
We provide an package for Arch Linux through the Arch User Repository
You can either install it using any AUR helper or manually using makepkg
Make you have base-devel
and git
installed (sudo pacman -S base-devel git
)
Then you can install it using the following commands:
To get all packaged plugins, bindings and tools install:
For a small installation with command-line tools available use:
To install all debugsym/debuginfo packages:
If you want to install individual debugsym/debuginfo packages:
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.
Installation for WSL is described here.
If you prefer native but in functionality limited version you can download MinGW 32-bit and 64-bit builds.
Otherwise 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 using the packages from our build server or that you generate your own packages with CPack.
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 not be generated.
First make sure you have debhelper
and d-shlibs
installed:
(Otherwise you'll see an error file utility is not available, breaking CPACK_DEBIAN_PACKAGE_SHLIBDEPS
and CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS
.)
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:
For packaging Fedora has rpmdevtools
as an additional dependency:
When configuring CMake it is also required to set the CMAKE_BUILD_TYPE
to Release
. For instance, a minimal configuration is
To install RPM packages we recommend using yum localinstall
since installing with rpm
doesn't resolve missing dependencies.
Run following command in the build/package
directory:
Depending on the system configuration one might also need to configure and run ldconfig
, for instance
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 plugins and tools that ship with Elektra, additional installation manuals have been written. You can find them in the tutorial overview.