3 title: Installing the Binder Daemon
5 https://raw.githubusercontent.com/automotive-grade-linux/docs-sources/master/agl-documentation/host-configuration/docs/3-installing-binder-daemon.md
8 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/host-configuration-developer-guides-devguides-book.yml -->
10 # Installing the Binder Daemon
12 The Application Framework Binder Daemon (`afb-daemon`), which is a part of
13 the AGL Application Framework, provides a way to connect applications to
15 It provides a fast way to securely offer APIs to applications that are
16 written in any language and that can run almost anywhere.
18 You can learn more about the AGL Application Framework in the
19 "[AGL Framework Overview](../../apis_services/reference/af-main/0-introduction.html)"
21 You can learn more about the `aft-daemon` in the
22 "[Binder Overview](../../apis_services/reference/af-binder/afb-overview.html)"
25 ## Installing on Debian
27 Use the following commands if your native Linux machine uses the Debian
31 sudo apt-get install agl-app-framework-binder-dev
34 ## Installing on OpenSUSE
36 Use the following commands if your native Linux machine uses the OpenSUSE
40 sudo zypper install agl-app-framework-binder-devel
43 ## Installing on Fedora
45 Use the following commands if your native Linux machine uses the Fedora
49 sudo dnf install agl-app-framework-binder-devel
52 ## Setting Your Environment Variables
54 Regardless of your system's distribution, you need to set certain environment
55 variables correctly in order to use the daemon (i.e. `app-framework-binder`).
57 Commands that define and export these environment variables exist in the
58 `agl-app-framework-binder.sh` file, which is created when
59 you install the daemon:
62 #---------- AGL %{name} options Start ---------"
63 # Object: AGL cmake option for binder/bindings
64 export LD_LIBRARY_PATH=/opt/AGL/lib64:${LD_LIBRARY_PATH}
65 export LIBRARY_PATH=/opt/AGL/lib64:${LIBRARY_PATH}
66 export PKG_CONFIG_PATH=/opt/AGL/lib64/pkgconfig:${PKG_CONFIG_PATH}
67 export PATH=/opt/AGL/bin:$PATH
68 #---------- AGL options End ---------
71 You can make sure these environment variables are correctly set by doing
74 * **Logout and Log Back In:**
76 Logging out and then logging back in correctly sets the environment
79 * **Manually Source the `agl-app-framework-binder.sh` File:**
81 Source the following command:
84 source /etc/profile.d/agl-app-framework-binder.sh
88 Creating a new session automatically sources the `agl-app-framework-binder.sh`