blob: 19158eb216929365b661e6860f1847ae086ef735 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# 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.
|