# Zorin OS mirror (pkg.shecan.ir)

> Mirror of packages.zorinos.com (/stable/, /patches/, /apps/, /drivers/ with dists/<ubuntu codename>/) for apt on Zorin OS 16 to 18. The Ubuntu base comes from mirror-ubuntu.

- Upstream: packages.zorinos.com
- Mirror URL: <https://mirror-zorin.pkg.shecan.ir/stable/>
- Clients: apt
- Service status: <https://pkg.shecan.ir/status.json> (key `zorin`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/zorin/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/zorin.json>

## Limitations

- apt still verifies Zorin's signature.
- /premium/ (Zorin OS Pro) needs a login and is not mirrored.

## Setup

Every block below is the exact text of the Persian guide. Unless marked otherwise it is run against the live mirror in a disposable container on every catalog change; "checked by hand" blocks cannot run in a container. Change a machine only with its owner's permission: back up existing configuration first, merge into existing files instead of overwriting them, and keep the "Undo" step at hand.

### apt: persistent (user- or system-wide configuration)

Run, Zorin OS 17 and 18 (linux) (checked by hand)

```sh
sudo cp /etc/apt/sources.list.d/zorin.list /etc/apt/sources.list.d/zorin.list.bak
sudo sed -i -E 's#https?://packages\.zorinos\.com/(stable|patches|apps|drivers)#https://mirror-zorin.pkg.shecan.ir/\1#' /etc/apt/sources.list.d/zorin.list
sudo apt update
```

Undo / restore the default, Zorin OS 17 and 18 (linux)

```sh
sudo mv /etc/apt/sources.list.d/zorin.list.bak /etc/apt/sources.list.d/zorin.list
```
