Otu esi etinye Snap & Snap-Store (Snapcraft) na openSUSE Leap 15

Site na ndabara, openSUSE anaghị abịa na Snap ma ọ bụ Snap Store arụnyere n'ihi na nke a bụ njirimara nke Canonical wuru dị ka ụzọ dị ngwa ma dị mfe iji nweta ụdị ngwanrọ kachasị ọhụrụ. Ubuntu Sistemu, yana ngwungwu Snap arụnyere site na sava etiti SNAP nke Canonical na-arụ.

Enwere ike itinye Snap yana, maka ọtụtụ akụkụ, jiri ọtụtụ ngwugwu rụọ ọrụ dabereSUSE Sistemu na-akwado nke ọma ugbu a. Enwere esemokwu ole na ole nwere ngwugwu akọwapụtara. Okwu na snaps VS zypper ngwugwu njikwa bụ na Snaps na-ejide onwe ya, na-eme ka .snap na-abawanye n'ihi inwe ihe ndabere ya niile gụnyere na ogo dị iche iche nke obere mmebi arụmọrụ ma e jiri ya tụnyere ngwa ala arụnyere. N'ụzọ dị iche, zypper dị ọkụ karịa nkesa ọnyà ya n'ihi na ọ dịghị mkpa ijikọta ndabere.

N'ime nkuzi a, ị ga-amụta ka esi etinye Snapcraft ma nwee ike iji njirimara a na-aga n'ihu na openSUSE Leap 15.

Prerequisites

  • OS akwadoro: mepereSUSE Leap - 15.x 
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Melite Sistemụ Ọrụ

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

sudo zypper refresh

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@opensuse ~]$ sudo whoami
root

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

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

su
Advertisement

Wụnye Snapcraft (Snapd)

Iji wụnye Snap, ị ga-ebu ụzọ bubata ebe nchekwa nchekwa maka ụdị openSUSE Leap gị. Ụfọdụ ihe atụ dị n'okpuru.

Bubata ebe nchekwa ngwa ngwa maka openSUSE 15.2:

sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2 snappy

Bubata ebe nchekwa ngwa ngwa maka openSUSE 15.3:

sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.3 snappy

Nke a ga-agbanwe. Otú ọ dị, dochie 15 x na nọmba ụdị ọhụrụ n'oge, ọ dị mfe otú ahụ.

Ugbu a bubata igodo GPG achọrọ:

sudo zypper --gpg-auto-import-keys refresh

Site na ebe nchekwa na igodo GPG agbakwunyere, megharịa cache ka ịtinye ebe nchekwa ọhụrụ ahụ.

sudo zypper dup --from snappy

Na-esote, wụnye ngwugwu snapd na openSUSE:

sudo zypper install snapd

Ihe atụ mmepụta:

Otu esi etinye Snap & Snap-Store (Snapcraft) na openSUSE Leap 15

Ụdị "Y," wee pịa "Tinye igodo" ịga n'ihu na nwụnye. 

Ozugbo etinyere Snap, achọrọ ka ịmalitegharịa sistemụ gị.

sudo reboot

Mgbe ịlaghachiri na sistemụ gị, malite ọrụ snapd wee mee ka mmalite akpaaka.

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

Mgbe ị na-etinye Snap na nke mbụ, a na-adụ ọdụ ka ịwụnye faịlụ ndị bụ isi iji zere nsogbu ndị na-emegiderịta onwe ha:

sudo snap install core

Ihe atụ mmepụta:

core 16-2.52.1 from Canonical✓ installed

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

systemctl status snapd

Ihe Nlereanya:

Otu esi etinye Snap & Snap-Store (Snapcraft) na openSUSE Leap 15

Otu esi eji Snapcraft (Snapd)

Wụnye ngwugwu

Ugbu a etinyere Snap, ị nwere ike ịnwale ngwa ngwa ịwụnye ngwugwu, nke a nwere ike ịbụ ihe ọ bụla; Otú ọ dị, maka nkuzi, ngwa Discord ga-abụ ihe atụ.

sudo snap install discord

Ihe atụ mmepụta:

discord 0.0.16 from Snapcrafters installed

Melite ngwugwu

Maka ọdịnihu, iji melite Discord na ngwungwu ọ bụla nke Snap arụnyere, mee iwu a:

sudo snap refresh

Wepu ngwugwu

Ọ bụrụ na ịchọghị ka etinye Discord, wepụ ya site na iji iwu wepụ Snap.

