Otu esi etinye & hazie mmanya (WineHQ) na Pop!_OS 20.04

Mmanya bụ oyi akwa ndakọrịta nke mepere emepe na-enye gị ohere ịme ngwa Windows na sistemụ arụmọrụ dịka Unix Linux, FreeBSD, na macOS. Ọ bụ interface na-atụgharị oku sistemu Windows ka ọ bụrụ oku POSIX nhata nke ejiri Linux yana sistemụ arụmọrụ ndị ọzọ dabere na Unix.

Maka ndị ọrụ Linux, Wine bụ onye nzọpụta mgbe ị na-agba ngwa dabere na Windows na sistemụ UNIX. Agbanyeghị, ọ bụghị ngwa Windows niile ga-agba na mmanya ma nwee ike ịnwe mkpọka ma ọ bụ ahụhụ dị iche iche. Nke Wine AppDB bụ nchekwa data nwere ndepụta ngwa anwalela ma kwenye na ọ na-arụ ọrụ n'okpuru mmanya.

Ọmụmaatụ nke uru mmanya na Windows:

  • Mmanya na-eme ka o kwe omume iji ohere Unix niile siri ike (nkwụsi ike, mgbanwe, nchịkwa dịpụrụ adịpụ) ka ị na-eji ngwa Windows ị dabere na ya.
  • Unix emela ka o kwe omume ide edemede dị ike. Mmanya na-eme ka o kwe omume ịkpọ ngwa Windows site na scripts nke nwekwara ike ịkwado gburugburu Unix ruo n'ókè ya.
  • Mmanya na-eme ka o kwe omume ịnweta ngwa Windows na anya, ọbụlagodi ma ọ bụrụ na ha dị puku kilomita ole na ole.
  • Mmanya na-eme ka ọ bụrụ akụ na ụba iji ndị ahịa dị gịrịgịrị: wụnye Wine na sava Linux, yana voila, ị nwere ike ịnweta ngwa Windows ndị a site na ọdụ X ọ bụla.
  • Enwere ike iji mmanya mee ngwa Windows dị na webụ site na iji VNC na ndị ahịa Java/HTML5.
  • Wine bụ sọftụwia mepere emepe, yabụ ị nwere ike ịgbatị ya ka ọ dabara maka mkpa gị ma ọ bụ mee ka otu n'ime ọtụtụ ụlọ ọrụ meere gị ya.

Na njedebe nke nkuzi, ị ga-amụta otu esi etinye na hazie Mmanya na Pop!_OS 20.04 desktọpụ gị.

Prerequisites

  • OS akwadoro: Pop! _OS 20.04 ma ọ bụ karịa.
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.
  • Achọrọ ngwugwu nhọrọ: wget

Melite Sistemụ Ọrụ

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

sudo apt update && sudo apt upgrade

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@popos ~]$ 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 Pop!_OS 20.04.

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

su

Advertisement


Lelee ma Pop!_OS 20.04 ma ọ bụrụ 32-bit ma ọ bụ 64-bit

Nzọụkwụ mbụ bụ ịchọpụta ma sistemụ gị bụ 32-bit ma ọ bụ 64-bit nke ọma. Iji mee nke a, gbaa ọsọ lscpu iwu:

lscpu

Ihe atụ mmepụta:

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Wụnye mmanya sitere na ebe nchekwa APT

Wụnye Architecture

Nzọụkwụ mbụ bụ ịgbakwunye i386 architecture.

sudo dpkg --add-architecture i386

Ugbu a ịmara ụdị mmanya ị ga-etinye, ị nwere ike ịwụnye ụdị mmanya kacha ọhụrụ na nke kwụsiri ike site na ebe nchekwa Pop!_OS (Ubuntu).

Maka naanị 32bit:

sudo apt-get update && sudo apt install wine32 -y

Maka 32bit na 64bit:

sudo apt-get update && sudo apt install wine32 wine64 -y

Ị nwere ike kwado ụdị mmanya gị iji nyochaa nrụnye wee wuo site na iji iwu a:

wine --version

Ihe atụ mmepụta:

wine-5.0 (Ubuntu 5.0-3ubuntu1)

Mara, ịwụnye mmanya sitere na ebe nchekwa ndabara ga-abụ ụdị ochie karịa nke dị ugbu a sitere na WineHQ.


Advertisement


Wụnye mmanya sitere na ebe nchekwa WineHQ

Iji jiri ụdị ọhụụ ọhụrụ sitere na Wine, ị ga-achọ iji ebe nchekwa ha iji wụnye ma ọ bụ melite. A na-emepe mmanya mgbe niile yana mwepu ọtụtụ oge kwa ọnwa maka ndozi, ndozi ahụhụ na ndozi.

Iji wụnye, soro usoro ndị a:

Wụnye Architecture

Nzọụkwụ mbụ bụ ịgbakwunye i386 architecture.

sudo dpkg --add-architecture i386

Bubata igodo GPG

Nzọụkwụ mbụ na ịwụnye ihe nrụpụta mmanya ọhụrụ bụ ibubata igodo GPG:

sudo wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Ọ bụrụ nbudata na ibubata nke ọma, ị ga-enweta nsonaazụ:

OK

Bubata ebe nchekwa

Na-esote, wụnye ihe ndabere-ngwa-ngwa-ngwa-ngwa wee bubata ihe nrụpụta mmanya.

sudo apt install software-properties-common && sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

Wụnye mmanya

Ugbu a ị webatara ya igodo GPG na ụlọ ọrụ nchekwa, gaba n'ihu tinye Wine site na iji iwu a:

sudo apt update
sudo apt install --install-recommends winehq-stable

