Installation is usually as simple as saying

$ sudo yum install rsyslog


$ sudo apt-get install rsyslog

However, distributions usually provide rather old versions of rsyslog, and so there are chances you want to have something newer. In that case, you need to either use the rsyslog project’s own packages, a distribution tarball or build directly from repo. All of this is detailled in this chapter.