sudo snap remove discord

Ihe atụ mmepụta:

discord removed

Discord na-arụ ọrụ nke ọma na Snap na Snap Store; Otú ọ dị, dị ka ekwuru na mmalite, ụfọdụ ngwa nwere ike ịbụ nsogbu, dị ka ịtinyeghị akara ngosi na menu ngwa. Ọ bụrụ na nke a emee, lelee ngalaba nchọpụta nsogbu na njedebe nke nkuzi.

N'oge na-adịghị mma, akara ngosi ngwa enweghị ike ịpụta na mmemme > gosi ngwa menu. Malitegharịa ekwentị ahụ ka nke a na-edozi ọtụtụ ahụhụ ndị a ma ọ bụrụ na ha emee.

Advertisement

Nhọrọ – Wụnye Snap-Store

Mgbe itinyechara Snap na sistemu Leap openSUSE gị, ị nwere nhọrọ iji wụnye ụlọ ahịa Snapcraft, nke na-eji UI eserese nke nwere ike ịmasị mma ma dị mfe ịchọ ngwugwu. Nke a bụ nhọrọ kpamkpam, mana ọ bụrụ na ịchọrọ ịwụnye, gbanye iwu a:

sudo snap install snap-store

Ihe atụ mmepụta:

snap-store 3.38.0-64-g23c4c77 from Canonical✓ installed

Site na nrụnye zuru oke, ị nwere ike ịme ụlọ ahịa Snap n'ụzọ dị iche iche.

Nke mbụ, mgbe ịnọ na ọdụ gị, ịnwere ike iji iwu a:

snap run snap-store

N'aka nke ọzọ, gbaa ọsọ snap run snap-store & nye iwu n'azụ ka ịtọhapụ ọdụ ụgbọ ala:

snap run snap-store &

Agbanyeghị, nke a abụghị ihe bara uru, ma ị ga-eji ụzọ a na desktọpụ gị mepee ụzọ ahụ: Ihe omume > Gosi ngwa > Ụlọ ahịa nfe. Ọ 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 Snap & Snap-Store (Snapcraft) na openSUSE Leap 15

Ozugbo emepere, ị ga-echere ọtụtụ sekọnd ka ị na-ebudata cache Store Snap.

Anya ikpeazụ…

Otu esi etinye Snap & Snap-Store (Snapcraft) na openSUSE Leap 15

Otu esi ewepu Snap (Site na openSUSE Leap 15)

Iji wepu Snap na sistemu gị, mee iwu a:

sudo zypper remove snapd

Nke a ga-ewepụ Snap yana ngwungwu agbakwunyere arụnyere yana dabere. Dịka ọmụmaatụ, ọ bụrụ na ị rụnyere Ụlọ Ahịa Snap ma i wepụghị ya na mbụ, ngwugwu a na ndị ọzọ Snap arụnyere n'uju.

Ihe Nlereanya:

Removing snap snapcraft and revision 6751
Removing snap-snapcraft-6751.mount
Discarding preserved snap namespaces
Final directory cleanup
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state
Advertisement

Okwu na mmechi

N'ime nkuzi a, ị mụtala ka esi etinye na openSUSE Canonical's Snap system wee wụnye, melite, ma wepụ ngwugwu.

N'ozuzu, mmegharị nke iji ngwugwu Snap yiri ka ọ na-ekewa ndị ọrụ n'etiti. Ọtụtụ sysadmins na ndị ọrụ ike agaghị emetụ Snaps aka; Otú ọ dị, ọtụtụ ndị ọrụ desktọpụ na ndị nkịtị na-enwe obi ụtọ nke ịwụnye na inwe ngwugwu emelitere ma ghara ichebara bloat na oghere. Nyere ka nnukwu draịva SSD siri bụrụ ụbọchị ndị a, ihe dị iche dị obere ma ọ bụrụ na ị nwere oke akụrụngwa dịka ihe nkesa mmepụta. N'agbanyeghị nke ahụ, n'ihi ịnọ n'ime akpa dị iche, Snaps nwere ike iji nwayọọ na-arụ ọrụ karịa ngwa arụnyere na ala site na zypper.

Ndị ọrụ ụlọ na-ahụta ịwụnye ngwa siri ike na openSUSE ma ọ bụ ọbụna iji Flatpack kwesịrị ịlele Snap iji chekwaa oge na nkụda mmụọ mgbe ị na-amụ usoro. Ọ bụ usoro dị mfe nghọta.

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