Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
debian:packages [2020-09-03 21:17] GreyWolf [Графический интерфейс] |
debian:packages [2023-12-22 18:51] (текущий) GreyWolf |
||
---|---|---|---|
Строка 4: | Строка 4: | ||
https://wiki.debian.org/ru/UnofficialRepositories | https://wiki.debian.org/ru/UnofficialRepositories | ||
+ | |||
+ | **https://www.apt-browse.org/** | ||
===== Debian Backports ===== | ===== Debian Backports ===== | ||
Строка 54: | Строка 56: | ||
Локальная документация: ''/usr/share/doc/Debian/apt-howto'' | Локальная документация: ''/usr/share/doc/Debian/apt-howto'' | ||
- | ====== Ссылки на источники обновлений ====== | ||
- | ''/etc/apt/sourcs.list'' | + | {{anchor:sourcs_list}} |
+ | ====== Ссылки на источники обновлений ====== | ||
+ | Основной файл: ''/etc/apt/sourcs.list'' | ||
+ | Области: | ||
+ | * ''main'' | ||
+ | * ''contrib'' | ||
+ | * ''non-free'' - для "несвободных" пакетов, например для пакетов с драйверами, прошивками | ||
===== wheezy ===== | ===== wheezy ===== | ||
<hidden wheezy> | <hidden wheezy> | ||
Строка 82: | Строка 89: | ||
deb http://archive.debian.org/debian/ wheezy main | deb http://archive.debian.org/debian/ wheezy main | ||
deb-src http://archive.debian.org/debian/ wheezy main | deb-src http://archive.debian.org/debian/ wheezy main | ||
- | deb http://security.debian.org/ wheezy/updates main contrib | + | #deb http://security.debian.org/ wheezy/updates main contrib |
- | deb-src http://security.debian.org/ wheezy/updates main contrib | + | #deb-src http://security.debian.org/ wheezy/updates main contrib |
</code> | </code> | ||
и выполнить [[#обновление списка]] пакетов командой: | и выполнить [[#обновление списка]] пакетов командой: | ||
Строка 160: | Строка 167: | ||
deb http://security.debian.org/ buster/updates main | deb http://security.debian.org/ buster/updates main | ||
deb-src http://security.debian.org/ buster/updates main | deb-src http://security.debian.org/ buster/updates main | ||
+ | |||
+ | deb http://deb.debian.org/debian/ buster-backports main contrib non-free | ||
+ | deb-src http://deb.debian.org/debian/ buster-backports main contrib non-free | ||
</code> | </code> | ||
</hidden> | </hidden> | ||
- | ===== Список URL ===== | ||
- | FIXME | ||
- | Список URL, например для работы через [[squid:squid|Squid]] | + | |
- | <code> | + | ===== bullseye ===== |
+ | FIXME | ||
+ | |||
+ | <hidden bullseye> | ||
+ | <code ini sources.list> | ||
+ | # | ||
+ | deb http://mirror.yandex.ru/debian bullseye main | ||
+ | deb-src http://mirror.yandex.ru/debian bullseye main | ||
+ | |||
+ | deb http://mirror.yandex.ru/debian bullseye-updates main | ||
+ | deb-src http://mirror.yandex.ru/debian bullseye-updates main | ||
+ | |||
+ | deb http://security.debian.org/ bullseye-security main | ||
+ | deb-src http://security.debian.org/ bullseye-security main | ||
+ | |||
+ | deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free | ||
+ | deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free | ||
+ | |||
+ | </code> | ||
+ | </hidden> | ||
+ | |||
+ | {{anchor:url_list}} | ||
+ | ===== Список URL ===== | ||
+ | Список URL, например для работы через [[squid:squid#restrict_access_ip_url|Squid]] | ||
+ | <code conf /usr/local/etc/squid/Debian.urls> | ||
security.debian.org | security.debian.org | ||
security-cdn.debian.org | security-cdn.debian.org | ||
Строка 178: | Строка 210: | ||
debian.nsu.ru | debian.nsu.ru | ||
mirror.yandex.ru | mirror.yandex.ru | ||
+ | |||
+ | downloads.sourceforge.net | ||
+ | downloads.sourceforge.net/corefonts | ||
+ | switch.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | mesh.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | dfn.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | heanet.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | jaist.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | nchc.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | ufpr.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | internode.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | voxel.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | kent.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | internap.dl.sourceforge.net/sourceforge/corefonts/ | ||
+ | downloads.sourceforge.net/corefonts | ||
+ | dl.sourceforge.net | ||
+ | deb.debian.org | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | ====== Обновление старых версий ====== | ||
+ | FIXME | ||
+ | |||
+ | Debian 8 (Jessie) | ||
+ | <code> | ||
+ | deb http://archive.debian.org/debian/ jessie main contrib non-free | ||
+ | deb http://archive.debian.org/debian-security jessie/updates main contrib non-free | ||
+ | </code> | ||
+ | Иногда для Debian 8 (jessie) нужен пакет ''apt-transport-https'' | ||
+ | |{{:debian:apt-transport-https_1.0.9.8.4_amd64.deb|apt-transport-https (amd64)}}| [[http://archive.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.4_amd64.deb|оригинал]]| | ||
+ | |{{:debian:apt-transport-https_1.0.9.8.4_i386.deb|apt-transport-https (i386)}}| [[http://archive.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.4_i386.deb|оригинал]]| | ||
+ | |||
+ | Debian 9 (Stretch) | ||
+ | <code> | ||
+ | deb http://archive.debian.org/debian/ stretch main contrib non-free | ||
+ | deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free | ||
+ | deb http://archive.debian.org/debian-security stretch/updates main contrib non-free | ||
</code> | </code> | ||
+ | [[https://setiwik.ru/repozitorii-debian-sources-list-dlya-kazhdogo-vypuska/|Репозитории Debian, sources.list для каждого выпуска - Список]] | ||
Строка 222: | Строка 293: | ||
- | ====== Установка пакета из определённого репозитария ====== | + | ====== Установка пакета из определённого репозитория ====== |
- | <code>apt-get -t ИМЯ_РЕПОЗИТАРИЯ install ИМЯ_ПАКЕТА</code> | + | <code>apt-get -t ИМЯ_РЕПОЗИТОРИЯ install ИМЯ_ПАКЕТА</code> |
Строка 265: | Строка 336: | ||
- | ====== Добавление репозитария ====== | + | ====== Добавление репозитория ====== |
FIXME | FIXME | ||
Строка 323: | Строка 394: | ||
- Выполнить [[#обновление списка пакетов и самих пакетов]] | - Выполнить [[#обновление списка пакетов и самих пакетов]] | ||
- | Чтобы поставить пакет нужно выполнить [[#установка пакета из определённого репозитария|установку с указанием репозитария]] ''unstable'' | + | Чтобы поставить пакет нужно выполнить [[#установка пакета из определённого репозитория|установку с указанием репозитория]] ''unstable'' |
Пример: | Пример: | ||
Строка 363: | Строка 434: | ||
[[https://sysadmin.ru/articles/ustanovka-deb-paketa-so-vsemi-zavisimostyami|Установка deb пакета со всеми зависимостями]] | [[https://sysadmin.ru/articles/ustanovka-deb-paketa-so-vsemi-zavisimostyami|Установка deb пакета со всеми зависимостями]] | ||
+ | [[https://www.debian.org/doc/debian-policy/index.html|Debian Policy Manual]] | ||
- | {{tag>Debian Debian_Package_Tool}} | + | [[https://serveradmin.ru/nastrojka-repozitoriev-v-debian/|Настройка репозиториев в Debian | serveradmin.ru]] |
+ | {{tag>Debian Debian_Package_Tool}} |