wiki:TorRelayGuide/RPMUpdates

Version 5 (modified by cypherpunks, 9 months ago) (diff)

removed mentioning Fedora 22 (long gone)

This wiki page attempts to describe how to configure an RPM-based distribution for automatic updates of tor or, if preferred, how to perform a manual update of tor.

Enabling Automatic Updates

Fedora

You can enable automatic updates via:

dnf install dnf-automatic

In /etc/dnf/automatic.conf set:

apply_updates = yes

Now enable and start automatic updates via:

systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer

CentOS and RHEL

For CentOS, RHEL, and older versions of Fedora, the yum-cron package is the preferred approach:

yum install yum-cron

In /etc/yum/yum-cron.conf set:

apply_updates = yes

Enable and start automatic updates via:

systemctl start yum-cron.service

Performing Manual Updates

You should be able to perform manual updates with yum or dnf depending on the package manager available on your system. Using yum:

yum update tor

or using dnf:

dnf upgrade tor

Note: dnf has an update command, but this is just a deprecated alias for the new upgrade command.