Txhim kho Wine hauv Ubuntu

Raws li koj paub, tsis yog tag nrho cov kev pab tsim rau lub qhov operating system hauv Windows tau tshaj sib tshaj ntawm Linux cov ntsiav. Qhov teeb meem no qee zaum ua rau muaj teeb meem rau qee cov neeg siv vim tsis muaj peev xwm tsim kom tau cov neeg sib txawv. Qhov kev pab hu ua Wine yuav daws qhov teebmeem no, vim nws tau tsim los ua kom pom tseeb tias kev ua tiav cov kev tsim nyob rau hauv Windows. Niaj hnub no peb xav ua kom pom txhua txoj hauv kev rau txhim kho txoj haujlwm software hauv Ubuntu.

Nrig Wine hauv Ubuntu

Yuav kom ua tiav txoj hauj lwm, peb yuav siv tus txheej txheem "Terminal"tab sis tsis txhob txhawj, koj tsis muaj nws tus kheej kawm tag nrho cov lus txib, vim hais tias peb yuav tsis tsuas qhia txog kev txhim kho cov txheej txheem nws tus kheej, tab sis kuj piav tag nrho cov kev ua tshwm. Txhua yam koj yuav tau ua yog xaiv txoj kev tsim nyog thiab ua raws li cov lus qhia tau muab.

Txoj Cai 1: Kev Nruab Nrab ntawm Lub Chaw Tso Ntaub Ntawv

Qhov yooj yim txoj kev los nruab qhov tseeb ruaj khov version yog siv lub nom repository. Tag nrho tus txheej txheem yog ua los ntawm kev nkag los ntawm ib qho kev hais kom ua thiab zoo li qhov no:

  1. Mus rau ntawm lub tshuab raj thiab qhib daim ntawv thov. "Terminal". Koj tuaj yeem tso nws los ntawm txhaj RMB ntawm qhov chaw khoob ntawm lub desktop thiab xaiv cov khoom coj los siv.
  2. Tom qab qhib qhov rooj tshiab, nkag mus rau qhov kev txiav txim ntawdsudo apt nruab wine-ruaj khovthiab nias rau Sau.
  3. Sau tus password kom nkag mus rau (cov cim yuav raug ntaus, tab sis nyob tsis pom).
  4. Yuav qhia rau koj paub txog cov hauj lwm ntawm qhov chaw disk, mus txuas ntxiv tsav tsheb D.
  5. Qhov txheej txheem installation tiav thaum tiav ib daim ntawv dawb paug rau cov lus qhia tshwj xeeb.
  6. Saucaw --versionkom paub tseeb tias qhov tseeb ntawm kev txhim kho installation.

Qhov no yog ib qho yooj yim haum ntxiv qhov tseeb ruaj version ntawm Caw 3.0 rau Ubuntu operating system, tab sis qhov kev xaiv no tsis haum rau tag nrho cov neeg siv, yog li peb xav hais tias koj paub koj tus kheej nrog cov hauv qab no.

Txoj kev 2: Siv PPA

Hmoov tsis, tsis yog txhua tus neeg tsim khoom muaj lub sijhawm los tswg cov software tseeb raws sij hawm rau lub chaw tso nyiaj (repository). Yog vim li ntawd, cov tsev qiv ntawv tshwj xeeb tau tsim los khaws cov neeg siv cov ntaub ntawv ceev cia. Thaum Wine 4.0 tso tawm, siv PPA yog qhov zoo tshaj plaws.

  1. Qhib cov console thiab paste qhov command ntawdsudo dpkg - ntxiv-architecture i386uas yuav tsum tau ntxiv rau kev them nyiaj yug rau i386 processors. Ubuntu 32-ntsis cov tswv yuav hla tau cov kauj ruam no.
  2. Tam sim no koj yuav tsum tau ntxiv qhov tso rau hauv koj lub computer. Qhov no yog ua ntej pab neegwget -qO- / html.winehq.org/wine-builds/winehq.key | sudo apt-key ntxiv -.
  3. Tom qab ntawd ntaussudo apt-ntxiv-repository 'deb //dl.winehq.org/wine-builds/ubuntu/ bionic main'.
  4. Tsis txhob tig "Terminal", vim hais tias cov pob ntawv yuav tau txais thiab ntxiv.
  5. Tom qab ntse ntxiv cov ntaub ntawv cia, lub installation nws tus kheej yog ua los ntawm kev nkag mussudo apt nruab winehq-ruaj khov.
  6. Nco ntsoov kom paub tseeb tias qhov kev khiav hauj lwm.
  7. Siv qhov kev hais kom uawinecfglos xyuas qhov kev ua haujlwm ntawm cov software.
  8. Koj yuav tsum tau nruab ib yam khoom ntxiv khiav. Nws yuav khiav cia, tom qab uas lub qhov rais qhib qhov rais yuav pib, uas txhais tau hais tias txhua yam yog ua haujlwm zoo.

