{"id":33553,"date":"2025-11-04T08:40:58","date_gmt":"2025-11-04T05:40:58","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/?p=33553"},"modified":"2025-11-04T08:40:58","modified_gmt":"2025-11-04T05:40:58","slug":"ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/","title":{"rendered":"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber"},"content":{"rendered":"<p><body><\/p>\n<h2>Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber<\/h2>\n<p>Linux tabanl\u0131 i\u015fletim sistemleri, yaz\u0131l\u0131m kurulumu ve y\u00f6netimi konusunda benzersiz bir esneklik ve kontrol sunar. Bu esnekli\u011fin temelinde paket y\u00f6neticileri yatar. \u00d6zellikle Debian ve Ubuntu gibi pop\u00fcler da\u011f\u0131t\u0131mlarda kullan\u0131lan Geli\u015fmi\u015f Paket Arac\u0131 (Advanced Package Tool &#8211; APT), sistem y\u00f6neticileri ve son kullan\u0131c\u0131lar i\u00e7in yaz\u0131l\u0131m d\u00fcnyas\u0131n\u0131 basitle\u015ftiren g\u00fc\u00e7l\u00fc bir mekanizmad\u0131r. Bu makale, APT&#8217;nin temel bile\u015fenleri olan <code>apt-get<\/code> ve <code>apt-cache<\/code> komutlar\u0131n\u0131 derinlemesine inceleyerek, Ubuntu ve Debian sistemlerinde paket y\u00f6netiminin inceliklerini kapsaml\u0131 bir \u015fekilde a\u00e7\u0131klamay\u0131 ama\u00e7lamaktad\u0131r.<\/p>\n<h3>Giri\u015f: Paket Y\u00f6netimi Neden \u00d6nemlidir?<\/h3>\n<p>Bir i\u015fletim sisteminde yaz\u0131l\u0131m kurmak, g\u00fcncellemek veya kald\u0131rmak, basit bir i\u015flem gibi g\u00f6r\u00fcnse de, arka planda bir\u00e7ok karma\u015f\u0131k s\u00fcreci bar\u0131nd\u0131r\u0131r. Her yaz\u0131l\u0131m\u0131n kendi ba\u011f\u0131ml\u0131l\u0131klar\u0131 (\u00e7al\u0131\u015fmas\u0131 i\u00e7in ihtiya\u00e7 duydu\u011fu di\u011fer yaz\u0131l\u0131mlar veya k\u00fct\u00fcphaneler) vard\u0131r ve bu ba\u011f\u0131ml\u0131l\u0131klar\u0131n do\u011fru versiyonlarda ve do\u011fru yerlerde bulunmas\u0131 gerekir. Manuel olarak bu ba\u011f\u0131ml\u0131l\u0131klar\u0131 takip etmek ve y\u00f6netmek neredeyse imkans\u0131zd\u0131r. \u0130\u015fte tam bu noktada paket y\u00f6neticileri devreye girer.<\/p>\n<p>Paket y\u00f6neticisi, yaz\u0131l\u0131mlar\u0131 &#8220;paket&#8221; ad\u0131 verilen organize edilmi\u015f formatlarda tutar. Bu paketler, yaz\u0131l\u0131m\u0131n kendisi, yap\u0131land\u0131rma dosyalar\u0131, belgeler ve ba\u011f\u0131ml\u0131l\u0131k bilgileri gibi t\u00fcm gerekli bile\u015fenleri i\u00e7erir. Paket y\u00f6neticisi, bu paketleri merkezi depolardan (repository) indirir, ba\u011f\u0131ml\u0131l\u0131klar\u0131 otomatik olarak \u00e7\u00f6zer, kurulumu ger\u00e7ekle\u015ftirir, g\u00fcncellemeleri y\u00f6netir ve gerekti\u011finde yaz\u0131l\u0131mlar\u0131 g\u00fcvenli bir \u015fekilde kald\u0131r\u0131r. Bu sayede, kullan\u0131c\u0131lar yaz\u0131l\u0131m y\u00f6netimi konusunda b\u00fcy\u00fck bir y\u00fckten kurtulur ve sistem kararl\u0131l\u0131\u011f\u0131 sa\u011flan\u0131r.<\/p>\n<p>Debian ve Ubuntu ekosisteminde APT, bu g\u00f6revi \u00fcstlenen ana sistemdir. <code>apt-get<\/code> ve <code>apt-cache<\/code> ise APT&#8217;nin komut sat\u0131r\u0131 aray\u00fcz\u00fcnde kullan\u0131lan en temel ve g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131d\u0131r. Bu iki komut, sisteminizdeki yaz\u0131l\u0131mlar \u00fczerinde tam kontrol sa\u011flaman\u0131za olanak tan\u0131r.<\/p>\n<h3>APT&#8217;yi Anlamak: Depolar ve Paket Ba\u011f\u0131ml\u0131l\u0131klar\u0131<\/h3>\n<p>APT&#8217;nin \u00e7al\u0131\u015fma prensibini anlamak i\u00e7in iki ana kavram\u0131 kavramak \u00f6nemlidir: depolar (repositories) ve paket ba\u011f\u0131ml\u0131l\u0131klar\u0131.<\/p>\n<h4>Depolar (Repositories)<\/h4>\n<p>Depolar, yaz\u0131l\u0131m paketlerinin depoland\u0131\u011f\u0131 merkezi sunuculard\u0131r. Debian ve Ubuntu, resmi depolar\u0131n\u0131n yan\u0131 s\u0131ra, topluluk taraf\u0131ndan desteklenen veya \u00fc\u00e7\u00fcnc\u00fc taraf geli\u015ftiriciler taraf\u0131ndan sa\u011flanan ek depolar\u0131 da kullan\u0131r. Sisteminiz, hangi depolardan paket indirece\u011fini <code>\/etc\/apt\/sources.list<\/code> dosyas\u0131ndan ve <code>\/etc\/apt\/sources.list.d\/<\/code> dizini alt\u0131ndaki dosyalardan \u00f6\u011frenir. Bu dosyalar, her bir depo i\u00e7in bir URL, da\u011f\u0131t\u0131m ad\u0131 (\u00f6rne\u011fin, <code>focal<\/code> veya <code>bullseye<\/code>) ve bile\u015fenler (\u00f6rne\u011fin, <code>main<\/code>, <code>universe<\/code>, <code>restricted<\/code>, <code>multiverse<\/code>) listeler.<\/p>\n<p>Bir depo ekledi\u011finizde veya kald\u0131rd\u0131\u011f\u0131n\u0131zda, sisteminizin paket listelerini g\u00fcncellemesi gerekir. Bu, <code>apt-get update<\/code> komutuyla yap\u0131l\u0131r ve sisteminize hangi paketlerin hangi versiyonlar\u0131n\u0131n mevcut oldu\u011fu bilgisini getirir. Bu bilgiler, yerel bir \u00f6nbellekte saklan\u0131r ve <code>apt-cache<\/code> komutlar\u0131n\u0131n sorgulad\u0131\u011f\u0131 veritaban\u0131n\u0131 olu\u015fturur.<\/p>\n<h4>Paket Ba\u011f\u0131ml\u0131l\u0131klar\u0131<\/h4>\n<p>\u00c7o\u011fu yaz\u0131l\u0131m, \u00e7al\u0131\u015fmak i\u00e7in ba\u015fka yaz\u0131l\u0131mlara veya k\u00fct\u00fcphanelere ihtiya\u00e7 duyar. \u00d6rne\u011fin, bir medya oynat\u0131c\u0131n\u0131n ses kodeklerine veya grafik k\u00fct\u00fcphanelerine ihtiyac\u0131 olabilir. Bu ili\u015fkiler &#8220;ba\u011f\u0131ml\u0131l\u0131klar&#8221; olarak adland\u0131r\u0131l\u0131r. Bir paketi kurmaya \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131zda, APT otomatik olarak bu paketin t\u00fcm ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 kontrol eder ve e\u011fer sistemde mevcut de\u011fillerse, onlar\u0131 da kurar. Bu, &#8220;ba\u011f\u0131ml\u0131l\u0131k \u00e7\u00f6zme&#8221; olarak bilinir ve paket y\u00f6neticilerinin en kritik i\u015flevlerinden biridir. Ba\u011f\u0131ml\u0131l\u0131klar do\u011fru bir \u015fekilde y\u00f6netilmedi\u011finde, yaz\u0131l\u0131mlar \u00e7al\u0131\u015fmaz veya sistem karars\u0131z hale gelir. APT, bu karma\u015f\u0131k s\u00fcreci kullan\u0131c\u0131 i\u00e7in \u015feffaf hale getirir.<\/p>\n<h3>Temel Apt-Get Komutlar\u0131: G\u00fcncelleme, Kurulum ve Kald\u0131rma<\/h3>\n<p><code>apt-get<\/code>, sisteminizdeki paketleri y\u00f6netmek i\u00e7in kullan\u0131lan ana komut sat\u0131r\u0131 arac\u0131d\u0131r. \u0130\u015fte en s\u0131k kullan\u0131lan <code>apt-get<\/code> komutlar\u0131:<\/p>\n<h4><code>sudo apt-get update<\/code><\/h4>\n<p>Bu komut, sisteminizin depolar\u0131ndan yeni paket listelerini indirir. <strong>Paketleri g\u00fcncellemez<\/strong>, yaln\u0131zca hangi paketlerin hangi versiyonlar\u0131n\u0131n mevcut oldu\u011fu bilgisini yerel \u00f6nbelle\u011fe \u00e7eker. Herhangi bir paket kurmadan veya y\u00fckseltmeden \u00f6nce bu komutu \u00e7al\u0131\u015ft\u0131rmak hayati \u00f6nem ta\u015f\u0131r, \u00e7\u00fcnk\u00fc aksi takdirde sisteminiz eski paket listeleriyle \u00e7al\u0131\u015f\u0131r ve en yeni yaz\u0131l\u0131mlar\u0131 veya g\u00fcncellemeleri g\u00f6remeyebilir.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get update<\/code><\/pre>\n<h4><code>sudo apt-get upgrade<\/code><\/h4>\n<p><code>update<\/code> komutundan sonra, <code>upgrade<\/code> komutu sisteminizdeki kurulu paketleri yeni versiyonlar\u0131na y\u00fckseltir. Bu komut, mevcut paketleri yaln\u0131zca yeni versiyonlar\u0131 mevcutsa y\u00fckseltir ve <strong>yeni paketler kurmaz veya mevcut paketleri kald\u0131rmaz<\/strong>. Ba\u011f\u0131ml\u0131l\u0131k de\u011fi\u015fiklikleri nedeniyle y\u00fckseltilemeyen paketleri atlar. Bu, genellikle g\u00fcvenli bir y\u00fckseltme y\u00f6ntemidir.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get upgrade<\/code><\/pre>\n<h4><code>sudo apt-get dist-upgrade<\/code><\/h4>\n<p><code>dist-upgrade<\/code> (distribution upgrade) komutu, <code>upgrade<\/code>&#8216;den daha kapsaml\u0131d\u0131r. Bu komut, ba\u011f\u0131ml\u0131l\u0131k de\u011fi\u015fikliklerini ak\u0131ll\u0131ca ele alarak, gerekli durumlarda yeni paketler kurabilir veya mevcut paketleri kald\u0131rabilir. Bu, \u00f6zellikle bir Ubuntu s\u00fcr\u00fcm\u00fcnden di\u011ferine (\u00f6rne\u011fin, 20.04&#8217;ten 22.04&#8217;e) y\u00fckseltme yaparken kullan\u0131l\u0131r. Ancak, dikkatli kullan\u0131lmal\u0131d\u0131r, \u00e7\u00fcnk\u00fc sisteminizde \u00f6nemli de\u011fi\u015fikliklere yol a\u00e7abilir.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get dist-upgrade<\/code><\/pre>\n<h4><code>sudo apt-get install <paket_ad\u0131><\/code><\/h4>\n<p>Bu komut, belirtilen paketi ve onun t\u00fcm ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 sisteminize kurar. Birden fazla paketi ayn\u0131 anda kurmak i\u00e7in paket adlar\u0131n\u0131 bo\u015flukla ay\u0131rarak listeleyebilirsiniz.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get install firefox\nsudo apt-get install apache2 mysql-server php libapache2-mod-php<\/code><\/pre>\n<p>Belirli bir paketin belirli bir s\u00fcr\u00fcm\u00fcn\u00fc kurmak isterseniz, paket ad\u0131ndan sonra <code>=<\/code> i\u015faretini ve s\u00fcr\u00fcm numaras\u0131n\u0131 ekleyebilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo apt-get install firefox=102.0.1+build1-0ubuntu0.20.04.1<\/code><\/pre>\n<p>Kurulum s\u0131ras\u0131nda \u00f6nerilen veya tavsiye edilen paketleri dahil etmek istemiyorsan\u0131z, <code>--no-install-recommends<\/code> veya <code>--no-install-suggests<\/code> se\u00e7eneklerini kullanabilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo apt-get install --no-install-recommends <paket_ad\u0131><\/code><\/pre>\n<h4><code>sudo apt-get remove <paket_ad\u0131><\/code><\/h4>\n<p>Bu komut, belirtilen paketi sistemden kald\u0131r\u0131r, ancak paketin yap\u0131land\u0131rma dosyalar\u0131n\u0131 genellikle saklar. Bu, paketi daha sonra tekrar kurarsan\u0131z, eski ayarlar\u0131n\u0131z\u0131n geri y\u00fcklenmesini sa\u011flar.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get remove firefox<\/code><\/pre>\n<h4><code>sudo apt-get purge <paket_ad\u0131><\/code><\/h4>\n<p><code>remove<\/code> komutunun aksine, <code>purge<\/code> komutu paketi ve onunla ili\u015fkili t\u00fcm yap\u0131land\u0131rma dosyalar\u0131n\u0131 sistemden tamamen kald\u0131r\u0131r. Bu, paketin izlerini tamamen silmek istedi\u011finizde kullan\u0131\u015fl\u0131d\u0131r.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get purge firefox<\/code><\/pre>\n<h4><code>sudo apt-get autoremove<\/code><\/h4>\n<p>Bir paketi kald\u0131rd\u0131\u011f\u0131n\u0131zda, onunla birlikte kurulan ancak art\u0131k ba\u015fka hi\u00e7bir paket taraf\u0131ndan kullan\u0131lmayan ba\u011f\u0131ml\u0131l\u0131klar sistemde kalabilir. <code>autoremove<\/code> komutu, bu &#8220;art\u0131k&#8221; ba\u011f\u0131ml\u0131l\u0131klar\u0131 otomatik olarak tespit eder ve kald\u0131r\u0131r. Bu, disk alan\u0131ndan tasarruf etmenizi ve sisteminizi temiz tutman\u0131z\u0131 sa\u011flar.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get autoremove<\/code><\/pre>\n<h4><code>sudo apt-get clean<\/code><\/h4>\n<p><code>apt-get clean<\/code> komutu, <code>apt<\/code>&#8216;nin yerel deposundan indirilen t\u00fcm paket dosyalar\u0131n\u0131 (<code>.deb<\/code> uzant\u0131l\u0131 dosyalar) temizler. Bu dosyalar <code>\/var\/cache\/apt\/archives\/<\/code> dizininde saklan\u0131r ve daha sonraki kurulumlar veya y\u00fckseltmeler i\u00e7in kullan\u0131labilir. Ancak, zamanla bu dizin olduk\u00e7a b\u00fcy\u00fcyebilir. Bu komut, bu \u00f6nbelle\u011fi tamamen bo\u015falt\u0131r.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get clean<\/code><\/pre>\n<h4><code>sudo apt-get autoclean<\/code><\/h4>\n<p><code>autoclean<\/code> komutu, <code>clean<\/code>&#8216;e benzer, ancak yaln\u0131zca art\u0131k indirilemeyen veya kullan\u0131lamayan eski paket dosyalar\u0131n\u0131 temizler. \u00d6rne\u011fin, bir paketin yeni bir s\u00fcr\u00fcm\u00fc yay\u0131nland\u0131\u011f\u0131nda, eski s\u00fcr\u00fcm\u00fcn <code>.deb<\/code> dosyas\u0131 <code>autoclean<\/code> taraf\u0131ndan kald\u0131r\u0131labilir. Bu, <code>clean<\/code> kadar agresif de\u011fildir ve genellikle daha g\u00fcvenli bir temizleme y\u00f6ntemidir.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get autoclean<\/code><\/pre>\n<h3>Geli\u015fmi\u015f Apt-Get Kullan\u0131m\u0131<\/h3>\n<p><code>apt-get<\/code> sadece temel kurulum ve kald\u0131rma i\u015flemlerinden ibaret de\u011fildir. Daha spesifik senaryolar i\u00e7in \u00e7e\u015fitli geli\u015fmi\u015f se\u00e7enekler sunar:<\/p>\n<h4><code>sudo apt-get build-dep <paket_ad\u0131><\/code><\/h4>\n<p>Bir yaz\u0131l\u0131m\u0131n kaynak kodundan derlenmesi gerekti\u011finde, o yaz\u0131l\u0131m\u0131n derlenmesi i\u00e7in gerekli olan t\u00fcm ba\u011f\u0131ml\u0131l\u0131k paketlerini (build dependencies) kurman\u0131z gerekir. <code>build-dep<\/code> komutu, bunu otomatik olarak yapar.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get build-dep vlc<\/code><\/pre>\n<h4><code>sudo apt-get download <paket_ad\u0131><\/code><\/h4>\n<p>Bu komut, bir paketi kurmadan yaln\u0131zca <code>.deb<\/code> dosyas\u0131n\u0131 indirir. Bu, paketi \u00e7evrimd\u0131\u015f\u0131 bir makineye aktarmak veya manuel olarak kurmak istedi\u011finizde faydal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get download firefox<\/code><\/pre>\n<h4><code>sudo apt-get check<\/code><\/h4>\n<p><code>check<\/code> komutu, sisteminizdeki bozuk ba\u011f\u0131ml\u0131l\u0131klar\u0131 kontrol eder. Herhangi bir tutars\u0131zl\u0131k tespit ederse, bunlar\u0131 size bildirir.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get check<\/code><\/pre>\n<h4><code>sudo apt-get source <paket_ad\u0131><\/code><\/h4>\n<p>Bu komut, belirtilen paketin kaynak kodunu indirir. Geli\u015ftiriciler veya merakl\u0131 kullan\u0131c\u0131lar i\u00e7in faydal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get source firefox<\/code><\/pre>\n<h4><code>sudo apt-get --fix-broken install<\/code><\/h4>\n<p>Bazen paket ba\u011f\u0131ml\u0131l\u0131klar\u0131 bozulabilir ve sisteminiz yeni paketleri kurmay\u0131 veya mevcutlar\u0131 y\u00fckseltmeyi reddedebilir. Bu komut, bozuk ba\u011f\u0131ml\u0131l\u0131klar\u0131 onarmaya \u00e7al\u0131\u015f\u0131r ve genellikle bu t\u00fcr sorunlar\u0131 \u00e7\u00f6zer.<\/p>\n<pre><code class=\"language-bash\">sudo apt-get --fix-broken install<\/code><\/pre>\n<h3>Apt-Cache ile Ke\u015fif: Paket Bilgilerini Sorgulama<\/h3>\n<p><code>apt-cache<\/code>, APT&#8217;nin yerel paket \u00f6nbelle\u011fini sorgulamak ve paketler hakk\u0131nda bilgi edinmek i\u00e7in kullan\u0131lan bir ara\u00e7t\u0131r. Kurulum veya kald\u0131rma i\u015flemi yapmaz, sadece bilgi sa\u011flar.<\/p>\n<h4><code>apt-cache search <anahtar_kelime><\/code><\/h4>\n<p>Bu komut, yerel paket \u00f6nbelle\u011finde belirtilen anahtar kelimeyi i\u00e7eren paketleri arar. Hem paket adlar\u0131nda hem de paket a\u00e7\u0131klamalar\u0131nda arama yapar. Bu, belirli bir i\u015flevi yerine getiren yaz\u0131l\u0131mlar\u0131 bulmak i\u00e7in \u00e7ok kullan\u0131\u015fl\u0131d\u0131r.<\/p>\n<pre><code class=\"language-bash\">apt-cache search firewall<\/code><\/pre>\n<h4><code>apt-cache show <paket_ad\u0131><\/code><\/h4>\n<p>Bir paket hakk\u0131nda ayr\u0131nt\u0131l\u0131 bilgi almak i\u00e7in <code>show<\/code> komutunu kullan\u0131n. Bu, paketin a\u00e7\u0131klamas\u0131, versiyonu, boyutu, ba\u011f\u0131ml\u0131l\u0131klar\u0131, geli\u015ftiricisi ve di\u011fer meta verileri gibi bilgileri g\u00f6sterir.<\/p>\n<pre><code class=\"language-bash\">apt-cache show firefox<\/code><\/pre>\n<h4><code>apt-cache policy <paket_ad\u0131><\/code><\/h4>\n<p><code>policy<\/code> komutu, bir paketin hangi versiyonlar\u0131n\u0131n hangi depolardan mevcut oldu\u011funu ve sisteminizin o anda hangi versiyonu kuraca\u011f\u0131n\u0131 g\u00f6sterir. Bu, \u00f6zellikle ayn\u0131 paketin farkl\u0131 versiyonlar\u0131 farkl\u0131 depolarda mevcut oldu\u011funda veya bir paketin neden belirli bir versiyonunun kuruldu\u011funu anlamak istedi\u011finizde faydal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-bash\">apt-cache policy firefox<\/code><\/pre>\n<p>\u00c7\u0131kt\u0131da, kurulu versiyon, aday versiyon (kurulabilecek en y\u00fcksek \u00f6ncelikli versiyon) ve di\u011fer mevcut versiyonlar listelenir.<\/p>\n<h4><code>apt-cache depends <paket_ad\u0131><\/code><\/h4>\n<p>Bu komut, belirtilen paketin do\u011frudan ve dolayl\u0131 t\u00fcm ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 listeler. Bu, bir paketin neden bu kadar \u00e7ok ba\u015fka paketi de beraberinde getirdi\u011fini anlaman\u0131za yard\u0131mc\u0131 olur.<\/p>\n<pre><code class=\"language-bash\">apt-cache depends vlc<\/code><\/pre>\n<h4><code>apt-cache rdepends <paket_ad\u0131><\/code><\/h4>\n<p><code>rdepends<\/code> (reverse depends) komutu, <code>depends<\/code>&#8216;in tersidir. Belirtilen pakete ba\u011f\u0131ml\u0131 olan di\u011fer paketleri listeler. Yani, bu paketi kald\u0131r\u0131rsan\u0131z hangi di\u011fer paketlerin etkilenece\u011fini g\u00f6sterir.<\/p>\n<pre><code class=\"language-bash\">apt-cache rdepends libssl-dev<\/code><\/pre>\n<h4><code>apt-cache stats<\/code><\/h4>\n<p>Bu komut, APT&#8217;nin yerel \u00f6nbelle\u011fi hakk\u0131nda istatistiksel bilgiler sa\u011flar. \u00d6rne\u011fin, ka\u00e7 paket oldu\u011fu, ka\u00e7 ba\u011f\u0131ml\u0131l\u0131k ili\u015fkisi oldu\u011fu gibi verileri g\u00f6sterir.<\/p>\n<pre><code class=\"language-bash\">apt-cache stats<\/code><\/pre>\n<h4><code>apt-cache pkgnames<\/code><\/h4>\n<p>Sisteminizdeki t\u00fcm mevcut paketlerin adlar\u0131n\u0131 listeler. Genellikle <code>grep<\/code> ile birlikte belirli bir deseni aramak i\u00e7in kullan\u0131l\u0131r.<\/p>\n<pre><code class=\"language-bash\">apt-cache pkgnames | grep ^lib<\/code><\/pre>\n<h3>Depo Y\u00f6netimi<\/h3>\n<p>Depolar, APT&#8217;nin kalbidir. Onlar\u0131 do\u011fru y\u00f6netmek, sisteminizin g\u00fcvenli\u011fini ve yaz\u0131l\u0131m eri\u015filebilirli\u011fini sa\u011flar.<\/p>\n<h4><code>sources.list<\/code> Dosyas\u0131<\/h4>\n<p>Ana depo yap\u0131land\u0131rma dosyas\u0131 <code>\/etc\/apt\/sources.list<\/code>&#8216;tir. Genellikle, her sat\u0131r bir depo giri\u015fini temsil eder ve \u015fu formatta olur:<br \/>\n<code>deb [options] uri distribution components<\/code><br \/>\nveya<br \/>\n<code>deb-src [options] uri distribution components<\/code><\/p>\n<p>*   <code>deb<\/code>: \u0130kili (binary) paketler i\u00e7in.<br \/>\n*   <code>deb-src<\/code>: Kaynak kod paketleri i\u00e7in.<br \/>\n*   <code>uri<\/code>: Deponun URL&#8217;si.<br \/>\n*   <code>distribution<\/code>: Da\u011f\u0131t\u0131m\u0131n kod ad\u0131 (\u00f6rne\u011fin, <code>focal<\/code>, <code>jammy<\/code>, <code>bullseye<\/code>).<br \/>\n*   <code>components<\/code>: Deponun b\u00f6l\u00fcmleri (<code>main<\/code>, <code>restricted<\/code>, <code>universe<\/code>, <code>multiverse<\/code>).<\/p>\n<p>\u00d6rnek bir giri\u015f:<br \/>\n<code>deb http:\/\/archive.ubuntu.com\/ubuntu focal main restricted universe multiverse<\/code><\/p>\n<p>Ek depolar genellikle <code>\/etc\/apt\/sources.list.d\/<\/code> dizini alt\u0131ndaki ayr\u0131 <code>.list<\/code> dosyalar\u0131nda bulunur. Bu, yap\u0131land\u0131rmay\u0131 daha mod\u00fcler hale getirir.<\/p>\n<h4>Yeni Depo Ekleme (PPA&#8217;lar ve Di\u011ferleri)<\/h4>\n<p>Ubuntu&#8217;da, genellikle &#8220;Ki\u015fisel Paket Ar\u015fivleri&#8221; (Personal Package Archives &#8211; PPA) ad\u0131 verilen \u00fc\u00e7\u00fcnc\u00fc taraf depolar\u0131 eklemek i\u00e7in <code>add-apt-repository<\/code> komutu kullan\u0131l\u0131r. Bu komut <code>software-properties-common<\/code> paketinin bir par\u00e7as\u0131d\u0131r ve genellikle varsay\u0131lan olarak y\u00fckl\u00fcd\u00fcr.<\/p>\n<pre><code class=\"language-bash\">sudo add-apt-repository ppa:ondrej\/php\nsudo apt-get update<\/code><\/pre>\n<p>Bu komut, hem depo giri\u015fini <code>\/etc\/apt\/sources.list.d\/<\/code> alt\u0131na ekler hem de deponun GPG anahtar\u0131n\u0131 sisteme dahil eder. Di\u011fer depolarda ise GPG anahtar\u0131n\u0131 manuel olarak eklemeniz gerekebilir:<\/p>\n<pre><code class=\"language-bash\">wget -qO - https:\/\/apt.example.com\/KEY.gpg | sudo apt-key add -\necho \"deb https:\/\/apt.example.com\/repo stable main\" | sudo tee \/etc\/apt\/sources.list.d\/example.list\nsudo apt-get update<\/code><\/pre>\n<p><strong>Not:<\/strong> <code>apt-key<\/code> komutu eski kabul edilmektedir. Yeni y\u00f6ntemler GPG anahtarlar\u0131n\u0131 <code>\/etc\/apt\/trusted.gpg.d\/<\/code> dizinine yerle\u015ftirmeyi \u00f6nerir.<\/p>\n<h4>Depo Kald\u0131rma<\/h4>\n<p>Bir depoyu kald\u0131rmak i\u00e7in, ilgili <code>.list<\/code> dosyas\u0131n\u0131 <code>\/etc\/apt\/sources.list.d\/<\/code> dizininden silmeniz veya <code>\/etc\/apt\/sources.list<\/code> dosyas\u0131ndaki ilgili sat\u0131r\u0131 yorum sat\u0131r\u0131 haline getirmeniz (ba\u015f\u0131na <code>#<\/code> ekleyerek) gerekir. PPA&#8217;lar i\u00e7in <code>add-apt-repository<\/code> komutunu <code>--remove<\/code> se\u00e7ene\u011fiyle kullanabilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo add-apt-repository --remove ppa:ondrej\/php\nsudo apt-get update<\/code><\/pre>\n<p>Depoyu kald\u0131rd\u0131ktan sonra, <code>sudo apt-get update<\/code> komutunu \u00e7al\u0131\u015ft\u0131rmay\u0131 unutmay\u0131n.<\/p>\n<h3>S\u0131k Kar\u015f\u0131la\u015f\u0131lan Sorunlar ve Giderilmesi<\/h3>\n<p>APT ile \u00e7al\u0131\u015f\u0131rken baz\u0131 yayg\u0131n sorunlarla kar\u015f\u0131la\u015fabilirsiniz. \u0130\u015fte bunlardan baz\u0131lar\u0131 ve \u00e7\u00f6z\u00fcmleri:<\/p>\n<h4>&#8220;E: Unable to locate package <paket_ad\u0131>&#8220;<\/h4>\n<p>Bu hata, APT&#8217;nin istedi\u011finiz paketi yerel \u00f6nbelle\u011finde bulamad\u0131\u011f\u0131 anlam\u0131na gelir. Nedenleri \u015funlar olabilir:<br \/>\n*   <strong>Paket ad\u0131 yanl\u0131\u015f yaz\u0131lm\u0131\u015f:<\/strong> Paketin do\u011fru ad\u0131n\u0131 kontrol edin (<code>apt-cache search<\/code> kullan\u0131n).<br \/>\n*   <strong><code>apt-get update<\/code> \u00e7al\u0131\u015ft\u0131r\u0131lmam\u0131\u015f:<\/strong> Yeni paket listelerini indirmek i\u00e7in <code>sudo apt-get update<\/code> komutunu \u00e7al\u0131\u015ft\u0131r\u0131n.<br \/>\n*   <strong>Paket mevcut de\u011fil:<\/strong> \u0130lgili depo sisteminize eklenmemi\u015f olabilir veya paket art\u0131k mevcut olmayabilir. Gerekirse depoyu ekleyin.<br \/>\n*   <strong>\u0130nternet ba\u011flant\u0131s\u0131 yok:<\/strong> Depolara eri\u015fim i\u00e7in internet ba\u011flant\u0131n\u0131z\u0131n oldu\u011fundan emin olun.<\/p>\n<h4>&#8220;E: Broken packages&#8221; veya &#8220;E: Unmet dependencies&#8221;<\/h4>\n<p>Bu hata, sisteminizdeki paketler aras\u0131nda ba\u011f\u0131ml\u0131l\u0131k sorunlar\u0131 oldu\u011fu anlam\u0131na gelir.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo apt-get --fix-broken install<\/code> komutunu deneyin. Bu, bozuk ba\u011f\u0131ml\u0131l\u0131klar\u0131 d\u00fczeltmeye \u00e7al\u0131\u015f\u0131r.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo dpkg --configure -a<\/code> komutunu \u00e7al\u0131\u015ft\u0131r\u0131n. Bu, yar\u0131m kalm\u0131\u015f kurulumlar\u0131 tamamlamaya \u00e7al\u0131\u015f\u0131r.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Belirli bir paketi kald\u0131rman\u0131z gerekiyorsa, <code>sudo apt-get remove <bozuk_paket_ad\u0131><\/code> veya <code>sudo apt-get purge <bozuk_paket_ad\u0131><\/code> komutlar\u0131n\u0131 kullan\u0131n.<\/p>\n<h4>&#8220;E: Hash Sum mismatch&#8221;<\/h4>\n<p>Bu hata, indirilen paket dosyalar\u0131n\u0131n beklenen sa\u011flama toplam\u0131yla (hash sum) e\u015fle\u015fmedi\u011fi anlam\u0131na gelir. Genellikle a\u011f sorunlar\u0131, bozuk \u00f6nbellek veya nadiren depo sorunlar\u0131ndan kaynaklan\u0131r.<br \/>\n<em>   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo rm -rf \/var\/lib\/apt\/lists\/<\/em><\/code> komutuyla APT&#8217;nin \u00f6nbellek listelerini temizleyin ve ard\u0131ndan <code>sudo apt-get update<\/code> komutunu \u00e7al\u0131\u015ft\u0131r\u0131n.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Farkl\u0131 bir ayna (mirror) sunucusu kullanmay\u0131 deneyin.<\/p>\n<h4>Disk Alan\u0131 Sorunlar\u0131<\/h4>\n<p><code>\/boot<\/code> veya <code>\/<\/code> b\u00f6l\u00fcm\u00fcn\u00fczde yeterli alan kalmad\u0131\u011f\u0131nda paket i\u015flemleri ba\u015far\u0131s\u0131z olabilir.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo apt-get autoremove<\/code> komutuyla art\u0131k kullan\u0131lmayan ba\u011f\u0131ml\u0131l\u0131klar\u0131 kald\u0131r\u0131n.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo apt-get clean<\/code> veya <code>sudo apt-get autoclean<\/code> komutlar\u0131yla indirilen paket dosyalar\u0131n\u0131 temizleyin.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Eski \u00e7ekirdekleri (kernel) kald\u0131r\u0131n. <code>dpkg -l | grep linux-image<\/code> komutuyla kurulu \u00e7ekirdekleri listeleyip, <code>sudo apt-get purge linux-image-x.y.z-generic<\/code> ile eski olanlar\u0131 kald\u0131rabilirsiniz (ancak \u00e7al\u0131\u015fan \u00e7ekirde\u011fi silmedi\u011finizden emin olun!).<\/p>\n<h4>GPG Anahtar Hatalar\u0131<\/h4>\n<p>Bir depo ekledi\u011finizde veya <code>apt-get update<\/code> \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda &#8220;NO_PUBKEY&#8221; veya &#8220;GPG error&#8221; gibi hatalar alabilirsiniz. Bu, depoyu do\u011frulayan GPG anahtar\u0131n\u0131n sisteminizde eksik oldu\u011fu veya bozuk oldu\u011fu anlam\u0131na gelir.<br \/>\n*   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Eksik anahtar\u0131 manuel olarak eklemeniz gerekir. Hata mesaj\u0131nda belirtilen anahtar kimli\u011fini (\u00f6rne\u011fin, <code>1234ABCD<\/code>) kullanarak:<br \/>\n    <code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1234ABCD<\/code><br \/>\n    veya daha modern y\u00f6ntemle:<br \/>\n    <code>wget -qO - https:\/\/example.com\/repo.key | sudo gpg --dearmor -o \/etc\/apt\/trusted.gpg.d\/example-archive-keyring.gpg<\/code><br \/>\n    Ard\u0131ndan <code>sudo apt-get update<\/code> komutunu tekrar \u00e7al\u0131\u015ft\u0131r\u0131n.<\/p>\n<h3>Modern <code>apt<\/code> Komutu: Apt-Get ve Apt-Cache&#8217;in Birle\u015fimi<\/h3>\n<p>Son y\u0131llarda, Debian ve Ubuntu sistemlerinde <code>apt-get<\/code> ve <code>apt-cache<\/code> komutlar\u0131n\u0131n bir\u00e7ok i\u015flevini birle\u015ftiren ve kullan\u0131c\u0131 deneyimini iyile\u015ftiren yeni bir komut olan <code>apt<\/code> tan\u0131t\u0131ld\u0131. <code>apt<\/code> komutu, daha kullan\u0131c\u0131 dostu \u00e7\u0131kt\u0131lar sunar ve en s\u0131k kullan\u0131lan <code>apt-get<\/code> ve <code>apt-cache<\/code> i\u015flevlerini tek bir aray\u00fczde toplar.<\/p>\n<h4><code>apt<\/code> Komutunun Avantajlar\u0131:<\/h4>\n<p>*   <strong>Birle\u015fik Aray\u00fcz:<\/strong> <code>apt-get<\/code> ve <code>apt-cache<\/code>&#8216;in en yayg\u0131n kullan\u0131lan \u00f6zelliklerini tek bir komut alt\u0131nda toplar.<br \/>\n*   <strong>Kullan\u0131c\u0131 Dostu \u00c7\u0131kt\u0131:<\/strong> Renkli ilerleme \u00e7ubuklar\u0131, \u00f6zet bilgileri ve daha anla\u015f\u0131l\u0131r mesajlar sunar.<br \/>\n*   <strong>Geli\u015ftirilmi\u015f Arama:<\/strong> <code>apt search<\/code> daha kapsaml\u0131 ve daha iyi formatlanm\u0131\u015f sonu\u00e7lar verir.<\/p>\n<h4>Yayg\u0131n <code>apt<\/code> Komutlar\u0131 ve Kar\u015f\u0131l\u0131klar\u0131:<\/h4>\n<p>*   <code>apt update<\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get update<\/code>)<br \/>\n*   <code>apt upgrade<\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get upgrade<\/code>)<br \/>\n*   <code>apt install <paket_ad\u0131><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get install <paket_ad\u0131><\/code>)<br \/>\n*   <code>apt remove <paket_ad\u0131><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get remove <paket_ad\u0131><\/code>)<br \/>\n*   <code>apt purge <paket_ad\u0131><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get purge <paket_ad\u0131><\/code>)<br \/>\n*   <code>apt autoremove<\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get autoremove<\/code>)<br \/>\n*   <code>apt clean<\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-get clean<\/code>)<br \/>\n*   <code>apt search <anahtar_kelime><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-cache search <anahtar_kelime><\/code>)<br \/>\n*   <code>apt show <paket_ad\u0131><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-cache show <paket_ad\u0131><\/code>)<br \/>\n*   <code>apt policy <paket_ad\u0131><\/code> (kar\u015f\u0131l\u0131\u011f\u0131 <code>apt-cache policy <paket_ad\u0131><\/code>)<\/p>\n<p><code>apt<\/code> komutu, g\u00fcnl\u00fck kullan\u0131m i\u00e7in genellikle tercih edilen ara\u00e7t\u0131r. Ancak, <code>apt-get<\/code> ve <code>apt-cache<\/code> komutlar\u0131 hala tamamen i\u015flevseldir ve \u00f6zellikle betiklerde (script) veya baz\u0131 \u00f6zel durumlarda kullan\u0131lmaya devam etmektedir. \u00d6rne\u011fin, <code>apt-get dist-upgrade<\/code>, <code>apt-get build-dep<\/code> gibi komutlar\u0131n <code>apt<\/code> i\u00e7inde do\u011frudan bir kar\u015f\u0131l\u0131\u011f\u0131 yoktur ve bu senaryolarda <code>apt-get<\/code> hala birincil ara\u00e7t\u0131r.<\/p>\n<h3>En \u0130yi Uygulamalar<\/h3>\n<p>Paket y\u00f6netimini etkin ve g\u00fcvenli bir \u015fekilde s\u00fcrd\u00fcrmek i\u00e7in baz\u0131 en iyi uygulamalar\u0131 takip etmek \u00f6nemlidir:<\/p>\n<p>1.  <strong>D\u00fczenli G\u00fcncelleme:<\/strong> Sisteminizin g\u00fcvenli\u011fini ve kararl\u0131l\u0131\u011f\u0131n\u0131 sa\u011flamak i\u00e7in <code>sudo apt update && sudo apt upgrade<\/code> komutlar\u0131n\u0131 d\u00fczenli olarak \u00e7al\u0131\u015ft\u0131r\u0131n.<br \/>\n2.  <strong>Sistemi Temiz Tutun:<\/strong> <code>sudo apt autoremove<\/code> ve <code>sudo apt clean<\/code> komutlar\u0131n\u0131 periyodik olarak kullanarak disk alan\u0131ndan tasarruf edin ve gereksiz dosyalar\u0131 temizleyin.<br \/>\n3.  <strong>Depolar\u0131 Dikkatli Y\u00f6netin:<\/strong> Yaln\u0131zca g\u00fcvendi\u011finiz kaynaklardan depo ekleyin. Bilinmeyen veya \u015f\u00fcpheli depolar, sisteminizin g\u00fcvenli\u011fini tehlikeye atabilir.<br \/>\n4.  <strong>Kurulum \u00d6ncesi \u0130nceleme:<\/strong> Bir paket kurmadan \u00f6nce, <code>apt-cache show <paket_ad\u0131><\/code> komutuyla paketin ne yapt\u0131\u011f\u0131n\u0131, hangi ba\u011f\u0131ml\u0131l\u0131klar\u0131 oldu\u011funu ve sisteminize ne gibi de\u011fi\u015fiklikler getirece\u011fini inceleyin.<br \/>\n5.  <strong>Yedeklemeler:<\/strong> \u00d6zellikle b\u00fcy\u00fck sistem y\u00fckseltmeleri (dist-upgrade) veya kritik yap\u0131land\u0131rma de\u011fi\u015fiklikleri yapmadan \u00f6nce \u00f6nemli verilerinizi ve yap\u0131land\u0131rma dosyalar\u0131n\u0131z\u0131 yedekleyin.<br \/>\n6.  <strong><code>apt<\/code> Komutunu Tercih Edin:<\/strong> G\u00fcnl\u00fck paket y\u00f6netimi g\u00f6revleri i\u00e7in genellikle <code>apt<\/code> komutunu kullan\u0131n, \u00e7\u00fcnk\u00fc daha kullan\u0131c\u0131 dostudur ve modernle\u015fmi\u015ftir. Ancak <code>apt-get<\/code> ve <code>apt-cache<\/code>&#8216;in derinlemesine yeteneklerini de \u00f6\u011frenmekten \u00e7ekinmeyin.<\/p>\n<h3>Sonu\u00e7<\/h3>\n<p>Ubuntu ve Debian sistemlerinde <code>apt-get<\/code> ve <code>apt-cache<\/code> (ve modern <code>apt<\/code> komutu), yaz\u0131l\u0131m y\u00f6netimi i\u00e7in vazge\u00e7ilmez ara\u00e7lard\u0131r. Bu komutlar, paket kurulumundan kald\u0131rmaya, g\u00fcncellemeden ba\u011f\u0131ml\u0131l\u0131k \u00e7\u00f6z\u00fcmlemeye kadar geni\u015f bir yelpazede i\u015flevsellik sunar. Depolar\u0131n do\u011fru y\u00f6netilmesi, ba\u011f\u0131ml\u0131l\u0131klar\u0131n anla\u015f\u0131lmas\u0131 ve temel komutlar\u0131n etkin bir \u015fekilde kullan\u0131lmas\u0131, her Linux kullan\u0131c\u0131s\u0131 i\u00e7in temel bir beceridir.<\/p>\n<p>Bu kapsaml\u0131 rehber, APT&#8217;nin g\u00fcc\u00fcn\u00fc anlaman\u0131za ve Ubuntu\/Debian sistemlerinizde yaz\u0131l\u0131m y\u00f6netimini ustal\u0131kla ger\u00e7ekle\u015ftirmenize yard\u0131mc\u0131 olmay\u0131 ummaktad\u0131r. Unutmay\u0131n, pratik yapmak ve kar\u015f\u0131la\u015ft\u0131\u011f\u0131n\u0131z sorunlar\u0131 \u00e7\u00f6zmek, bu ara\u00e7lara hakim olman\u0131n en iyi yoludur. APT ekosistemi s\u00fcrekli geli\u015fti\u011fi i\u00e7in, yeni \u00f6zellikler ve en iyi uygulamalar hakk\u0131nda bilgi sahibi olmak i\u00e7in resmi belgeleri ve topluluk kaynaklar\u0131n\u0131 takip etmek her zaman faydal\u0131d\u0131r.<\/body><\/p>\n","protected":false},"excerpt":{"rendered":"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber\nLinux tabanl\u0131 i\u015fletim sistemleri, yaz\u0131l\u0131m kurulumu ve y\u00f6netim","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1468],"tags":[],"class_list":{"0":"post-33553","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ubuntu","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu ve Debian&#039;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu ve Debian&#039;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber\" \/>\n<meta property=\"og:description\" content=\"Ubuntu ve Debian&#039;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber Linux tabanl\u0131 i\u015fletim sistemleri, yaz\u0131l\u0131m kurulumu ve y\u00f6netim\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-04T05:40:58+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber\",\"datePublished\":\"2025-11-04T05:40:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\"},\"wordCount\":2784,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\",\"name\":\"Ubuntu ve Debian'da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-11-04T05:40:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu ve Debian'da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/","og_locale":"tr_TR","og_type":"article","og_title":"Ubuntu ve Debian'da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber","og_description":"Ubuntu ve Debian'da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber Linux tabanl\u0131 i\u015fletim sistemleri, yaz\u0131l\u0131m kurulumu ve y\u00f6netim","og_url":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-11-04T05:40:58+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"16 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber","datePublished":"2025-11-04T05:40:58+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/"},"wordCount":2784,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Ubuntu"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/","url":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/","name":"Ubuntu ve Debian'da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-11-04T05:40:58+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-ve-debianda-apt-get-ve-apt-cache-ile-paket-yonetimi-kapsamli-bir-rehber\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu ve Debian&#8217;da Apt-Get ve Apt-Cache ile Paket Y\u00f6netimi: Kapsaml\u0131 Bir Rehber"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/33553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=33553"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/33553\/revisions"}],"predecessor-version":[{"id":33554,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/33553\/revisions\/33554"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=33553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=33553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=33553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}