---
title: "Adding Debian Buster Backports repo to RaspberryPi for tor"
date: "2021-02-05T22:05:47Z"
lastmod: "2021-02-05T22:05:47Z"
authors:
  - "utzer"
tags:
  - "apt"
  - "debian"
  - "linux"
  - "tor"
categories:
  - "Linux"
  - "tor"
canonical_url: "https://newblog.utzer.de/2021/02/05/adding-debian-buster-backports-repo-to-raspberrypi-for-tor/"
---

1. Add key

```
curl https://ftp-master.debian.org/keys/archive-key-10.asc | gpg --import
gpg --export DC30D7C23CBBABEE | apt-key add -
```

The fingerprint (DC30D7C23CBBABEE) given is the one that the first command outputs, which is the fingerprint of the key downloaded by curl.

2\. Add repo

```
echo "deb http://deb.debian.org/debian buster-backports main" |sudo tee /etc/apt/sources.list.d/deb_buster_backports.list
```

1. run apt update/upgrade
1. Install tor, I did this by:

```
apt-get install -o Dpkg::Options::="--force-confold" -y tor
```

