{"id":32162,"date":"2025-10-18T12:41:44","date_gmt":"2025-10-18T09:41:44","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/?p=32162"},"modified":"2025-10-18T12:41:44","modified_gmt":"2025-10-18T09:41:44","slug":"sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/","title":{"rendered":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu"},"content":{"rendered":"<p><body><\/p>\n<p>Python, basit s\u00f6zdizimi ve geni\u015f k\u00fct\u00fcphane deste\u011fi sayesinde d\u00fcnyan\u0131n en pop\u00fcler programlama dillerinden biridir. Web geli\u015ftirmeden veri bilimine, yapay zekadan otomasyona kadar bir\u00e7ok alanda kullan\u0131l\u0131r. Debian 11 (Bullseye), kararl\u0131 ve g\u00fcvenilir bir i\u015fletim sistemi olup, Python projeleriniz i\u00e7in m\u00fckemmel bir temel sa\u011flar.<\/p>\n<p>Bu rehberde, Debian 11 sisteminize Python 3&#8217;\u00fc nas\u0131l kuraca\u011f\u0131n\u0131z\u0131 ve verimli bir programlama ortam\u0131 olu\u015fturmak i\u00e7in gerekli ad\u0131mlar\u0131 (sanal ortamlar dahil) detayl\u0131 bir \u015fekilde anlataca\u011f\u0131z. Bu ad\u0131mlar\u0131 takip ederek, Python projelerinizi g\u00fcvenle geli\u015ftirebilece\u011finiz, izole ve y\u00f6netilebilir bir ortama sahip olacaks\u0131n\u0131z.<\/p>\n<h2>Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu<\/h2>\n<p>Herhangi bir yaz\u0131l\u0131m kurulumuna ba\u015flamadan \u00f6nce, sisteminizin g\u00fcncel oldu\u011fundan emin olmak en iyi ad\u0131md\u0131r. Bu, potansiyel uyumluluk sorunlar\u0131n\u0131 \u00f6nler ve en son g\u00fcvenlik yamalar\u0131na sahip olman\u0131z\u0131 sa\u011flar.<\/p>\n<h3>Sistem G\u00fcncelleme<\/h3>\n<p>Terminali a\u00e7\u0131n (Ctrl+Alt+T) ve a\u015fa\u011f\u0131daki komutlar\u0131 \u00e7al\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code>sudo apt update\nsudo apt upgrade -y<\/code><\/pre>\n<ul>\n<li><code>sudo apt update<\/code>: Paket listelerinizi g\u00fcnceller, b\u00f6ylece sisteminiz mevcut en son paket s\u00fcr\u00fcmleri hakk\u0131nda bilgi sahibi olur.<\/li>\n<li><code>sudo apt upgrade -y<\/code>: Mevcut y\u00fckl\u00fc paketlerinizi en yeni s\u00fcr\u00fcmlerine y\u00fckseltir. <code>-y<\/code> parametresi, y\u00fckseltme s\u0131ras\u0131nda sorulan onay sorular\u0131na otomatik olarak &#8220;evet&#8221; yan\u0131t\u0131 verir.<\/li>\n<\/ul>\n<h3>Gerekli Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu<\/h3>\n<p>E\u011fer ileride Python&#8217;u kaynaktan derlemeniz gerekirse veya baz\u0131 Python k\u00fct\u00fcphanelerinin derleme ara\u00e7lar\u0131na ihtiyac\u0131 olursa, bu ba\u011f\u0131ml\u0131l\u0131klar\u0131 \u00f6nceden kurmak faydal\u0131d\u0131r. Genellikle Debian&#8217;da <code>apt<\/code> ile kurulum yaparken bu kadar detaya gerek kalmaz, ancak \u00f6zellikle <code>pyenv<\/code> gibi ara\u00e7lar kullanacaksan\u0131z \u00f6nemlidir.<\/p>\n<pre><code>sudo apt install -y build-essential libssl-dev zlib1g-dev \\\nlibbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \\\nlibncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev<\/code><\/pre>\n<p>Bu komut, derleme ara\u00e7lar\u0131 (<code>build-essential<\/code>) ve Python&#8217;un \u00e7e\u015fitli mod\u00fclleri i\u00e7in gerekli olabilecek k\u00fct\u00fcphaneleri kurar.<\/p>\n<h2>Python 3 Kurulumu<\/h2>\n<p>Debian 11, genellikle varsay\u0131lan olarak Python 3&#8217;\u00fcn bir s\u00fcr\u00fcm\u00fcyle gelir. Ancak, en g\u00fcncel s\u00fcr\u00fcm\u00fc edinmek ve <code>pip<\/code> gibi temel ara\u00e7lar\u0131 sa\u011flamak i\u00e7in ek kurulum yapman\u0131z gerekebilir.<\/p>\n<h3>Mevcut Python S\u00fcr\u00fcm\u00fcn\u00fc Kontrol Etme<\/h3>\n<p>\u0130lk olarak, sisteminizde y\u00fckl\u00fc olan Python 3 s\u00fcr\u00fcm\u00fcn\u00fc kontrol edelim:<\/p>\n<pre><code>python3 --version<\/code><\/pre>\n<p>Bu komut, y\u00fckl\u00fc Python 3 s\u00fcr\u00fcm\u00fcn\u00fc (\u00f6rn: <code>Python 3.9.2<\/code>) g\u00f6sterecektir. E\u011fer herhangi bir \u00e7\u0131kt\u0131 alamazsan\u0131z veya s\u00fcr\u00fcm \u00e7ok eskiyse, devam edebiliriz.<\/p>\n<h3>APT ile Python 3 Kurulumu<\/h3>\n<p>Debian&#8217;da Python 3 ve paket y\u00f6neticisi <code>pip<\/code>&#8216;i kurman\u0131n en kolay ve \u00f6nerilen yolu <code>apt<\/code> kullanmakt\u0131r:<\/p>\n<pre><code>sudo apt install python3 python3-pip -y<\/code><\/pre>\n<ul>\n<li><code>python3<\/code>: Python 3 yorumlay\u0131c\u0131s\u0131n\u0131 kurar.<\/li>\n<li><code>python3-pip<\/code>: Python paketlerini y\u00f6netmek i\u00e7in kullan\u0131lan standart ara\u00e7 olan <code>pip<\/code>&#8216;i kurar.<\/li>\n<\/ul>\n<p>Kurulumdan sonra, Python ve pip s\u00fcr\u00fcmlerini tekrar kontrol edin:<\/p>\n<pre><code>python3 --version\npip3 --version<\/code><\/pre>\n<p>Art\u0131k Python 3 ve pip sisteminizde y\u00fckl\u00fc ve kullan\u0131ma haz\u0131r.<\/p>\n<h3>Python S\u00fcr\u00fcmlerini Y\u00f6netmek (pyenv ile)<\/h3>\n<p>Baz\u0131 durumlarda, farkl\u0131 projeler i\u00e7in farkl\u0131 Python s\u00fcr\u00fcmlerine ihtiyac\u0131n\u0131z olabilir. \u00d6rne\u011fin, bir proje Python 3.8 gerektirirken, ba\u015fka bir proje Python 3.10 gerektirebilir. Bu senaryolar i\u00e7in <code>pyenv<\/code> harika bir ara\u00e7t\u0131r.<\/p>\n<p><code>pyenv<\/code>, ayn\u0131 makinede birden fazla Python s\u00fcr\u00fcm\u00fcn\u00fc kolayca kurman\u0131za, kald\u0131rman\u0131za ve bunlar aras\u0131nda ge\u00e7i\u015f yapman\u0131za olanak tan\u0131r.<\/p>\n<h4>pyenv Kurulumu<\/h4>\n<p>Yukar\u0131da kurdu\u011fumuz ba\u011f\u0131ml\u0131l\u0131klar, <code>pyenv<\/code>&#8216;in Python s\u00fcr\u00fcmlerini kaynaktan derlemesi i\u00e7in gereklidir. \u015eimdi <code>pyenv<\/code>&#8216;i kural\u0131m:<\/p>\n<pre><code>curl https:\/\/pyenv.run | bash<\/code><\/pre>\n<p>Bu komut, <code>pyenv<\/code>&#8216;i ve ilgili eklentilerini otomatik olarak indirip kuran bir kurulum beti\u011fini \u00e7al\u0131\u015ft\u0131r\u0131r.<\/p>\n<h4>Kabuk Ortam\u0131n\u0131 Yap\u0131land\u0131rma<\/h4>\n<p><code>pyenv<\/code>&#8216;in do\u011fru \u00e7al\u0131\u015fmas\u0131 i\u00e7in, kabuk ortam\u0131n\u0131za baz\u0131 ayarlar eklemeniz gerekir. Genellikle bu ayarlar <code>~\/.bashrc<\/code> dosyas\u0131na eklenir (e\u011fer Zsh kullan\u0131yorsan\u0131z <code>~\/.zshrc<\/code>).<\/p>\n<pre><code>echo 'export PYENV_ROOT=\"$HOME\/.pyenv\"' >> ~\/.bashrc\necho 'export PATH=\"$PYENV_ROOT\/bin:$PATH\"' >> ~\/.bashrc\necho -e 'if command -v pyenv 1>\/dev\/null 2>&1; then\\n  eval \"$(pyenv init --path)\"\\n  eval \"$(pyenv virtualenv-init -)\"\\nfi' >> ~\/.bashrc\nsource ~\/.bashrc<\/code><\/pre>\n<ul>\n<li>\u0130lk iki sat\u0131r, <code>PYENV_ROOT<\/code> ortam de\u011fi\u015fkenini ayarlar ve <code>pyenv<\/code> y\u00fcr\u00fct\u00fclebilir dosyalar\u0131n\u0131n yolunu PATH&#8217;e ekler.<\/li>\n<li>\u00dc\u00e7\u00fcnc\u00fc sat\u0131r, <code>pyenv<\/code>&#8216;i kabu\u011funuza ba\u015flat\u0131r ve <code>pyenv virtualenv<\/code> eklentisini etkinle\u015ftirir.<\/li>\n<li>Son sat\u0131r, de\u011fi\u015fikliklerin mevcut terminal oturumunuzda hemen etkili olmas\u0131n\u0131 sa\u011flar. Terminali kapat\u0131p a\u00e7mak da ayn\u0131 etkiyi yarat\u0131r.<\/li>\n<\/ul>\n<h4>pyenv ile Python S\u00fcr\u00fcm\u00fc Kurma<\/h4>\n<p>\u015eimdi <code>pyenv<\/code> kullanarak istedi\u011finiz bir Python s\u00fcr\u00fcm\u00fcn\u00fc kurabilirsiniz. Mevcut t\u00fcm s\u00fcr\u00fcmleri g\u00f6rmek i\u00e7in <code>pyenv install --list<\/code> komutunu kullanabilirsiniz. \u00d6rne\u011fin, Python 3.10.6&#8217;y\u0131 kural\u0131m:<\/p>\n<pre><code>pyenv install 3.10.6<\/code><\/pre>\n<p>Bu i\u015flem biraz zaman alabilir, \u00e7\u00fcnk\u00fc Python&#8217;u kaynaktan derleyecektir.<\/p>\n<h4>Python S\u00fcr\u00fcmlerini Kullanma<\/h4>\n<ul>\n<li><strong>Global S\u00fcr\u00fcm Ayarlama:<\/strong> Sistem genelinde varsay\u0131lan Python s\u00fcr\u00fcm\u00fcn\u00fc ayarlamak i\u00e7in:\n<pre><code>pyenv global 3.10.6<\/code><\/pre>\n<\/li>\n<li><strong>Yerel S\u00fcr\u00fcm Ayarlama:<\/strong> Belirli bir proje dizini i\u00e7in Python s\u00fcr\u00fcm\u00fcn\u00fc ayarlamak i\u00e7in (bu dizinde ve alt dizinlerinde ge\u00e7erli olur):\n<pre><code>cd my_project_folder\npyenv local 3.10.6<\/code><\/pre>\n<\/li>\n<li><strong>Mevcut S\u00fcr\u00fcmleri G\u00f6sterme:<\/strong> Hangi Python s\u00fcr\u00fcmlerinin y\u00fckl\u00fc oldu\u011funu ve hangisinin aktif oldu\u011funu g\u00f6rmek i\u00e7in:\n<pre><code>pyenv versions<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>Sanal Ortam Kurulumu ve Kullan\u0131m\u0131<\/h2>\n<p>Python geli\u015ftirmenin en iyi pratiklerinden biri, her proje i\u00e7in ayr\u0131 bir sanal ortam kullanmakt\u0131r. Sanal ortamlar, projelerinizin ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 izole eder ve sistem genelindeki Python kurulumunuzu temiz tutar. Bu, farkl\u0131 projelerin farkl\u0131 s\u00fcr\u00fcmlerde k\u00fct\u00fcphanelere ihtiya\u00e7 duymas\u0131 durumunda \u00e7ak\u0131\u015fmalar\u0131 \u00f6nler.<\/p>\n<h3>Neden Sanal Ortam Kullanmal\u0131y\u0131z?<\/h3>\n<ul>\n<li><strong>Ba\u011f\u0131ml\u0131l\u0131k \u0130zolasyonu:<\/strong> Her proje kendi ba\u011f\u0131ml\u0131l\u0131klar\u0131na sahip olur, bu da &#8220;ba\u011f\u0131ml\u0131l\u0131k cehennemi&#8221;ni \u00f6nler.<\/li>\n<li><strong>Temiz Sistem:<\/strong> Sistem genelindeki Python kurulumunuz, yaln\u0131zca projenize \u00f6zel paketlerle \u015fi\u015fmez.<\/li>\n<li><strong>Kolay Payla\u015f\u0131m:<\/strong> Projenizin ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 <code>requirements.txt<\/code> dosyas\u0131yla kolayca payla\u015fabilirsiniz.<\/li>\n<li><strong>Versiyon Kontrol\u00fc:<\/strong> Farkl\u0131 projeler i\u00e7in ayn\u0131 k\u00fct\u00fcphanenin farkl\u0131 versiyonlar\u0131n\u0131 kullanabilirsiniz.<\/li>\n<\/ul>\n<h3>Sanal Ortam Olu\u015fturma<\/h3>\n<p>Python 3.3 ve sonraki s\u00fcr\u00fcmleri, yerle\u015fik olarak <code>venv<\/code> mod\u00fcl\u00fc ile sanal ortam deste\u011fi sunar. Bu, ayr\u0131 bir ara\u00e7 kurman\u0131za gerek kalmadan sanal ortam olu\u015fturabilece\u011finiz anlam\u0131na gelir.<\/p>\n<p>Bir proje dizini olu\u015fturun ve i\u00e7ine girin:<\/p>\n<pre><code>mkdir my_python_project\ncd my_python_project<\/code><\/pre>\n<p>\u015eimdi bir sanal ortam olu\u015ftural\u0131m. Genellikle sanal ortam dizinine <code>.venv<\/code> veya <code>venv<\/code> gibi bir isim verilir:<\/p>\n<pre><code>python3 -m venv .venv<\/code><\/pre>\n<p>Bu komut, <code>.venv<\/code> ad\u0131nda bir dizin olu\u015fturacak ve bu dizinin i\u00e7ine Python yorumlay\u0131c\u0131s\u0131n\u0131n bir kopyas\u0131n\u0131, pip&#8217;i ve di\u011fer yard\u0131mc\u0131 dosyalar\u0131 yerle\u015ftirecektir.<\/p>\n<h3>Sanal Ortam\u0131 Etkinle\u015ftirme<\/h3>\n<p>Sanal ortam\u0131 kullanmaya ba\u015flamak i\u00e7in onu etkinle\u015ftirmeniz gerekir:<\/p>\n<pre><code>source .venv\/bin\/activate<\/code><\/pre>\n<p>Terminal istemcinizin ba\u015f\u0131nda <code>(.venv)<\/code> gibi bir ibare g\u00f6receksiniz. Bu, sanal ortam\u0131n etkin oldu\u011funu g\u00f6sterir. Art\u0131k y\u00fckleyece\u011finiz t\u00fcm Python paketleri bu sanal ortam\u0131n i\u00e7ine kurulacakt\u0131r.<\/p>\n<h3>Paket Kurulumu<\/h3>\n<p>Sanal ortam etkinle\u015ftirildikten sonra, <code>pip<\/code> komutu do\u011frudan bu ortama paket y\u00fckleyecektir. \u00d6rne\u011fin, pop\u00fcler <code>requests<\/code> k\u00fct\u00fcphanesini kural\u0131m:<\/p>\n<pre><code>pip install requests<\/code><\/pre>\n<p>Bu paket, sistem genelindeki Python kurulumunuza de\u011fil, yaln\u0131zca <code>my_python_project\/.venv<\/code> i\u00e7ine kurulur.<\/p>\n<h3>Sanal Ortamdan \u00c7\u0131kma<\/h3>\n<p>Sanal ortamdan \u00e7\u0131kmak ve sistem genelindeki Python ortam\u0131na d\u00f6nmek i\u00e7in basit\u00e7e <code>deactivate<\/code> komutunu kullan\u0131n:<\/p>\n<pre><code>deactivate<\/code><\/pre>\n<p>Terminal istemcinizdeki <code>(.venv)<\/code> ibaresi kaybolacakt\u0131r.<\/p>\n<h2>\u0130lk Python Program\u0131n\u0131z\u0131 \u00c7al\u0131\u015ft\u0131rma<\/h2>\n<p>Python kurulumunuzu ve sanal ortam\u0131n\u0131z\u0131 test etmek i\u00e7in basit bir Python program\u0131 yaz\u0131p \u00e7al\u0131\u015ft\u0131ral\u0131m.<\/p>\n<h3>Python Dosyas\u0131 Olu\u015fturma<\/h3>\n<p>\u00d6ncelikle, proje dizininize geri d\u00f6n\u00fcn ve sanal ortam\u0131n\u0131z\u0131 etkinle\u015ftirin:<\/p>\n<pre><code>cd my_python_project\nsource .venv\/bin\/activate<\/code><\/pre>\n<p>\u015eimdi bir metin d\u00fczenleyici kullanarak (\u00f6rne\u011fin <code>nano<\/code> veya <code>vim<\/code>) <code>hello_world.py<\/code> ad\u0131nda bir dosya olu\u015ftural\u0131m:<\/p>\n<pre><code>nano hello_world.py<\/code><\/pre>\n<p>Dosyan\u0131n i\u00e7ine a\u015fa\u011f\u0131daki kodu yap\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code class=\"language-python\"># hello_world.py\nimport requests\n\ndef main():\n    print(\"Merhaba, Debian 11'de Python!\")\n    print(\"Requests k\u00fct\u00fcphanesi ile bir web sitesine ba\u011flanal\u0131m...\")\n    try:\n        response = requests.get(\"https:\/\/www.google.com\", timeout=5)\n        print(f\"Google'\u0131n durumu: {response.status_code}\")\n        if response.status_code == 200:\n            print(\"Ba\u011flant\u0131 ba\u015far\u0131l\u0131!\")\n        else:\n            print(\"Ba\u011flant\u0131 ba\u015far\u0131s\u0131z oldu.\")\n    except requests.exceptions.ConnectionError as e:\n        print(f\"Ba\u011flant\u0131 hatas\u0131 olu\u015ftu: {e}\")\n    except requests.exceptions.Timeout:\n        print(\"\u0130stek zaman a\u015f\u0131m\u0131na u\u011frad\u0131.\")\n    except Exception as e:\n        print(f\"Beklenmeyen bir hata olu\u015ftu: {e}\")\n\nif __name__ == \"__main__\":\n    main()<\/code><\/pre>\n<p>Dosyay\u0131 kaydedin ve kapat\u0131n (Nano&#8217;da: Ctrl+O, Enter, Ctrl+X).<\/p>\n<h3>Program\u0131 \u00c7al\u0131\u015ft\u0131rma<\/h3>\n<p>Sanal ortam\u0131n\u0131z etkin durumdayken, program\u0131 \u00e7al\u0131\u015ft\u0131rmak i\u00e7in a\u015fa\u011f\u0131daki komutu kullan\u0131n:<\/p>\n<pre><code>python hello_world.py<\/code><\/pre>\n<p>\u00c7\u0131kt\u0131 a\u015fa\u011f\u0131daki gibi olacakt\u0131r:<\/p>\n<pre><code>Merhaba, Debian 11'de Python!\nRequests k\u00fct\u00fcphanesi ile bir web sitesine ba\u011flanal\u0131m...\nGoogle'\u0131n durumu: 200\nBa\u011flant\u0131 ba\u015far\u0131l\u0131!<\/code><\/pre>\n<p>Bu \u00e7\u0131kt\u0131, hem Python kurulumunuzun hem de sanal ortam\u0131n\u0131z\u0131n ve <code>requests<\/code> k\u00fct\u00fcphanesinin do\u011fru \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 g\u00f6sterir.<\/p>\n<p><strong>\u0130pucu:<\/strong> E\u011fer beti\u011finizi do\u011frudan \u00e7al\u0131\u015ft\u0131r\u0131labilir hale getirmek isterseniz, dosyan\u0131n ba\u015f\u0131na &#8220;shebang&#8221; sat\u0131r\u0131 ekleyebilir ve y\u00fcr\u00fctme izni verebilirsiniz:<\/p>\n<pre><code class=\"language-python\">#!\/usr\/bin\/env python3\n<h2>... (geri kalan kod) ...<\/code><\/pre>\n<\/h2>\n<p>Ard\u0131ndan:<\/p>\n<pre><code>chmod +x hello_world.py\n.\/hello_world.py<\/code><\/pre>\n<h2>Sonu\u00e7<\/h2>\n<p>Tebrikler! Debian 11 sisteminize Python 3&#8217;\u00fc ba\u015far\u0131yla kurdunuz ve verimli bir programlama ortam\u0131 olu\u015fturdunuz. Art\u0131k sanal ortamlar\u0131n g\u00fcc\u00fcn\u00fc kullanarak projelerinizi izole edebilir, farkl\u0131 Python s\u00fcr\u00fcmlerini y\u00f6netebilir ve ba\u011f\u0131ml\u0131l\u0131k \u00e7ak\u0131\u015fmalar\u0131 endi\u015fesi olmadan geli\u015ftirme yapabilirsiniz. Python yolculu\u011funuzda ba\u015far\u0131lar dileriz!<\/p>\n<h3>S\u0131k\u00e7a Sorulan Sorular (SSS)<\/h3>\n<p><strong>S: Debian 11&#8217;de neden <code>python<\/code> yerine <code>python3<\/code> kullanmal\u0131y\u0131m?<\/strong><br \/>\n    C: Debian gibi baz\u0131 Linux da\u011f\u0131t\u0131mlar\u0131nda <code>python<\/code> komutu varsay\u0131lan olarak Python 2&#8217;ye veya hi\u00e7bir \u015feye i\u015faret etmeyebilir. Python 2 art\u0131k desteklenmedi\u011fi i\u00e7in, modern geli\u015ftirme i\u00e7in daima <code>python3<\/code> komutunu kullanarak Python 3 yorumlay\u0131c\u0131s\u0131n\u0131 \u00e7a\u011f\u0131rmal\u0131s\u0131n\u0131z. Sanal ortamlar etkinle\u015ftirildi\u011finde ise genellikle sadece <code>python<\/code> kullanmak yeterlidir, \u00e7\u00fcnk\u00fc bu komut sanal ortam\u0131n Python 3 yorumlay\u0131c\u0131s\u0131na i\u015faret eder.<\/p>\n<p><strong>S: <code>pip<\/code> nedir ve neden <code>pip3<\/code> kullanmal\u0131y\u0131m?<\/strong><br \/>\n    C: <code>pip<\/code>, Python paketlerini kurmak ve y\u00f6netmek i\u00e7in kullan\u0131lan standart paket y\u00f6neticisidir. <code>pip3<\/code> ise \u00f6zellikle Python 3 i\u00e7in olan <code>pip<\/code> s\u00fcr\u00fcm\u00fcn\u00fc ifade eder. Sisteminizde hem Python 2 hem de Python 3 y\u00fckl\u00fcyse, hangi Python s\u00fcr\u00fcm\u00fcne paket kurdu\u011funuzdan emin olmak i\u00e7in <code>pip3<\/code> kullanmak \u00f6nemlidir. Sanal ortamlar etkinle\u015ftirildi\u011finde, sadece <code>pip<\/code> kullanmak yeterlidir, \u00e7\u00fcnk\u00fc bu komut sanal ortam\u0131n Python 3 yorumlay\u0131c\u0131s\u0131na ba\u011fl\u0131 <code>pip<\/code>&#8216;i kullan\u0131r.<\/p>\n<p><strong>S: Y\u00fckl\u00fc bir Python paketini nas\u0131l kald\u0131rabilirim?<\/strong><br \/>\n    C: Sanal ortam\u0131n\u0131z etkin durumdayken veya sistem genelinden kald\u0131rmak istiyorsan\u0131z, <code>pip uninstall paket_adi<\/code> komutunu kullanabilirsiniz. \u00d6rne\u011fin: <code>pip uninstall requests<\/code>.<\/p>\n<p><strong>S: Sanal ortam\u0131m\u0131 silmek istersem ne yapmal\u0131y\u0131m?<\/strong><br \/>\n    C: \u00d6ncelikle sanal ortamdan \u00e7\u0131k\u0131n (<code>deactivate<\/code>). Ard\u0131ndan, sanal ortam\u0131n bulundu\u011fu dizini (\u00f6rne\u011fin <code>.venv<\/code>) silmeniz yeterlidir: <code>rm -rf .venv<\/code>. Bu, t\u00fcm y\u00fckl\u00fc paketleri ve sanal ortam\u0131n kendisini kald\u0131r\u0131r.<\/p>\n<p><strong>S: Hangi metin d\u00fczenleyiciyi veya IDE&#8217;yi kullanmal\u0131y\u0131m?<\/strong><br \/>\n    C: Bu tamamen ki\u015fisel tercihe ba\u011fl\u0131d\u0131r. Pop\u00fcler se\u00e7enekler \u015funlard\u0131r:<\/p>\n<ul>\n<li><strong>VS Code:<\/strong> Geni\u015f \u00f6zellik setine sahip, hafif ve \u00e7ok y\u00f6nl\u00fc bir IDE (Entegre Geli\u015ftirme Ortam\u0131). Python geli\u015ftirmesi i\u00e7in m\u00fckemmel uzant\u0131lara sahiptir.<\/li>\n<li><strong>Sublime Text:<\/strong> H\u0131zl\u0131 ve g\u00fc\u00e7l\u00fc bir metin d\u00fczenleyici.<\/li>\n<li><strong>Atom:<\/strong> GitHub taraf\u0131ndan geli\u015ftirilen \u00f6zelle\u015ftirilebilir bir metin d\u00fczenleyici.<\/li>\n<li><strong>PyCharm:<\/strong> \u00d6zellikle Python i\u00e7in tasarlanm\u0131\u015f, g\u00fc\u00e7l\u00fc \u00f6zelliklere sahip bir IDE (Community s\u00fcr\u00fcm\u00fc \u00fccretsizdir).<\/li>\n<li><strong>Nano \/ Vim:<\/strong> Terminal tabanl\u0131, hafif metin d\u00fczenleyiciler. K\u00fc\u00e7\u00fck de\u011fi\u015fiklikler veya sunucu ortamlar\u0131nda h\u0131zl\u0131 d\u00fczenlemeler i\u00e7in kullan\u0131\u015fl\u0131d\u0131r.<\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"Python, basit s\u00f6zdizimi ve geni\u015f k\u00fct\u00fcphane deste\u011fi sayesinde d\u00fcnyan\u0131n en pop\u00fcler programlama dillerinden biridir. Web geli\u015ftirmeden veri","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":[1],"tags":[],"class_list":{"0":"post-32162","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","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>Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu - 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\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu\" \/>\n<meta property=\"og:description\" content=\"Python, basit s\u00f6zdizimi ve geni\u015f k\u00fct\u00fcphane deste\u011fi sayesinde d\u00fcnyan\u0131n en pop\u00fcler programlama dillerinden biridir. Web geli\u015ftirmeden veri\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-18T09:41:44+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=\"10 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu\",\"datePublished\":\"2025-10-18T09:41:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\"},\"wordCount\":1699,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\",\"name\":\"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-10-18T09:41:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu\"}]},{\"@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":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu - 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\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/","og_locale":"tr_TR","og_type":"article","og_title":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu","og_description":"Python, basit s\u00f6zdizimi ve geni\u015f k\u00fct\u00fcphane deste\u011fi sayesinde d\u00fcnyan\u0131n en pop\u00fcler programlama dillerinden biridir. Web geli\u015ftirmeden veri","og_url":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-10-18T09:41:44+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"10 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu","datePublished":"2025-10-18T09:41:44+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/"},"wordCount":1699,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/","url":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/","name":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-10-18T09:41:44+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/sistem-guncelleme-ve-temel-bagimliliklarin-kurulumu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Sistem G\u00fcncelleme ve Temel Ba\u011f\u0131ml\u0131l\u0131klar\u0131n Kurulumu"}]},{"@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\/32162","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=32162"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/32162\/revisions"}],"predecessor-version":[{"id":32163,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/32162\/revisions\/32163"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=32162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=32162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=32162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}