Otu esi etinye PyCharm na Debian 11 Bullseye

PyCharm bụ Python graphical IDE (Integrated Development Environment) ewu ewu n'etiti ndị mmepe Python nwere ọtụtụ ngwa ọrụ dị mkpa dị ka nyocha koodu, nbipu, na ntinye. IDE na-abịa na ahịrị iwu, jikọọ na nchekwa data, mepụta gburugburu ebe obibi, ma jikwaa sistemụ njikwa ụdị gị (Git).

N'ime nkuzi na-esote, ị ga-amụta ka esi etinye PyCharm Community, Ọkachamara ma ọ bụ agụmakwụkwọ, yana Flatpak ma ọ bụ Snapcraft (Snap) na Debian 11 Bullseye.

Advertisement

Prerequisites

  • OS akwadoro: Nnenna 11 Bullseye
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Melite Sistemụ Ọrụ

Melite gi Debian Sistemụ arụmọrụ iji hụ na ngwugwu niile dị adị adịla ugbu a:

sudo apt update && sudo apt upgrade -y

Nkuzi a ga-eji ya sudo iwu na na-eche na ị nwere ọnọdụ sudo.

Iji nyochaa ọkwa sudo na akaụntụ gị:

sudo whoami

Ihe atụ na-egosi ọkwa sudo:

[joshua@debian~]$ sudo whoami
root

Ka ịtọlite ​​akaụntụ sudo dị adị ma ọ bụ ọhụrụ, gaa na nkuzi anyị na Ịgbakwunye onye ọrụ na Sudoers na Debian.

Iji mgbọrọgwụ akaụntụ, jiri iwu na-esonụ na paswọọdụ mgbọrọgwụ banye.

su

Nkuzi a ga-eji ọnụ maka nrụnye achọtara na ya Ihe omume > Gosi ngwa > Nkwụsị.

Ihe Nlereanya:

Otu esi etinye PyCharm na Debian 11 Bullseye

Wụnye ndabere Python

Iji hụ na IDE nwere ike ibu nke ọma, tinye Python 3. xx ndabara na sistemụ Debian gị. Ọ bụrụ na ị na-eji nsụgharị Python ugbua, enwere ike ịwụ nke a.

sudo apt install python3 python3-dev python3-distutils -y

Ọdịda ịwụnye ndị a nwere ike imetụta nbudata PyCharm ma ọ bụrụ na ị wụsara wee hụ na njehie ahụ laghachiri wee mee iwu dị n'elu.

Nhọrọ 1 - Wụnye PyCharm na Flatpak

Site na ndabara, PyCharm adịghị agụnye na Debian 11 Bullseye repository, yabụ a na-atụ aro ka iji njikwa nrụnye mpụga ka ị nwee ike ịnọgide na-enweta mmelite. Nhọrọ nke mbụ ga-eji Flatpak.

Nke mbụ, wụnye ngwugwu Flatpak.

sudo apt install flatpak -y

Na-esote, ịkwesịrị ịme ka Flatpack maka Debian jiri iwu na-esonụ na njedebe gị:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Rịba ama ozi ahụ. A ga-ekpuchi nke a ma emechaa.

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Flatpak na-egosipụta naanị Community na ọkachamara ọ bụghị agụmakwụkwọ. Maka ọtụtụ, a na-atụ aro Ogbe maka ojiji nke mbụ.

Wụnye Ogbe PyCharm:

flatpak install flathub com.jetbrains.PyCharm-Community

Wụnye PyCharm Ọkachamara:

flatpak install flathub com.jetbrains.PyCharm-Professional

Ihe atụ (Ogbe):

Otu esi etinye PyCharm na Debian 11 Bullseye

Pịnye Y ugboro abụọ, pịa pịa Tinye igodo ugboro abụọ ịga n'ihu na nwụnye.

Ị ga-amalitegharị PC gị ma ọ bụrụ na akara ngosi ngwa ahụ efunahụ ma ọ bụ ngwa ahụ anaghị ebido oge mbụ!

