How To Install syslog-ng-dbg on Ubuntu 20.04

In this tutorial we learn how to install syslog-ng-dbg on Ubuntu 20.04. syslog-ng-dbg is Enhanced system logging daemon (debug symbols)

Introduction

In this tutorial we learn how to install syslog-ng-dbg on Ubuntu 20.04.

What is syslog-ng-dbg

syslog-ng-dbg is:

syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, message queues, databases (SQL and NoSQL alike) and more.

Key features:

  • receive and send RFC3164 and RFC5424 style syslog messages
  • work with any kind of unstructured data
  • receive and send JSON formatted messages
  • classify and structure logs with builtin parsers (csv-parser(), db-parser(), etc.)
  • normalize, crunch and process logs as they flow through the system
  • hand on messages for further processing using message queues (like AMQP), files or databases (like PostgreSQL or MongoDB).

This package contains debug symbols for the whole of syslog-ng, including the modules. Build-Ids: 0068e9a3dd873f3a3934a34ad882421f7fe3b2fa 046f19574019f1664900c10aa4ecd8bf3aaf88da 05329de3b1c81e3cb9a587a93e91686169225810 0826a9c986c27f007286e58a1c95357805ed0a9e 0a1d22c50e82555b68853bbd9bf5634cf3b999a8 14e69868f4b73fbab8b22a7e4dd685c4582e206a 18f8f5fab0bcc590d68619b4e81a2733749978e9 1dbe3b7cec89f5295e07322c96e869e1635b6812 23e3ed27adc71c49f337e8d454e1082e47d37752 24f221449026cef80e1e36f427a6ac6459d465a1 282e2785c098d2d866389eac2e4c20373521d3c8 3080a6d4554dc5c48a5a677df9ac1294fbac6e99 31f585f8dcedf13845d91cff6998c10460136cf0 36ee282f798cbb03819570560205e1cd955d3bfb 38852097165194b6e45d1c7814d77e67a47f40dc 3d2fe1fd4fec3030dba56660a98eadaf62353765 48de8ca2696c3b9d99e20ad232cd6c783d421194 4a8eb292cf0b5256d9ee1145d1f6a00ad014c5be 52c15bb213d3a5a876c54ede167422d3a5121af7 5b89d28a8ee63f683f9630d7d098a6c4dc531cf8 601d89f9d83fd00f5eb88fa75dbf0972807700f5 6025907b99357073786478992da3e85f5033b62a 609e7896311451cc4893d5e366b29846baf32ae9 612bca715711b640ff082c2f6380be5b8517959a 616b97ff88cec32ae00aa196a1af8f2b2ee8c009 67f09d556e01dcae18efcdba5038b8924c712834 6abec4928ed601e3cf9939e1135f5d01472d4788 6ed6d454472ab0515f222be7595e95e3eb313fe2 7272560da71c8d89862548e4eb8947536f77f933 7ed7f5f4b9632742ee5c9b9ad2986e704eeef51f 7f3b5142f6e3a06b2d7f8ba093a7766c4fbd5fe5 858da3e0f5458e435cfc4f9db6d0899d32bc97e7 88243ec5cc4fe7b60dd04ccb4644d377e2ed38cf 8e44443f4db8584e8624859a177ee65b93868271 9217d43222a896bba258c6559c71382789b6c0d9 972d52720ddb06778d7002c6bededa9e3670c776 9a4d4d3b38cd9fa53c520b4c5219e22e3d0416a0 a069336444cf76deb3f08157d6f32528610aa198 a5fa5eb0be9df56a153c5806dac0bac39c31df48 a7807d6c513b3d0eff3ab98daa478b1e5e1762ee a87e8e04c6d5843b67df845bf38b599256cb0bda ae65ff3efd72e7fcdb4460f35ca4919f102eb312 b3f586defe90d7663d10c66b45b1807b60b89e4a c5180e951e6cf7a1a430e9624956ca6eae1d395c d6828fa70efa46bd208eb3f4eb0c895d2b4e930b d8a110ab168a00ce2806b5ffe4c2d39eb20c7b0a e7622799af5d44bd392c037c918dd97c293051c2 e89548fbee2b4ef4b22dcc5fddd97e90dc61d719 e95a5ac4fb3fbd842233db2adf55759a95c12443 ea3c4016ae39dfb4422014ad138c484f608e1022 eb6fff8cd18a60651d9fd1ad1567f24b7e5d82c5 ed213bfc835f2ab0dcce64f32a2192f5ee196236 fa9757dd11fbe82639f218296f4ff41830999f48 fded6d1fc159a11552724f81deb07b91963c58f1

There are three methods to install syslog-ng-dbg on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install syslog-ng-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install syslog-ng-dbg using apt-get by running the following command:

sudo apt-get -y install syslog-ng-dbg

Install syslog-ng-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install syslog-ng-dbg using apt by running the following command:

sudo apt -y install syslog-ng-dbg

Install syslog-ng-dbg Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install syslog-ng-dbg using aptitude by running the following command:

sudo aptitude -y install syslog-ng-dbg

How To Uninstall syslog-ng-dbg on Ubuntu 20.04

To uninstall only the syslog-ng-dbg package we can use the following command:

sudo apt-get remove syslog-ng-dbg

Uninstall syslog-ng-dbg And Its Dependencies

To uninstall syslog-ng-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove syslog-ng-dbg

Remove syslog-ng-dbg Configurations and Data

To remove syslog-ng-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge syslog-ng-dbg

Remove syslog-ng-dbg configuration, data, and all of its dependencies

We can use the following command to remove syslog-ng-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge syslog-ng-dbg

References

Summary

In this tutorial we learn how to install syslog-ng-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.