« DEBIAN » : différence entre les versions
De TwisterWiki
Aucun résumé des modifications |
(→Jessie) |
||
(28 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
= mirroirs | == Les différents mirroirs Debian == | ||
=== Distibutions === | |||
==== sarge ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/debian/ sarge main contrib non-free | deb http://archive.debian.org/debian/ sarge main contrib non-free | ||
deb-src http://archive.debian.org/debian/ sarge main contrib non-free | deb-src http://archive.debian.org/debian/ sarge main contrib non-free | ||
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free | deb http://archive.debian.org/debian-security sarge/updates main contrib non-free | ||
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free | |||
= | </source> | ||
==== etch ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/debian/ etch main contrib non-free | deb http://archive.debian.org/debian/ etch main contrib non-free | ||
deb-src http://archive.debian.org/debian/ etch main contrib non-free | deb-src http://archive.debian.org/debian/ etch main contrib non-free | ||
deb http://archive.debian.org/debian-security etch/updates main contrib non-free | deb http://archive.debian.org/debian-security etch/updates main contrib non-free | ||
deb-src http://archive.debian.org/debian-security etch/updates main contrib non-free | |||
</source> | |||
==== lenny ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/debian/ lenny main contrib non-free | |||
deb-src http://archive.debian.org/debian/ lenny main contrib non-free | |||
deb http://archive.debian.org/debian-security lenny/updates main contrib non-free | |||
deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free | |||
</source> | |||
==== squeeze ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/debian/ squeeze main non-free contrib | |||
deb-src http://archive.debian.org/debian/ squeeze main non-free contrib | |||
deb http://archive.debian.org/debian-security squeeze/updates main contrib non-free | |||
deb-src http://archive.debian.org/debian-security squeeze/updates main contrib non-free | |||
deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0 | |||
deb http://ftp.igh.cnrs.fr/pub/mariadb/repo/5.5/debian squeeze main | |||
Support LTS | |||
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free | |||
deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free | |||
</source> | |||
Il faut créer le fichier /etc/apt/apt.conf.d/apt.conf | |||
APT::Default-Release "squeeze-lts"; | |||
echo "APT::Default-Release \"squeeze-lts\";" >/etc/apt/apt.conf.d/apt.conf && echo "deb http://http.debian.net/debian/ squeeze-lts main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free" >>/etc/apt/sources.list && apt-get update && apt-get install bash debian-keyring | |||
==== wheezy ==== | |||
<source lang="c"> | |||
deb http://ftp.fr.debian.org/debian/ wheezy main non-free contrib | |||
deb-src http://ftp.fr.debian.org/debian/ wheezy main non-free contrib | |||
deb http://security.debian.org/ wheezy/updates main contrib non-free | |||
deb-src http://security.debian.org/ wheezy/updates main contrib non-free | |||
deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0 | |||
deb http://ftp.igh.cnrs.fr/pub/mariadb/repo/5.5/debian wheezy main | |||
</source> | |||
= | === Dotdeb === | ||
<source lang="c"> | |||
deb http://packages.dotdeb.org stable all | deb http://packages.dotdeb.org stable all | ||
</source> | |||
= | === Backports === | ||
deb http://backports.debian.org/debian | ==== sarge ==== | ||
deb http://backports.debian.org/debian-backports | <source lang="c"> | ||
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free | |||
</source> | |||
==== etch ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/backports.org etch-backports main contrib non-free | |||
</source> | |||
==== lenny ==== | |||
<source lang="c"> | |||
deb http://archive.debian.org/backports.org lenny-backports main contrib non-free | |||
</source> | |||
==== squeeze ==== | |||
<source lang="c"> | |||
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free | |||
</source> | |||
= Commandes apt = | |||
=== Depot Dell === | |||
<source lang="c"> | |||
deb http://linux.dell.com/repo/community/deb/latest / | |||
</source> | |||
== Commandes apt == | |||
apt-get install paquet=version (ex : 5.4.10) | apt-get install paquet=version (ex : 5.4.10) | ||
== utiliser un repos testing == | |||
=== Jessie === | |||
* Ajout du dépot testing | |||
<source lang="c"> | |||
deb http://http.debian.net/debian testing main | |||
</source> | |||
* baisser la priorité de testing pour eviter la mise à jour complète du système | |||
** /etc/apt/preferences.d/testing | |||
<source lang="c"> | |||
Package: * | |||
Pin: release a=testing | |||
Pin-Priority: 50 | |||
</source> | |||
<source lang="c"> | |||
apt update | |||
</source> | |||
*installation d'un paquet | |||
<source lang="c"> | |||
apt install paquet -t testing | |||
</source> | |||
[[category:système]] | |||
[[category:Linux]] |
Dernière version du 29 novembre 2016 à 15:07
Les différents mirroirs Debian
Distibutions
sarge
deb http://archive.debian.org/debian/ sarge main contrib non-free
deb-src http://archive.debian.org/debian/ sarge main contrib non-free
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
etch
deb http://archive.debian.org/debian/ etch main contrib non-free
deb-src http://archive.debian.org/debian/ etch main contrib non-free
deb http://archive.debian.org/debian-security etch/updates main contrib non-free
deb-src http://archive.debian.org/debian-security etch/updates main contrib non-free
lenny
deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free
deb http://archive.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free
squeeze
deb http://archive.debian.org/debian/ squeeze main non-free contrib
deb-src http://archive.debian.org/debian/ squeeze main non-free contrib
deb http://archive.debian.org/debian-security squeeze/updates main contrib non-free
deb-src http://archive.debian.org/debian-security squeeze/updates main contrib non-free
deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0
deb http://ftp.igh.cnrs.fr/pub/mariadb/repo/5.5/debian squeeze main
Support LTS
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free
Il faut créer le fichier /etc/apt/apt.conf.d/apt.conf
APT::Default-Release "squeeze-lts";
echo "APT::Default-Release \"squeeze-lts\";" >/etc/apt/apt.conf.d/apt.conf && echo "deb http://http.debian.net/debian/ squeeze-lts main contrib non-free" >> /etc/apt/sources.list && echo "deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free" >>/etc/apt/sources.list && apt-get update && apt-get install bash debian-keyring
wheezy
deb http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0
deb http://ftp.igh.cnrs.fr/pub/mariadb/repo/5.5/debian wheezy main
Dotdeb
deb http://packages.dotdeb.org stable all
Backports
sarge
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
etch
deb http://archive.debian.org/backports.org etch-backports main contrib non-free
lenny
deb http://archive.debian.org/backports.org lenny-backports main contrib non-free
squeeze
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
Depot Dell
deb http://linux.dell.com/repo/community/deb/latest /
Commandes apt
apt-get install paquet=version (ex : 5.4.10)
utiliser un repos testing
Jessie
- Ajout du dépot testing
deb http://http.debian.net/debian testing main
- baisser la priorité de testing pour eviter la mise à jour complète du système
- /etc/apt/preferences.d/testing
Package: *
Pin: release a=testing
Pin-Priority: 50
apt update
- installation d'un paquet
apt install paquet -t testing