Momwe mungayikitsire mtundu uliwonse wa Python 3?

Momwe mungayikitsire mtundu uliwonse wa Python 3?

Momwe mungayikitsire mtundu uliwonse wa Python 3?

Mwezi watha, monga mwachizolowezi ndinali kuyesa mapulogalamu ena ndipo imodzi mwa izo inali Masewera aulere. Izi app kwenikweni a pulogalamu ya python que tsitsani mapaketi amasewera zofunika malinga ndi Kugawa kwa GNU / Linux zomwe tili nazo. Ndipo chimodzimodzi, ali onse a mawonekedwe a terminal (CLI) monga za Kompyuta (GUI).

Pamilandu ya CLI, idandigwira bwino ntchito ndi python phukusi (3.9 version) changa changa Yankhani MilagrOS kutengera MX Linux Distro. Komabe, mawonekedwe ake a GUI, onse adapangidwa komanso mu mtundu  ".ChImage" kugwiritsa ntchito kapena kufuna Python 3.10-based phukusi kapena apamwamba. Chifukwa chake, ndiyenera kugwiritsa ntchito njira yothandiza kwambiri komanso yothandiza, kuti "Ikani mitundu yapamwamba ya Python" zomwe ndigawana nanu lero.

Python

Python ndi chilankhulo chotanthauziridwa chapamwamba chomwe filosofi yake imatsindika kuwerengeka kwa code yake.

Ndipo, musanayambe kuwerenga izi za kuthekera kokhoza "Ikani mitundu yapamwamba ya Python", tisiya maulalo ena zolemba zokhudzana nazo m'mbuyomu zowerenga pambuyo pake:

Python
Nkhani yowonjezera:
Python 3.11 ifika ndikuwongolera magwiridwe antchito, kukonzanso kachipangizo ndi zina zambiri

Konzani GNU/Linux yanu: Phukusi la Debian kuti mupange mapulogalamu
Nkhani yowonjezera:
Konzani GNU/Linux yanu: Phukusi la Debian kuti mupange mapulogalamu
Ikani mtundu uliwonse wa Python 3: Kugwiritsa ntchito posungira PPA

Ikani mtundu uliwonse wa Python 3: Kugwiritsa ntchito posungira PPA

Ikani mtundu uliwonse wa Python 3: Kugwiritsa ntchito posungira PPA

Kodi ndibwino kugwiritsa ntchito nkhokwe za PPA?

Chifukwa, a PPA (Personal Package Archive) ndi chosungira (chosungira) cha mapulogalamu antchito okhalamo Launchpad, muyenera kusamala nthawi zonse kuti sikuchokera kwa munthu wosadziwika, kapena kwa munthu wina wosatsimikizika kapena wosadalirika. Chifukwa chake, pokhapokha ngati PPA Repository sinali yochokera ku bungwe lodziwika kapena wopanga (madivelopa), ndibwino kupewa kuwagwira kuti apewe kukhala ndi mapulogalamu osatetezeka, ngakhale aulere komanso otsegula.

Pankhani ya Team Deadsnakes PPA Repository, zawonetsa, pakapita nthawi, kukhala a ogulitsa odalirika za paketi zosiyanasiyana mitundu ya python ku Ubuntu, ndi Distros yochokera m'menemo, ndi yogwirizana nayo Debian GNU / Linux.

Komabe, monga akuti, mukamagwiritsa ntchito, chenjezo lotsatirali liyenera kuganiziridwa nthawi zonse:

"Chodzikanira: Palibe chitsimikizo cha zosintha zapanthawi yake ngati pali chitetezo kapena zovuta zina. Ngati mukufuna kuzigwiritsa ntchito pamalo otetezeka kapena malo ena (mwachitsanzo, pa seva yopanga), mumachita izi mwakufuna kwanu.". Team Deadsnakes

Pomaliza, pakadali pano komanso mwalamulo, imapereka kupezeka kwa mitundu iyi:

  • Ubuntu 18.04 (bionic): Python 2.3 ndi 2.6; komanso Python 3.1, 3.5, 3.7 ndi 3.11.
  • Ubuntu 20.04 (focal): Python 3.5, 3.7, 3.9 ndi 3.11.
  • Ubuntu 22.04 (jammy): Python 3.7, 3.9 ndi 3.11.

Komabe, lero mukhoza kupeza kale kupezeka kwa Python 3.12.

Njira zoyika mtundu uliwonse wa Python 3

Njira zoyika mtundu uliwonse wa Python 3

Poganizira zonse zomwe zili pamwambapa, kaya pa Ubuntu, Debian kapena Distro/Respin iliyonse yochokera kwa iwo, njira yokhazikitsira ndikugwiritsa ntchito Team Deadsnakes PPA Repository ndi:

  • Tsegulani Terminal Emulator
  • Pangani malamulo awa:
sudo add-apt-repository ppa: deadsnakes/ppa sudo apt-get update
  • Mndandanda wamaphukusi ukasinthidwa bwino, tsopano mutha kuyendetsa kuyika kwamitundu yomwe ilipo ya Python. Mwachitsanzo, kukhazikitsa Python 3.12 kutha kuchitidwa, mwanjira iliyonse ya 2, pakuyika pang'ono kapena kwathunthu:
sudo apt-get install python3.12 sudo apt-get install python3.12-full

Pankhani yanga, ndikamagwiritsa ntchito Respin yomwe tatchula pamwambapa, ndakhala nayo sinthani fayilo ya sources.list chofunika ndi lamulo ili:

sudo nano /etc/apt/source.list.d/deadsnakes-ubuntu-ppa-kinetic.list

Kenako sinthani mawuwo "kinetic" zogwirizana ndi Ubuntu ndi "Bullseye" zogwirizana ndi Debian.

Ndipo pitilizani kukonzanso mndandanda wamapaketi kachiwiri, kuti mumalize ndi kukhazikitsa python version 3, zomwe ndimafunikira.

Kuzungulira: Banner post 2021

Chidule

Mwachidule, tikuyembekeza kuti pang'ono chinyengo kapena kuchitira, kukhala zothandiza kwambiri, onse kuti ogwiritsa ntchito opanga mapulogalamumonga Ogwiritsa ntchito pogwiritsa ntchito Python, zomwe zimafunika "Ikani mitundu yapamwamba ya Python" kwa iwo omwe amapezeka mwa iwo GNU/Linux distros yochokera ku Ubuntu/Debian. Ndipo ngati wina akudziwa kapena ali nazo njira ina yothandiza kapena mukufuna kupereka malingaliro, malingaliro kapena kukonza kwa zomwe zaperekedwa apa, ndinu olandiridwa kutero kudzera mu ndemanga.

Ndipo inde, mwakonda bukuli, musasiye kuyankhapo ndikugawana ndi ena. Komanso, kumbukirani kupita kwathu «tsamba lakunyumba» kuti muwone zambiri, komanso kujowina njira yathu yovomerezeka ya Telegalamu yochokera ku DesdeLinux, Kumadzulo gulu kuti mumve zambiri pamutu wamasiku ano.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.