---
type: concept
title: Apt-Proxy
tags: [debian, caching, update-service]
related: [transparent-proxy, apt-cache.uni-greifswald.de, update-service]
created: 2026-06-30
updated: 2026-06-30
sources: ["output/rz_uni_greifswald_de_dienste_allgemein_sonstiges_update_service_debian_apt_proxy.md"]
---
# Apt-Proxy

An **Apt-Proxy** is a caching server used by Debian-based Linux distributions to store copies of downloaded packages locally. This reduces the amount of external bandwidth required and accelerates the update process for multiple machines on the same network.

## URZ Implementation
The [[universitatsrechenzentrum-urz]] provides a central Apt-Proxy service to optimize package management for university systems.

### Technical Configuration
The service is implemented as a [[transparent-proxy]], allowing users to activate it without modifying their `sources.list`.

**Configuration Steps:**
1. Navigate to the directory: `/etc/apt/apt.conf.d/`
2. Create a file named `02urz`.
3. Add the following configuration line:
   `Acquire::http::Proxy "http://apt-cache.uni-greifswald.de:3142";`

Once configured, all standard `apt` update and installation commands will transparently route through [[apt-cache.uni-greifswald.de]].
