aboutsummaryrefslogtreecommitdiff
path: root/content/docs/freebsd/switch-to-latest.md
blob: 1f707f753b065599e2e7078d4e7fd3f46a93d1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Switch from quarterly to latest
description: How to switch your FreeBSD install from the quarterly release cycle to latest
tags:
- FreeBSD
---

## Introduction

I find that the few days I have to wait before a security update that is already available through the FreeBSD latest release cycle before it is also available in quarterly to be a little stressful. I don't really care for the bleeding edge but I would rather have these security updates as soon as possible.

## How to

```
mkdir -p /usr/local/etc/pkg/repos
echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
sed -e 's/^FreeBSD:/latest:/' -e 's/quarterly/latest/'  /etc/pkg/FreeBSD.conf > /etc/pkg/latest.conf
pkg upgrade
```