Ị nwere ike ịbanye na pụọ ​​na nnọkọ gị ka ịlele akara ngosi ngwa ma ọ bụ jiri iwu njedebe na-esote.

sudo reboot

Mara, ọ bụrụ na akara ngosi gị anaghị efu ma malite ngwa gị, wee leghara iwu a dị n'elu anya.

Agbanyeghị, ọ bụrụ na ịchọrọ iji aka kwalite, jiri iwu a.

flatpak update

Iji wepu ụdị Flatpack nke PyCharm, jiri iwu a.

Wepu Ogbe PyCharm:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Community

Wepụ PyCharm Ọkachamara:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Professional

Ihe atụ (Ogbe):

Otu esi etinye PyCharm na Debian 11 Bullseye

Pịnye Y Ọzọkwa Tinye igodo ịga n'ihu na mwepụ nke PyCharm site na iji usoro Flatpak.

Advertisement

Nhọrọ 2 - Wụnye PyCharm na Snapcraft (Snap)

Nhọrọ nke abụọ bụ iji njikwa ngwugwu Snap. Ndị ọrụ Debian ga-ama Snapcraft nke ọma, ebe ọ na-egosipụta nke ọma na sistemụ Ubuntu.

Nke mbụ, wụnye Snap n'ihi na ọ naghị abịarute na nke ala dịka na nkesa yiri ya.

sudo apt install snapd -y

Site na ndabara, ekwesịrị ịmalite ọrụ Snap ma gbanye ya na mmalite. Ọ bụrụ na nke a emebeghị, jiri iwu a.

sudo systemctl enable snapd --now

Na-esote, ụfọdụ ngwugwu na-abịa na kpochapụwo, yabụ ịkwesịrị ịmepụta symlink iji mee ka nkwado snap kpochapụwo.

sudo ln -s /var/lib/snapd/snap /snap

Ọ bụrụ na ị na-etinye Snap na nke mbụ, a na-adụ ọdụ ka ịwụnye faịlụ ndị bụ isi ka ịzenarị okwu ndị na-emegiderịta onwe ha:

sudo snap install core

Ihe atụ mmepụta:

core 16-2.52.1 from Canonical✓ installed

Na-esote, a na-atụ aro ka ịmalitegharị ọrụ snap n'oge a.

sudo systemctl restart snapd

Na-esote, nyochaa na ọrụ Snapd na-arụ ọrụ site na iji systemctl iwu:

systemctl status snapd

Ihe Nlereanya:

Otu esi etinye PyCharm na Debian 11 Bullseye

Ọzọ, wụnye PyCharm.

Wụnye Ogbe PyCharm:

sudo snap install pycharm-community --classic

Wụnye PyCharm Ọkachamara:

sudo snap install pycharm-professional --classic

Wụnye PyCharm Educational:

sudo snap install pycharm-educational --classic

Ihe atụ (Ogbe):

pycharm-community 2021.2.3 from jetbrains✓ installed

Dịka n'elu, nke a na-agwa gị na arụnyere PyCharm nke ọma yana nọmba ụdị.

Ị ga-amalitegharị PC gị ma ọ bụrụ na akara ngosi ngwa ahụ efunahụ ma ọ bụ ngwa ahụ anaghị ebido oge mbụ!

Ị nwere ike ịbanye na pụọ ​​na nnọkọ gị ka ịlele akara ngosi ngwa ma ọ bụ jiri iwu njedebe na-esote.

sudo reboot

Mara, ọ bụrụ na akara ngosi ngwa gị anaghị efu ma malite ngwa gị, leghara iwu a dị n'elu anya.

Ngwunye Snap dị ịrịba ama karịa karịa ebe nchekwa ọdịnala site na njikwa ngwugwu DNF maka ọtụtụ ihe kpatara ya. Otú ọ dị, ngwungwu a na-echekwa ahịa n'ụzọ kwụ ọtọ karịa nke a na-emelite na ụdị kachasị ọhụrụ dị.