Method 3: Nruab Beta

Raws li koj tau kawm los ntawm cov lus qhia saum toj no, Wine muaj qhov ruaj khov version, nrog rau nws, tsim beta, mob siab los ntawm cov neeg siv ua ntej tso tawm rau kev siv ntau. Lub installation ntawm xws li ib tug version ntawm ib lub computer yog ua nyob rau hauv yuav luag tib txoj kev raws li ib tug ruaj:

  1. Khiav mus "Terminal" txhua txoj kev yooj yim thiab siv txoj lus txibsudo apt-mus nruab - nruab nrhav - xav caw-staging.
  2. Tshawb xyuas qhov sib ntxiv ntawm cov ntaub ntawv thiab tos rau lub installation kom tiav.
  3. Yog tias qhov kev sim tsis haum rau koj qee yam, tshem nws tawmsudo apt-tau purge wine-staging.

Txoj kev 4: Tus kheej-los ua ke los ntawm qhov chaw lis dej num

Cov kev siv yav dhau los nruab nruab ntu ob hom sib txawv ntawm Wine yuav tsis ua hauj lwm ib sab, tab sis, qee cov neeg siv tau ob daim ntawv sau npe ntawm ib zaug, los yog lawv xav ntxiv cov khoom ua si thiab lwm yam kev hloov ntawm lawv tus kheej. Hauv qhov no, qhov kev xaiv zoo tshaj plaws yog los tsim koj tus kheej caw los ntawm cov khoom siv tau los.

  1. Ua ntej qhib lub zaub mov thiab mus rau "Cov kev pabcuam thiab tshiab".
  2. Ntawm no koj yuav tsum zuam lub thawv "Qhov Code"kom hloov ntxiv nrog rau qhov software tau.
  3. Yog xav hloov cov kev hloov no yuav tsum tau siv tus password.
  4. Tam sim no mus txog "Terminal" download tau thiab nruab txhua yam koj xav tau ntawmsudo apt build-dep wine-ruaj khov.
  5. Download tau qhov chaws ntawm qhov tsim nyog version siv lub chaw tso dej tshwj xeeb. Nyob rau hauv lub console, ntxig txoj lus txibsudo wget //dl.winehq.org/wine/source/4.0/wine-4.0-rc7.tar.xzthiab nias rau Sau. Yog tias koj xav tau nruab ib lwm version, nrhiav qhov chaw xa khoom hauv Internet thiab muab nws qhov chaw nyob tso rau //dl.winehq.org/wine/source/4.0/wine-4.0-rc7.tar.xz.
  6. Unzip lub ntsiab lus ntawm cov downloaded archive sivsudo tar xf wine *.
  7. Ces mus rau qhov chaw tsim.cd wine-4.0-rc7.
  8. Download tau cov ntaub ntawv tsim nyog yuav tsum tsim kom tau qhov kev pab cuam. Hauv 32-ntsis versions siv qhov kev hais kom uasudo ./configure, thiab hauv 64-ntsissudo ./configure --enable-win64.
  9. Khiav tus txheej txheem tsim los ntawm kev hais kom uaua. Yog tias koj tau txais qhov yuam kev nrog cov ntawv nyeem "Tsis pom zoo", siv qhov kev hais kom uasudo ualos pib qhov txheej txheem nrog cov hauv paus-txoj cai. Tsis tas li ntawd, nws yuav tsum tau nyob rau hauv lub hlwb nco tias txoj kev muab tso ua ke yuav siv sij hawm ntev, koj yuav tsum tsis txhob ntiag tug tawm hauv lub console.
  10. Ua lub installer mus txogsudo checkinstall.
  11. Cov kauj ruam kawg yog los nruab ib lub rooj sib txoos ua tiav los ntawm cov dej los ntawm txoj kabdpkg -i wine.deb.

Peb tau saib txog plaub qhov teeb meem txheej txheem dej thaiv kabmob uas ua haujlwm rau qhov tseeb version ntawm Ubuntu 18.04.2. Tsis muaj teeb meem kev teeb tsa yuav tsum tshwm sim yog tias koj ua raws li cov lus qhia raws nraim thiab nkag mus rau cov lus txib kom yog. Peb tseem xav kom koj them nyiaj rau cov lus ceeb toom uas tshwm sim nyob rau hauv qhov kev sib tw; lawv yuav pab koj paub qhov yuam kev yog tias nws tshwm sim.