Instructions on installing sentry-native SDK on linux (ubuntu 22.04) #866
-
Hi there, We would like to install sentry-native SDK on docker containers with ubuntu 22.04. Is there any specific instructions on how to do that? i.e. A step by step guide on how to: 1. Properly download and install the dependencies; 2. How to configure the sentry-native cmake arguments to install to proper system directories such as Also, is there an existing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @tian-yu-ocado! Building and installing the Sentry Native SDK for The process of installing and building the Native SDK is explained here: https://docs.sentry.io/platforms/native/#install. Download the After downloading and extracting the ZIP file, specifically for Ubuntu 22.04, I would recommend installing the following packages first:
Whereas the first two are necessary tools for the build, the latter are dependencies. You can use any A basic build on Linux requires the same steps as you can gather from the install documentation above:
When using No Debian packages are available for But we are always interested in input from the community. Particularly: which use-case do you have that requires using the Native SDK without you being familiar with building and installing libraries from source? Do you not use the Native SDK in a C/C++ project? Do you have a specific environment that complicates the usage of |
Beta Was this translation helpful? Give feedback.
Hi @tian-yu-ocado!
Building and installing the Sentry Native SDK for
docker
is not that different from doing so on a regular Linux host. Fordocker
specifically, our users choose thebreakpad
backend (which is also the default on Linux) because this way, you do not need to maintain a separate process beyond your executables lifetime (as you would have to withcrashpad
with processes crashes via a separate executable which outlives the crashed process).The process of installing and building the Native SDK is explained here: https://docs.sentry.io/platforms/native/#install. Download the
sentry-native.zip
since it will contain vendored source dependencies.After downloading and extracting t…