You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+115
Original file line number
Diff line number
Diff line change
@@ -110,3 +110,118 @@ Do the following when releasing:
110
110
- Commit, create a new git tag, like `1.0.0-rc123`, and push.
111
111
- In the Java binding build.gradle.kts, replace `version = "1.0.0-rc123"` with `version = "1.0.0-SNAPSHOT"` (i.e. undo the change). For an example of this, see [this commit](https://github.com/mongodb/libmongocrypt/commit/2336123fbc1f4f5894f49df5e6320040987bb0d3) and its parent commit.
112
112
- Commit and push.
113
+
114
+
## Installing libmongocrypt From Distribution Packages ##
115
+
Distribution packages (i.e., .deb/.rpm) are built and published for several Linux distributions. The installation of these packages for supported platforms is documented here.
116
+
117
+
### .deb Packages (Debian and Ubuntu) ###
118
+
119
+
First, import the public key used to sign the package repositories:
120
+
121
+
```
122
+
sudo sh -c 'curl -s https://www.mongodb.org/static/pgp/libmongocrypt.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg'
123
+
```
124
+
125
+
Second, create a list entry for the repository. For Ubuntu systems (be sure to change `<release>` to `xenial` or `bionic`, as appropriate to your system):
126
+
127
+
```
128
+
echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu <release>/libmongocrypt/1.0 universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
129
+
```
130
+
131
+
For Debian systems (be sure to change `<release>` to `stretch` or `buster`, as appropriate to your system):
132
+
133
+
```
134
+
echo "deb https://libmongocrypt.s3.amazonaws.com/apt/debian <release>/libmongocrypt/1.0 main" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
135
+
```
136
+
137
+
Third, update the package cache:
138
+
139
+
```
140
+
sudo apt-get update
141
+
```
142
+
143
+
Finally, install the libmongocrypt packages:
144
+
145
+
```
146
+
sudo apt-get install -y libmongocrypt-dev
147
+
```
148
+
149
+
### .rpm Packages (RedHat, Suse, and Amazon) ###
150
+
151
+
152
+
#### RedHat Enterprise Linux ####
153
+
154
+
Create the file `/etc/yum.repos.d/libmongocrypt.repo` with contents:
0 commit comments