X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2F3_Developer_Guides%2F2_Building_Microservices_Natively%2F3_installing-binder-daemon.md;fp=docs%2F3_Developer_Guides%2F2_Building_Microservices_Natively%2F3_installing-binder-daemon.md;h=0000000000000000000000000000000000000000;hb=eefc3ab6cbb8a5901632f46d99e13c8d90b2415d;hp=094cb18b58dd42d4ae4db4d5c6e8f13ff9ae3177;hpb=4aad369c9728061c97b3de792286e743ee884b09;p=AGL%2Fdocumentation.git diff --git a/docs/3_Developer_Guides/2_Building_Microservices_Natively/3_installing-binder-daemon.md b/docs/3_Developer_Guides/2_Building_Microservices_Natively/3_installing-binder-daemon.md deleted file mode 100644 index 094cb18..0000000 --- a/docs/3_Developer_Guides/2_Building_Microservices_Natively/3_installing-binder-daemon.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -edit_link: '' -title: Installing the Binder Daemon -origin_url: >- - https://raw.githubusercontent.com/automotive-grade-linux/docs-sources/master/agl-documentation/host-configuration/docs/3-installing-binder-daemon.md ---- - - - -# Installing the Binder Daemon - -The Application Framework Binder Daemon (`afb-daemon`), which is a part of -the AGL Application Framework, provides a way to connect applications to -required services.\ -It provides a fast way to securely offer APIs to applications that are -written in any language and that can run almost anywhere. - -You can learn more about the AGL Application Framework in the -"[AGL Framework Overview](../../apis_services/reference/af-main/0-introduction.html)" -section.\ -You can learn more about the `aft-daemon` in the -"[Binder Overview](../../apis_services/reference/af-binder/afb-overview.html)" -section. - -## Installing on Debian - -Use the following commands if your native Linux machine uses the Debian -distribution: - -```bash -sudo apt-get install agl-app-framework-binder-dev -``` - -## Installing on OpenSUSE - -Use the following commands if your native Linux machine uses the OpenSUSE -distribution: - -```bash -sudo zypper install agl-app-framework-binder-devel -``` - -## Installing on Fedora - -Use the following commands if your native Linux machine uses the Fedora -distribution: - -```bash -sudo dnf install agl-app-framework-binder-devel -``` - -## Setting Your Environment Variables - -Regardless of your system's distribution, you need to set certain environment -variables correctly in order to use the daemon (i.e. `app-framework-binder`). - -Commands that define and export these environment variables exist in the -`agl-app-framework-binder.sh` file, which is created when -you install the daemon: - -```bash -#---------- AGL %{name} options Start ---------" -# Object: AGL cmake option for binder/bindings -export LD_LIBRARY_PATH=/opt/AGL/lib64:${LD_LIBRARY_PATH} -export LIBRARY_PATH=/opt/AGL/lib64:${LIBRARY_PATH} -export PKG_CONFIG_PATH=/opt/AGL/lib64/pkgconfig:${PKG_CONFIG_PATH} -export PATH=/opt/AGL/bin:$PATH -#---------- AGL options End --------- -``` - -You can make sure these environment variables are correctly set by doing -one of the following: - -* **Logout and Log Back In:** - - Logging out and then logging back in correctly sets the environment - variables. - -* **Manually Source the `agl-app-framework-binder.sh` File:** - - Source the following command: - - ```bash - source /etc/profile.d/agl-app-framework-binder.sh - ``` - - **NOTE:** - Creating a new session automatically sources the `agl-app-framework-binder.sh` - file.