Monga mukudziwa, si mapulogalamu onse omwe amapangidwa kuti azigwiritsa ntchito Windows amagwira ntchito mogwirizana ndi magawo ofanana ndi Linux kernel. Izi nthawi zina zimabweretsa zovuta kwa ogwiritsa ntchito ena chifukwa cholephera kukhazikitsa anzawo. Pulogalamu yotchedwa Wine idzathetsa vutoli, chifukwa idapangidwa kuti itsimikizire magwiridwe antchito a Windows. Lero tikufuna kuwonetsa njira zonse zomwe zilipo pakukhazikitsa pulogalamu yotchulidwa ku Ubuntu.
Ikani Vinyo ku Ubuntu
Kuti mukwaniritse ntchitoyo, tidzagwiritsa ntchito muyezo "Pokwelera", koma osadandaula, simudzaphunzira nokha malamulo onse, chifukwa sitingolankhula zokhazokha komanso tidzafotokozeranso zochita zonse. Muyenera kusankha njira yoyenera kwambiri ndikutsatira malangizo omwe mwapatsidwa.
Njira 1: Kukhazikitsa kuchokera kumalo osungira
Njira yosavuta kukhazikitsa mtundu wakhazikika ndikugwiritsa ntchito posungira boma. Njira yonseyi imachitika ndikungolamula lamulo limodzi ndipo limawoneka motere:
- Pitani ku menyu ndikutsegula pulogalamuyi "Pokwelera". Mutha kuyiyambanso ndikudina RMB pamalo opanda pake pa desktop ndikusankha chinthu choyenera.
- Mutatsegula zenera latsopano, lowetsani lamulo pamenepo
sudo apt ndikukhazikitsa vinyo okhazikika
ndipo dinani Lowani. - Lembani mawu achinsinsi kuti mupereke mwayi wofikira (zilembo zidzalowa, koma sizikhala zosaoneka).
- Mudziwitsidwa za malo a disk, lembani kalata kuti mupitilize D.
- Njira yokhazikitsa itha pomwe chingwe chatsopano chikusonyeza kuti malamulowo akutsatiridwa.
- Lowani
vinyo - kusintha
kuti muwonetsetse kuti njira yoyikirayo idachitika molondola.
Iyi ndi njira yosavuta yowonjezeramo mtundu wa Wine 3.0 wamakono pa ntchito ya Ubuntu, koma njirayi siyabwino kwa ogwiritsa ntchito onse, motero tikukulimbikitsani kuti muwerenge zotsatirazi.
Njira 2: Gwiritsani ntchito PPA
Tsoka ilo, siwopanga mapulogalamu aliyense yemwe ali ndi mwayi wokweza mapulogalamu aposachedwa ku malo osungira aposachedwa panthawi yake. Ichi ndichifukwa chake mabukhu apadera adapangidwa kuti azisunga zakale. Vinyo 4.0 akatulutsidwa, kugwiritsa ntchito PPA kudzakhala koyenera kwambiri.
- Tsegulani chopondera ndikunamizira lamulo pamenepo
sudo dpkg - madongosolo omangidwe i386
, yomwe imafunika kuwonjezera othandizira mapurosesa okhala ndi kamangidwe ka i386. Ubuntu 32-bit eni akhoza kudumpha izi. - Tsopano muyenera kuwonjezera posungira ku kompyuta yanu. Izi zimachitika koyamba ndi gulu
nsapato -qO- //dl.winehq.org/wine-builds/winehq.key | kiyi wokonda kwambiri -
. - Kenako lembani
sudo apt-add-repository 'deb //dl.winehq.org/wine-builds/ubuntu/ bionic main'
. - Osazimitsa "Pokwelera", chifukwa ilandila ndikuwonjezera maphukusi.
- Pambuyo kuwonjezera bwino mafayilo osungira, kukhazikitsa iko kokha kumachitika mwa kulowa
sudo apt ndikukhazikitsa winehq khola
. - Onetsetsani kuti mwatsimikiza.
- Gwiritsani ntchito lamulo
winecfg
kuyang'ana magwiridwe antchito ake. - Mungafunike kukhazikitsa zida zowonjezera kuti mugwire. Idzaperekedwa yokha, pambuyo pake kuwindo kwa Wine kuyambitsa, zomwe zikutanthauza kuti zonse zikuyenda bwino.
Njira 3: Ikani Beta
Monga mudaphunzirira pazambiri pamwambapa, Vinyo ali ndi mtundu wokhazikika, ndipo beta imapangidwa nayo, yomwe imayesedwa ndi ogwiritsa ntchito musanamasulidwe kuti agwiritsidwe ntchito. Kukhazikitsa mtundu wotere pa kompyuta kuli kofanana ndi khola:
- Thamanga "Pokwelera" mwanjira iliyonse yosavuta ndikugwiritsa ntchito lamulo
kukonda kwambiri - kukhazikitsa-kutsimikizira-zonena za vinyo
. - Tsimikizani kuwonjezera kwamafayilo ndikudikirira kuti akwaniritse.
- Ngati msonkhano woyeserera sugwirizana ndi chifukwa chilichonse, chotsani
sudo apt-purget zotsuka vinyo
.
Njira 4: Dzipangireni nokha kuchokera kochokera
Kugwiritsa ntchito njira zam'mbuyomu, kuyika mitundu iwiri ya Wine pambali sikugwira ntchito, komabe, ogwiritsa ntchito ena amafunikira mapulogalamu awiri nthawi imodzi, kapena akufuna kuwonjezera zigamba ndi kusintha kwina. Poterepa, njira yabwino kwambiri ingakhale yopanga Wine payokha kuchokera ku ma code omwe amapezeka.
- Choyamba tsegulani menyu ndikupita ku "Mapulogalamu ndi zosintha".
- Apa muyenera kuyang'ana bokosi pafupi Source Codekotero kuti kusintha kwina ndi mapulogalamu ndikotheka.
- Kuti muthane ndi zosintha, mawu achinsinsi amafunikira.
- Tsopano kudutsa "Pokwelera" Tsitsani ndikuyika zonse zomwe mukufuna kudzera
sudo apt build-dep vinyo-okhazikika
. - Tsitsani mtundu wanambala wa mtundu wofunikira pogwiritsa ntchito mwapadera. Ikani lamulo ku cholumikizira
sudo wget //dl.winehq.org/wine/source/4.0/wine-4.0-rc7.tar.xz
ndipo dinani Lowani. Ngati mukufuna kukhazikitsa mtundu wina, pezani malo oyenera pa intaneti ndikuyika adilesi yake //dl.winehq.org/wine/source/4.0/wine-4.0-rc7.tar.xz. - Tsegulani zomwe zasungidwa patsamba lanu
sudo tar xf vinyo *
. - Kenako pitani kumalo omwe adapangidwa
CD wa cd-4.0-rc7
. - Tsitsani mafayilo ofunika kuti mumange pulogalamuyo. M'matembenuzidwe 32-gwiritsani ntchito lamulo
sudo ./configure
, koma mu 64-bitsudo ./configure --gwira-win64
. - Tsatirani njira yomangira kudzera palamulo
panga
. Mukapeza cholakwika ndi malembawo "Kufikira Kakanidwa"gwiritsani ntchito lamulokupanga zachikondi
kuyambitsa ndondomekoyi ndi ufulu wa mizu. Kuphatikiza apo, ndikofunikira kulingalira kuti njira yodzilemba imatenga nthawi yambiri, simuyenera kukakamiza kutonthoza kuti kuyimitsidwe. - Pangani okhazikitsa kudzera
sudo Checkinstall
. - Gawo lomaliza ndikukhazikitsa msonkhano wotsiriza kudzera mu zofunikira polowa mu mzere
dpkg -kukhala vinyo.deb
.
Tidayang'ana njira zinayi zoyenera za kukhazikitsidwa kwa Wine zomwe zimagwira pa mtundu waposachedwa wa Ubuntu 18.04.2. Palibe zovuta zakukhazikitsa zomwe zingachitike ngati mutsatira malangizowo ndendende ndikulowetsa malamulo oyenera. Tilimbikitsanso kuti mutchere khutu ku machenjezo omwe amapezeka mu console; adzakuthandizani kudziwa zolakwika ngati zichitika.