Ihe atụ nke nnukwu ndepụta a ga-etinye:s

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

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

Ma ọ bụ ọ bụrụ na ịchọrọ ịwụnye alaka mmepe jiri ihe ndị a:

sudo apt install --install-recommends winehq-devel

Ihe atụ mmepụta:

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

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

Mara, ngalaba mmepe WineHQ bụ ụdị mmanya kacha ọhụrụ sitere na ndị mmepe. Ọ nwere ike bụrụ ihe na-akwụghị ụgwọ mgbe niile ma ọ bụ naanị ndị mmepe kwesịrị itinye ya na ọ bụghị nkezi onye ọrụ ọ gwụla ma ịchọrọ ibi na nsọtụ.

N'ikpeazụ, nyochaa ụdị mmanya gị:

wine --version

Ị ga-enweta mmepụta na-esonụ (Ọmụmaatụ naanị):

wine-6.18

Nwụnye na nhazi biputere

Ka ịmalite mmanya, mee iwu ahụ mmanya mmanya site na njedebe gị. Iwu a ga-aga n'ihu ịwụnye Mono na Gecko ma tọọ gburugburu Wine.

Ihe Nlereanya:

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Press wụnye ka esi na Mono gaa na Gecko Installer.

Ozugbo ịmechara, a ga-egosi mkparịta ụka nhazi mmanya. Na ngalaba nke ngwanro a, ị nwere ike hazie ntọala mmanya dị iche iche.

Ntọala ndabara kwesịrị ezuru n'ọtụtụ ọnọdụ ebe a na-ahọrọ Windows 7. Agbanyeghị, dịka ọmụmaatụ ị nwere ike ịgbanwe ụdị Windows ka ọ bụrụ Windows 10.

Ọmụmaatụ nke windo nhazi:

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Ozugbo emechara, mechie igbe mkparịta ụka site na ịpị OK bọtịnụ.


Advertisement


Ọmụmaatụ nke iji mmanya wụnye Windows App

Na nkenke ọmụmaatụ, anyị ga-eji Wine tinye ngwa nkata Notepad ++.

Nke mbụ, gaa na budata page wee họrọ Versiondị Windows .exe ngwugwu.

Windows x64 ụdị njikọ:

wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.5/npp.8.1.5.Installer.x64.exe

Ozugbo ibudatara ya Ụdị Windows nke Notepad++, gaa na ndekọ ihe nbudata gị ma ọ bụ ebe ị na-echekwa faịlụ ebudatara ma mee iwu njedebe ndị a:

wine ./npp.8.1.5.Installer.x64.exe

Na-esote, ị ga-ahụ igbe nhazi mbụ pụtara maka nrụnye.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Họrọ asụsụ gị, wee pịa ya OK bọtịnụ.

Ihuenyo na-esote bụ ozi dị nkenke gbasara ndụmọdụ sitere na Notepad++ na nrụnye. Pịa Ọzọ > bọtịnụ ịmalite nrụnye.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Nkwekọrịta ikike Notepad++, pịa Ekwenyere m na-aga n'ihu.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Na-esote bụ ụzọ nrụnye ndabara. Dịka ị na-ahụ, ọ nwere ụzọ nrụnye ndabara dị ka Windows, C: ndị ọrụ Linux nwere ike Ngwa Datapad++. Desktọpụ. Awụnyere ngwa Windows n'ọtụtụ sistemụ dabere na Linux n'ime ~/.wine/drive_c/ ndekọ.

Maka ọtụtụ ndị ọrụ, hapụ dị ka ndabara, wee pịa ya Ọzọ > bọtịnụ ịga n'ihu na nwụnye.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Họrọ ụdị ọkọlọtọ nwụnye ma ọ bụ omenala wee mee mgbanwe dị mkpa. Ozugbo emechara, pịa Ọzọ > bọtịnụ aga n'ihu.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Mepụta akara ngosi ụzọ mkpirisi, họrọ ya ma ọ bụ ghara, wee pịa ya Wụnye bọtịnụ ịga n'ihu na nwụnye.

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Ozugbo emechara, ihuenyo nwụnye ihe ịga nke ọma ga-apụta; pịa Emechaa bọtịnụ ka imepe Notepad++.

Ekele, iji Wine tinye Notepad++.

Ihe Nlereanya:

Otu esi etinye & hazie mmanya na Pop!_OS 20.04

Mara, ọ bụrụ na ị nwere nsogbu ịwụnye ngwa ọ bụla, na-ebu ụzọ were ụdị kwụsiri ike tupu ngalaba mmepe.

Otu esi ewepu mmanya (wepu) mmanya

Dabere n'ụdị nhọrọ ị na-ahọrọ ka esi etinye mmanya, ụfọdụ ụzọ iji wepụ bụ:

Wepu mmanya 32-bit:

sudo apt autoremove wine32 --purge

Wepu mmanya 64-bit:

sudo apt autoremove wine64 --purge

Wepu WineHQ Stable:

sudo apt autoremove --install-recommends winehq-stable --purge

Wepu Mmepe WineHQ:

sudo apt autoremove --install-recommends winehq-devel --purge

Advertisement


Okwu na mmechi

N'ime ntuziaka a, ị mụtala otu esi etinye mmanya, gụnyere ngosipụta nke ịwụnye ngwa Windows .exe site na iji Wine na sistemụ arụmọrụ dabere na Pop!_OS gị. N'ozuzu, mmanya bụ mmemme magburu onwe ya na ụfọdụ ezigbo uru na-ejikọta Windows na Linux maka onye ọrụ.

Ahapụ a Comment