Otu esi etinye Atom Text Editor na Ubuntu 20.04

Atọm bụ ederede efu na nke mepere emepe yana onye na-edezi koodu isi mmalite nke na-akwado ọtụtụ nyiwe obe dị ka macOS, Linux, na Microsoft Windows na nkwado maka nkwụnye ins nke edere na Javascript yana njikwa Git agbakwunyere, nke mepụtara. GitHub.

Akpaokwu nke Atom na-akpọ onwe ya bụ "onye na-edezi ederede a na-egwu egwu maka narị afọ nke 21st". Atọm, ma e jiri ya tụnyere ndị asọmpi, bụ enyi na enyi karịa, yana ọtụtụ nhọrọ maka mgbakwunye iji tinye nkọwa syntax maka asụsụ na usoro, tinye linting dị ike, na jikọta ndị debuggers, gburugburu oge ịgba ọsọ, na njikwa vidiyo na ihe ọkpụkpọ egwu, na ọtụtụ ndị ọzọ.

N'ime nkuzi a, ị ga-amụta ka esi eme tinye ụdị Atom Text Editor kachasị ọhụrụ na sistemụ arụmọrụ Ubuntu 20.04 gị.

Prerequisites

  • OS akwadoro: Ubuntu 20.04 - nhọrọ (Ubuntu 21.04)
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Na-emelite Sistemụ Ọrụ

Melite gi Ubuntu 20.04 sistemụ arụmọrụ iji hụ na ngwugwu niile dị kwalitere ruo ugbu a:

sudo apt update && sudo apt upgrade

Advertisement


Bubata igodo GPG na ebe nchekwa Atọm

Site na ndabara, Atom Text Editor adịghị na ebe nchekwa Ubuntu 20.04 ndabara. Iji wụnye Atom, ị ga-agbakwunyerịrị ebe nchekwa isi mmalite yana igodo GPG iji nyochaa ngwugwu. N'ụzọ dị mma, ibubata ebe nchekwa isi iyi ga-apụta na ị ga-enwe ụdị Atom kwụsiri ike kachasị ọhụrụ mgbe niile.

Mbụ, bubata ihe igodo GPG site na iwu a:

wget https://packagecloud.io/AtomEditor/atom/gpgkey -O atom_gpgkey
gpg --no-default-keyring --keyring ./atom_signing_key_temp.gpg --import ./atom_gpgkey
gpg --no-default-keyring --keyring ./atom_signing_key_temp.gpg --export > ./atom_signing_key.gpg
sudo mv atom_signing_key.gpg /etc/apt/trusted.gpg.d/

Mwepụta ihe atụ ma ọ bụrụ nke ọma:

gpg --import ./atom_gpgkey
gpg: keybox './atom_signing_key_temp.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key B75442BBDE9E3B09: public key "https://packagecloud.io/AtomEditor/atom (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Na-esote, bubata ebe nchekwa isi mmalite na ndepụta isi mmalite njikwa ngwugwu dabara adaba:

echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" | sudo tee /etc/apt/sources.list.d/atom.list

Wụnye Atom Text Editor

Iji hazie ebe nchekwa isi mmalite, ị ga-emerịrị ndepụta isi mmalite njikwa ngwugwu dabara adaba iji gosipụta mgbakwunye ọhụrụ tupu nrụnye Atom. Iji mee nke a, gbanye iwu a na njedebe gị:

sudo apt update

Ugbu a tinye Atom Text Editor site na iji iwu a:

sudo apt install atom

Ihe atụ mmepụta:

Otu esi etinye Atom Text Editor na Ubuntu 20.04

ụdị (NA), wee pịa (Tinye igodo) ịga n'ihu na nwụnye.

Iji kwado nrụnye, ị nwere ike iji iwu ụdịdị a nyochaa dị ka ndị a:

atom --version

Ihe atụ mmepụta:

Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

Advertisement


Mwepụta Atom Text Editor

Na nrụnye zuru ezu, ị nwere ike ịgba ọsọ Atom n'ụzọ ole na ole. Nke mbụ, mgbe ịnọ na ọdụ gị, ịnwere ike iji iwu a:

atom

N'aka nke ọzọ, gbaa ọsọ iwu atọm n'azụ ka ịtọhapụ ọnụ ọnụ:

atom &

Agbanyeghị, nke a abụghị ihe bara uru, ma ị ga-eji ụzọ ndị a na desktọpụ Ubuntu gị mepee ụzọ: Ihe omume > Gosi ngwa > Atọm. Ọ 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 Atom Text Editor na Ubuntu 20.04

The oge mbụ ị mepee Atom Text Editor, ị ga-ahụ windo ndị a:

Otu esi etinye Atom Text Editor na Ubuntu 20.04

Ekele, ị tinyela Atom Text Editor na Ubuntu 20.04.

Wepu Atom Text Editor

Iji wepu ngwanrọ Atom na sistemu Ubuntu gị, mee iwu na-esonụ na ọdụ gị:

sudo apt autoremove atom -y

Mgbe ahụ maka iwepụ kpamkpam, hichapụ ebe nchekwa na igodo GPG:

sudo rm /etc/apt/sources.list.d/atom.*
sudo rm /etc/apt/trusted.gpg.d/atom_*
sudo apt update

Advertisement


Okwu na mmechi

N'ime nkuzi a, ị mụtala ka esi ebubata ebe nchekwa Atom wee wụnye ya site na iji njikwa ngwugwu dabara na sistemụ arụmọrụ Ubuntu 20.04 gị. N'ozuzu, a na-ahụta Atom ka ọ dị mfe iji onye nchịkọta akụkọ WYSIWYG nke na-adị ngwa ngwa dị ka onye ọ bụla na-asọmpi dị ka Sublime Text editọ ma nwee ike ịhazi ya na plugins.

Maka ama ndi ọzọ, gaa na akwụkwọ akwụkwọ.

Ahapụ a Comment