Maka ọdịnihu, ka imelite yana yana ngwungwu ọ bụla Snap arụnyere, mee iwu a:

sudo snap refresh

Ọ bụrụ na ịchọkwaghị itinye PyCharm, wepụ ya site na iji iwu wepụ Snap.

Wepu Ogbe PyCharm:

sudo snap remove pycharm-community

Wepụ PyCharm Ọkachamara:

sudo snap remove pycharm-professional

Wepụ PyCharm Education:

sudo snap remove pycharm-educational

Ihe atụ (Ogbe):

pycharm-community removed
Advertisement

Otu esi ebido PyCharm

Ugbu a ị nwere onye ahịa PyCharm arụnyere, enwere ike ịme mmalite n'ụzọ abụọ.

N'ụdị njedebe gị:

Mwepụta Ogbe PyCharm:

pycharm-community

Mwepụta PyCharm Ọkachamara:

pycharm-professional

Mmalite mmụta PyCharm:

pycharm-educational

N'aka nke ọzọ, ndị ọrụ Flatpak ga-achọ ịmalite site na iji iwu dị n'okpuru ebe a na njedebe:

Mwepụta Ogbe PyCharm:

flatpak run com.jetbrains.PyCharm-Professional
flatpak run com.jetbrains.PyCharm-Community

Mwepụta PyCharm Ọkachamara:

flatpak run com.jetbrains.PyCharm-Professional

Agbanyeghị, nke a abụghị ihe bara uru, ma ị ga-eji ụzọ a na desktọpụ gị mepee ụzọ ahụ: Ihe omume > Gosi ngwa > PyCharm. Ọ bụrụ na ịnweghị ike ịhụ ya, jiri ọrụ ọchụchọ dị na menu Gosi Ngwa ma ọ bụrụ na etinyere ọtụtụ ngwa.

Ihe Nlereanya:

Otu esi etinye PyCharm na Debian 11 Bullseye

Oge mbụ ị malitere PyCharm, ị ga-enwe ike ịhụ mmapụta abụọ.

Mmapụta mbụ bụ ụkpụrụ eji eme ihe.

Pịa kwenye bọtịnụ ịnọgide.

Ihe Nlereanya:

Otu esi etinye PyCharm na Debian 11 Bullseye

Mmapụta nke abụọ na-arịọ ma ọ bụrụ na ịchọrọ ịkekọrịta data na-amaghị aha iji nyere aka melite ngwa ahụ.

Họrọ nke ọ bụla ka eziga or ọ bụghị izipu na-aga n'ihu.

Ihe Nlereanya:

Otu esi etinye PyCharm na Debian 11 Bullseye

Ozugbo imepere PyCharm, ị ga-ahụ ihuenyo mbudata nke mbụ.

Ọmụmaatụ (Ogbe):

Otu esi etinye PyCharm na Debian 11 Bullseye

Ekele, ị rụnyela PyCharm nke ọma.

Okwu na mmechi

N'ime nkuzi a, ị mụtala otu esi etinye PyCharm na desktọpụ Debian 11 Bullseye gị site na iji ụzọ abụọ dị iche iche, nke ị nwere ike ịgbanwe n'ọdịnihu ma ọ bụrụ na ịchọrọ iji otu njikwa ngwugwu karịa nke ọzọ.

N'ozuzu, ọ bara uru ịwụnye PyCharm ma ọ bụrụ na ị na-emepe emepe nke ukwuu site na iji asụsụ mmemme Python. Ọ bụrụ na ị na-amụ Python, ịkwesighi ịbụ ọkachamara. Ọ ga-enyere gị aka ịghọta nke ọma, ma ọ bụrụ na ọ bụghị mma karịa aha ọ bụla a ma ama na mpaghara IDE.

Maka ozi ndị ọzọ, gaa na onye ọrụ gọọmentị Akwụkwọ PyCharm.

Idenye aha
Gwa nke
0 Comments
Inline nzaghachi
Lee echiche niile
mgbasa ozi mgbasa ozi
0
Ga-ahụ n'anya gị echiche, biko okwu.x