\subsection*{Linux}

For the following Linux distributions and package managers 0.\+8 packages are available\+:


\begin{DoxyItemize}
\item \href{https://aur.archlinux.org/packages/elektra/}{\tt Arch Linux}
\item \href{https://github.com/openwrt/packages/tree/master/libs/elektra}{\tt Openwrt}
\item \href{https://software.opensuse.org/package/elektra}{\tt Open\+Suse}
\item \href{https://packages.debian.org/de/jessie/libelektra4}{\tt Debian}
\item \href{https://launchpad.net/ubuntu/+source/elektra}{\tt Ubuntu}
\item \href{http://packages.gentoo.org/package/app-admin/elektra}{\tt Gentoo}
\item \href{https://community.linuxmint.com/software/view/elektra-bin}{\tt Linux Mint}
\item \href{https://github.com/Linuxbrew/homebrew-core/blob/master/Formula/elektra.rb}{\tt Linux\+Brew}
\item \href{https://pkgs.alpinelinux.org/package/edge/testing/x86_64/elektra}{\tt Alpine Linux}
\end{DoxyItemize}

Available, but not up-\/to-\/date\+:


\begin{DoxyItemize}
\item \href{http://svnweb.mageia.org/packages/updates/1/elektra/}{\tt Mageia}
\item \href{https://admin.fedoraproject.org/pkgdb/package/elektra/}{\tt Fedora}
\end{DoxyItemize}

For \href{https://build.opensuse.org/package/show/home:bekun:devel/elektra}{\tt Open\+S\+U\+SE, Cent\+OS, Fedora, R\+H\+EL and S\+LE} Kai-\/\+Uwe Behrmann kindly provides packages \href{http://software.opensuse.org/download.html?project=home%3Abekun%3Adevel&package=libelektra4}{\tt for download}.

\subsubsection*{Debian}

To use the debian repository of the latest builds from master put following files in {\ttfamily /etc/apt/sources.list}.

For Jessie\+: \begin{DoxyVerb}    deb     [trusted=yes] https://debian-stable.libelektra.org/elektra-stable/ jessie main
    deb-src [trusted=yes] https://debian-stable.libelektra.org/elektra-stable/ jessie main
\end{DoxyVerb}


For Wheezy (not updated anymore, contains 0.\+8.\+19-\/8121 packages)\+: \begin{DoxyVerb}    deb     [trusted=yes] https://build.libelektra.org/debian/ wheezy main
    deb-src [trusted=yes] https://build.libelektra.org/debian/ wheezy main
\end{DoxyVerb}


If you want to rebuild Elektra from Debian unstable or our repositories, add a {\ttfamily deb-\/src} entry to {\ttfamily /etc/apt/sources.list} and then run\+: \begin{DoxyVerb}    apt-get source -b elektra
\end{DoxyVerb}


To build Debian Packages from the source you might want to use\+: \begin{DoxyVerb}    dpkg-buildpackage -us -uc -sa
\end{DoxyVerb}


(You need to be in the Debian branch, see \hyperlink{doc_GIT_md}{G\+IT})

\subsection*{mac\+OS}

You can install Elektra using \href{http://brew.sh}{\tt Homebrew} via the shell command\+:


\begin{DoxyCode}
brew install elektra
\end{DoxyCode}


. We also provide a tap containing a more elaborate formula \href{http://github.com/ElektraInitiative/homebrew-elektra}{\tt here}.

\subsection*{Generic}

First follow the steps in \hyperlink{doc_COMPILE_md}{C\+O\+M\+P\+I\+LE}.

To install Elektra use\+: \begin{DoxyVerb}    sudo make install
    sudo ldconfig  # See troubleshooting below
\end{DoxyVerb}


To uninstall Elektra use (will not be very clean, e.\+g. it will not remove directories and {\ttfamily $\ast$.pyc} files)\+: \begin{DoxyVerb}    sudo make uninstall
    sudo ldconfig
\end{DoxyVerb}


or in the build directory (will not honor D\+E\+S\+T\+D\+I\+R!)\+: \begin{DoxyVerb}    xargs rm < install_manifest.txt
\end{DoxyVerb}


\subsection*{C\+Pack}

First follow the steps in \hyperlink{doc_COMPILE_md}{C\+O\+M\+P\+I\+LE}.

Then use\+: \begin{DoxyVerb}    cpack
\end{DoxyVerb}


which should create a package for distributions where a Generator is implemented. See \href{/home/markus/Projekte/Elektra/current/cmake/ElektraPackaging.cmake}{\tt this cmake file} for available Generators and send a merge request for your system.

\subsection*{Troubleshooting}

\subsubsection*{Error Loading Libraries}

If you encounter the problem that the library can not be found (output like this) \begin{DoxyVerb}    kdb: error while loading shared libraries:
         libelektra-core.so.4: cannot open shared object file: No such file or directory
\end{DoxyVerb}


or\+: \begin{DoxyVerb}    kdb: error while loading shared libraries:
         libelektratools.so.2: cannot open shared object file: No such file or directory
\end{DoxyVerb}


you need to place a configuration file at {\ttfamily /etc/ld.so.\+conf.\+d/} (e.\+g. {\ttfamily /etc/ld.so.\+conf.\+d/elektra.conf}).

Add the path where the library has been installed \begin{DoxyVerb}    /usr/lib/local/
\end{DoxyVerb}


and run {\ttfamily ldconfig} as root.

\subsection*{Installation Manuals}

For some of the plugins and tools that ship with Elektra, additional installation manuals have been written. You can find them in the \hyperlink{md_doc_tutorials_README_doc_tutorials_README_md}{tutorial overview}.

\subsection*{See also}


\begin{DoxyItemize}
\item \hyperlink{doc_COMPILE_md}{C\+O\+M\+P\+I\+LE}.
\item \hyperlink{doc_TESTING_md}{T\+E\+S\+T\+I\+NG}. 
\end{DoxyItemize}