dacker

نصب Python روی Ubuntu 24.04 (noble)

Python نسخهٔ 3.13.15 را روی Ubuntu 24.04 از مخزن داخلی dacker نصب کنید؛ بدون خطای ۴۰۳ و با سرعت داخلی. دستور زیر کامل است: کلید امضا، مخزن، نصب، راه‌اندازی و بررسی.

  • نسخه: 3.13.15
  • حجم مخزن: 29.9 MB
  • مدیر بسته: apt
  • آخرین تغییر:
  • مجوز: PSF-2.0

دستور نصب Python روی Ubuntu 24.04

نسخه

مرورگر شما انتخاب بدون JavaScript را پشتیبانی نمی‌کند؛ دستورهای همهٔ نسخه‌ها زیر هم آمده‌اند.

Python 3.133.13.15

  • Ubuntu 24.04
  • 29.9 MB
  • امضا و بررسی‌شده
bash · Ubuntu 24.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-python.sources -o /etc/apt/sources.list.d/dacker-python.sources
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install python3.13 python3.13-venv
  4. ۴بررسی نصب
    # 4) Check the installationpython3.13 --version
به‌جای فایل .sources، یک خط .list می‌خواهید؟
  1. جایگزین مرحلهٔ ۲
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/python noble main" | sudo tee /etc/apt/sources.list.d/dacker-python.list

Python 3.12

  • Ubuntu 24.04
  • از مخزن خود توزیع
  • python3.12 در مخزن رسمی خود Ubuntu هست (نسخهٔ 3.12.3-1ubuntu0.17) و از mirror معمولی Ubuntu نصب می‌شود.
bash · Ubuntu 24.04
  1. ۱از مخزن‌های خود توزیع نصب کنید
    # 1) Install from the distro repositoriessudo apt updatesudo apt install python3.12
  2. ۲بررسی نصب
    # 2) Check the installationpython3.12 --version

Python 3.113.11.16

  • Ubuntu 24.04
  • 29.9 MB
  • امضا و بررسی‌شده
bash · Ubuntu 24.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-python.sources -o /etc/apt/sources.list.d/dacker-python.sources
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install python3.11 python3.11-venv
  4. ۴بررسی نصب
    # 4) Check the installationpython3.11 --version
به‌جای فایل .sources، یک خط .list می‌خواهید؟
  1. جایگزین مرحلهٔ ۲
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/python noble main" | sudo tee /etc/apt/sources.list.d/dacker-python.list

نسخهٔ بسته‌های Python روی Ubuntu 24.04

همهٔ بسته‌های مخزن python برای این توزیع، مستقیم از manifest مخزن. نام بسته‌ها را برای apt install می‌توانید استفاده کنید.

بستهنسخه
python3.113.11.16-1+noble1
python3.11-venv3.11.16-1+noble1
python3.11-dev3.11.16-1+noble1
python3.133.13.15-1+noble1
python3.13-venv3.13.15-1+noble1
python3.13-dev3.13.15-1+noble1

وابستگی‌هایی که همراهشان از همین مخزن نصب می‌شوند: libpython3.11، libpython3.11-dev، libpython3.11-minimal، libpython3.11-stdlib، libpython3.13، libpython3.13-dev، libpython3.13-stdlib، python3.11-distutils، python3.11-lib2to3، python3.11-minimal

خطاهای رایج نصب Python روی Ubuntu 24.04

خطای NO_PUBKEY یا «is not signed» در apt update

output
W: GPG error: https://repo.dacker.ir/apt/python noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1363921AA23CD7DBE: The repository 'https://repo.dacker.ir/apt/python noble InRelease' is not signed.

کلید امضای dacker روی سرور نیست یا فایل آن خراب است. مرحلهٔ ۱ بلوک بالا را دوباره اجرا کنید و بعد apt update را تکرار کنید.

bash · Ubuntu 24.04
sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpgsudo apt update

بررسی اثر انگشت کلید ←

«Unable to locate package python3.13»

output
E: Unable to locate package python3.13

یا فایل مخزن (مرحلهٔ ۲) اضافه نشده، یا بعد از آن apt update اجرا نشده. با دستور زیر ببینید apt بسته را از repo.dacker.ir می‌شناسد یا نه؛ اگر خروجی خالی بود، مرحله‌های ۲ و ۳ را تکرار کنید.

bash · Ubuntu 24.04
apt-cache policy python3.13

مرتبط

روی توزیع دیگری هستید؟

معمولاً کنار Python روی Ubuntu 24.04 نصب می‌شوند:

همهٔ نسخه‌ها و توزیع‌های Python ← · همهٔ محصولات برای Ubuntu 24.04 ←