Apt/sources.list
From Lapis Wiki
Bu makale NASIL bölümü serisinin bir parçasıdır
|
| MasaÜstü • Donanım • Ağ • Dağıtımlar |
| Tarayıcılar• Programlama • Linux ve Oyunlar |
Konu başlıkları |
Giriş
Debian paket sistemi APT depo kaynağı olarak /etc/apt/sources.list dosyasını kullanır. APT'yi yönlendireceğimiz ve istediğimiz paketleri bulmasını istediğimiz depo adreslerini bu dosya içerisine gireriz. Böylelikle vereceğimiz APT komutlarında bu dosya baz alınarak tarama yapılacak ve buna göre kullandığımız mevcut sistemin bağımlılıkları tespit edilip kurulumlar gerçekleşecektir.
Debian sistemi temel depoları aktif edildiğinde yaklaşık 15000 ile 17000 arası pakete ulaşım sağlar. Bu sayı eklenebilecek diğer depo adreslerine göre artabilir.
Sources.list Dosyasını Düzenlemek
burada kullanılabilecek editor seçenekleri sistemde yüklü olması durumuna göre nano,vi,pico,gedit,mousepad veya leafpad olabilir. Dosya açıldığında en temel bazlı görüntü bu olacaktır. (Örnektir)
#Debian Stable Deposu #deb http://ftp.tr.debian.org/debian/ stable main contrib non-free #Debian Testing Deposu #deb ftp://ftp.tr.debian.org/debian/ testing main contrib non-free
Yukarıda gördüğümüz örnek satırlarda dikkate alınmasını istemediğimiz kısımları diyez ile kapatmış bulunuyoruz. Bu şekilde yorumlamamız gerekecekse yukarıdaki liste olduğu gibi kullanılırsa Debian Stable deposunu kullanacaktır.
Sources.list içerisinde yapılan herhangi bir değişikliğin aktif olması için önce bu kaynakları güncellemeniz gerekmektedir.Bunun için update komutunu kullanırız.
apt-get update
Debian örnek Sources.list Dosyaları
Debian stable, testing ve unstable sürümleri İçin örnek Sources.list dosyası
Bu liste içerisinde kullanmak isteyeceğiniz deponun başındaki diyezi kaldırıp listeyi update komutuyla güncellemeniz gerekmektedir.
#Debian Stable #deb http://ftp.tr.debian.org/debian/ stable main contrib non-free #deb-src http://ftp.tr.debian.org/debian stable main contrib non-free #deb http://security.debian.org/ stable/updates main contrib non-free #deb-src http://security.debian.org/ stable/updates main contrib non-free
#Debian Testing #deb http://security.debian.org/ testing/updates main contrib non-free #deb-src http://security.debian.org/ testing/updates main contrib non-free #deb http://ftp.tr.debian.org/debian/ testing main contrib non-free #deb-src http://ftp.tr.debian.org/debian/ testing main contrib non-free
#Debian Unstable # deb ftp://ftp.tr.debian.org/debian/ unstable main contrib non-free # deb-src ftp://ftp.tr.debian.org/debian/ unstable main contrib non-free
Debian E17 Pencere yöneticisi (unstable için)
# deb http://edevelop.org/debian/ unstable main
E17 için gpg anahtarı yüklemek
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 03CA4243 apt-key add /root/.gnupg/pubring.gpg
Debian Multimedia[1] java Flash Win32 codecleri gibi paketler bulunur
#Debian stable # deb http://www.debian-multimedia.org stable main # deb-src http://www.debian-multimedia.org stable main
#Debian Testing # deb http://www.debian-multimedia.org testing main # deb-src http://www.debian-multimedia.org testing main
#Debian Unstable # deb http://www.debian-multimedia.org unstable main # deb-src http://www.debian-multimedia.org unstable main
Debian Multimedia gpg anahtarını yüklemek
apt-get update apt-get install debian-multimedia-keyring apt-get update
Ubuntu İçin Örnek Sources.list Dosyaları
Ubuntuda root kullanıcısı disable edildiği için sudo komutu ile root haklarına sahip olunarak işlemler yapılabilir. Sources.listi düzenlemek için ;
sudo nano /etc/apt/sources.list
Dapper 6.0.6 İçin :
## GENEL ARŞİV deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
## FİNAL SÜRÜM SONRASI HATA UPDATE DEPOSU deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
## UBUNTU GÜVENLİK GÜNCELLEMELERİ deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
## BACKPORTS DEPOSU(Desteklenmez ve İllegal Paketler İçerir.Kullanma Riski Size Ait.) deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
Breezy 5.10 İçin :
deb http://tr.archive.ubuntu.com/ubuntu/ breezy universe main restricted multiverse deb http://tr.archive.ubuntu.com/ubuntu/ breezy-security universe main restricted multiverse deb http://tr.archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
#backports #deb http://tr.archive.ubuntu.com/ubuntu breezy-backports main universe multiverse restricted
#backports-extras #deb http://ubuntu-backports.mirrormax.net/ breezy-extras main universe multiverse restricted
#Penguin Liberation Front #deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
#wine #deb http://wine.sourceforge.net/apt/ binary/
#opera web browser #deb http://deb.opera.com/opera/ etch non-free
#OO2 final #deb http://people.ubuntu.com/~doko/OOo2 ./
Fedora Core 4 Örnek Sources.list Dosyası
Dag Deposunu Eklemek
gedit /etc/apt/sources.list.d/dag.list
# Name: Dag RPM Repository # URL: http://dag.wieers.com/apt/ ### Dag RPM Repository for Fedora Core rpm http://apt.sw.be fedora/4/en/i386 dag
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
FreshRPM Deposunu Eklemek
gedit /etc/apt/sources.list.d/freshrpms.list
# Name: FreshRPMS # URL: http://ayo.freshrpms.net/ ### Fedora Core rpm http://ayo.freshrpms.net fedora/linux/4/i386 freshrpms
rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
Dries Deposunu Eklemek
gedit /etc/apt/sources.list.d/dries.list
# Name: Dries RPM Repository # URL: http://dries.studentenweb.org/apt/ ### Fedora Core rpm http://apt.sw.be dries/fedora/fc4/i386 dries
rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt
apt-get update
SuSE için sources.list dosya örnekleri
SuSE 9.3
- Genel Depolar
rpm http://ftp4.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 rpmkeys base update-drpm update-prpm
update kde gnome misc mozilla openoffice samba3 ximian suser-rbos suser-jengelh jacklab
suser-oc2pus suser-guru suser-gbv usr-local-bin suser-tcousin suser-scorot suser-scrute
suser-jogley suser-ollakka funktronics packman packman-i686 kernel-of-the-day wine
suse-people suse-projects kde-unstable security-prpm security
rpm-src http://ftp4.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 rpmkeys base update-drpm update-prpm
update kde gnome misc mozilla openoffice samba3 ximian suser-rbos suser-jengelh jacklab
suser-oc2pus suser-guru suser-gbv usr-local-bin suser-tcousin suser-scorot suser-scrute
suser-jogley suser-ollakka funktronics packman packman-i686 kernel-of-the-day wine suse-people
suse-projects kde-unstable security-prpm security
SuSE 10.0
- Genel Depolar
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/10.0-i386 rpmkeys base java update-drpm update-prpm
update extra suser-agirardet suser-rbos suser-crauch suser-jengelh suser-guru usr-local-bin
suser-scorot suser-jogley packman packman-i686 kernel-of-the-day wine suse-people suse-projects
kde-unstable security-prpm security
rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/10.0-i386 rpmkeys base java update-drpm update-prpm
update extra suser-agirardet suser-rbos suser-crauch suser-jengelh suser-guru usr-local-bin
suser-scorot suser-jogley packman packman-i686 kernel-of-the-day wine suse-people suse-projects
kde-unstable security-prpm security
- Packman Deposu
İlk önce GPG anahtarını içe aktarın:
lynx --dump ftp://ftp.links2linux.de/pub/packman/public-keys.asc | gpg --import
Sonra aşağıdakileri ilave edin
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt packman packman-i686 rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt packman packman-i686
- /usr/local/bin Deposu
# This line for production servers: rpm ftp://ftp4.gwdg.de/pub/linux/suse/apt/ SuSE/10.0-i386 security update # Base packages - the default install media contents rpm ftp://ftp4.gwdg.de/pub/linux/suse/apt/ SuSE/10.0-i386 base # RPM keys - to ensure packages are signed correctly rpm ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/10.0-i386 rpmkeys
Apt İle İlgili Diğer Konular
- Nasıl : Apt-Get
- APT Önyüzleri:
-
dpkg - APT Pinning
Linkler
İç Linkler
- Lapis Forum Apt Başlığı, Konu Ile Ilgili Fikirlerinizi paylaşmak için
- Lapis Forum Debian Başlığı, Debian Hakkında Soru ve Sorunlarınız İçin
- Lapis Forum Ubuntu Başlığı, Ubuntu Hakkında Soru ve Sorunlarınız İçin
Dış Linkler
- Unofficial Apt-Get, Unofficial olarak oluşturulmuş paket depo adresleri.
- Sources.list Generator, Ubuntu İçin Sources.list Oluşturan Site
- UbuntuForums Sources.list, Ubuntu Depolarının Alındığı Yer
- Fedora Core 4 APT, Stanton Finley
