Otu esi etinye ma jiri mmanya na Ubuntu 20.04 na 21.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 dị ka 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.

Ị ga-amụta ka esi etinye na hazie Mmanya na Ubuntu 20.04 LTS sistemụ arụmọrụ na ntuziaka na-esonụ.

Prerequisites

  • Ubuntu 20.04.2.0 LTS (Fosal Fossa) Sava ma ọ bụ Desktọpụ
  • Nweta mgbọrọgwụ ma ọ bụ ikike onye ọrụ Sudo.
  • Git arụnyere na sava gị.
  • wget ma ọ bụ curl arụnyere

Lelee ma melite sistemụ arụmọrụ Ubuntu 20.04 gị.

sudo apt update && sudo apt upgrade -y

Gbaa mbọ hụ na etinyere curl na wget.

sudo apt install wget curl

Tupu ịga n'ihu ịwụnye Wine maka Ubuntu 20.04, ị ga-achọ ime ka nhazi 32-bit dị na sistemụ arụmọrụ gị. Nke a bụ n'ihi na a na-ewu ọtụtụ ngwa Windows maka nhazi 32-bit. Nzọụkwụ mbụ bụ ịkwado multiarch, nke na-enye gị ohere ịwụnye ngwugwu 64 na 32-bit na igwe:

sudo dpkg --add-architecture i386 && sudo apt update -y

Advertisement


Wụnye 5.0 Wine

Ebe nchekwa Ubuntu 20.04 Focal Fossa na-abịa na Wine 5.0 site na njikwa ngwugwu APT. Nke a bụ ụzọ a na-ejikarị wụnye mmanya. Agbanyeghị, ekwesịrị ịmara na mmelite nke njikwa ngwugwu dị ụkọ. Mmanya na-eme obere mwepụta mmepe, yabụ ị ga-ahụ na ị na-ala azụ n'ikpeazụ.

Iji wụnye ụdị mmanya 5 64bit na 32bit, pịnye iwu a:

sudo apt install wine64 wine32

Ị ga-enweta nsonaazụ ngwungwu agbatịkwuru ndị a:

$ sudo apt install wine64 wine32
 Reading package lists… Done
 Building dependency tree       
 Reading state information… Done
 The following additional packages will be installed:
   fonts-wine gcc-10-base:i386 glib-networking:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386 i965-va-driver i965-va-driver:i386 intel-media-va-driver
   intel-media-va-driver:i386 libaa1:i386 libaom0 libaom0:i386 libapparmor1:i386 libasn1-8-heimdal:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386 libavahi-client3:i386
   libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386 libavcodec58 libavcodec58:i386 libavutil56 libavutil56:i386 libblkid1:i386 libbrotli1:i386 libbsd0:i386 libbz2-1.0:i386 libc6:i386
   libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcodec2-0.9 libcodec2-0.9:i386 libcom-err2:i386 libcrypt1:i386 libcups2:i386
   libcurl3-gnutls:i386 libdatrie1:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libdv4:i386 libedit2:i386 libelf1:i386
   libexif12:i386 libexpat1:i386 libfaudio0 libfaudio0:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgcc-s1:i386 libgcrypt20:i386 libgd3:i386
   libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf2.0-0:i386 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386
   libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error-l10n libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1 libgsm1:i386 libgssapi-krb5-2:i386
   libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer-plugins-good1.0-0:i386 libgstreamer1.0-0:i386 libgudev-1.0-0:i386 libharfbuzz0b:i386 libhcrypto4-heimdal:i386
   libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed5:i386 libhx509-5-heimdal:i386 libicu66:i386 libidn2-0:i386 libiec61883-0:i386 libieee1284-3:i386 libigdgmm11 libigdgmm11:i386
   libjack-jackd2-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
   libldap-2.4-2:i386 libllvm11:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libmysqlclient21:i386 libncurses6:i386 libncursesw6:i386 libnettle7:i386
   libnghttp2-14:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
   libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386 libpcre3:i386 libperl5.30:i386
   libpixman-1-0:i386 libpng16-16:i386 libproxy1v5:i386 libpsl5:i386 libpulse0:i386 libraw1394-11:i386 libroken18-heimdal:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386 libsamplerate0:i386
   libsane:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libselinux1:i386 libsensors5:i386 libshine3 libshine3:i386 libshout3:i386 libslang2:i386
   libsnappy1v5 libsnappy1v5:i386 libsndfile1:i386 libsndio7.0 libsndio7.0:i386 libsnmp35:i386 libsoup2.4-1:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh-4:i386 libssl1.1:i386 libstb0
   libstb0:i386 libstdc++6:i386 libswresample3 libswresample3:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386 libtasn1-6:i386 libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo6:i386
   libtwolame0:i386 libudev1:i386 libunistring2:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm2 libva-drm2:i386 libva-x11-2 libva-x11-2:i386 libva2 libva2:i386
   libvdpau1 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386
   libwayland-cursor0:i386 libwayland-egl1:i386 libwebp6:i386 libwebpmux3:i386 libwind0-heimdal:i386 libwine libwine:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-155 libx264-155:i386
   libx265-179 libx265-179:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386
   libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386
   libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386 libxvidcore4 libxvidcore4:i386 libxxf86vm1:i386 libzstd1:i386 libzvbi-common libzvbi0
   libzvbi0:i386 mesa-va-drivers mesa-va-drivers:i386 mesa-vdpau-drivers mesa-vdpau-drivers:i386 mesa-vulkan-drivers:i386 ocl-icd-libopencl1 ocl-icd-libopencl1:i386 va-driver-all va-driver-all:i386
   vdpau-driver-all vdpau-driver-all:i386 wine zlib1g:i386

Tinye “Y” wee gaa n'ihu na ntinye. N'ozuzu, ọ ga-ewe ihe dị ka nkeji 2 ruo 3 na kacha.

Ozugbo emechara, nyochaa ụdị nke ị rụnyere site na ịpị iwu a:

wine --version

Nsonaazụ kwesịrị ịbụ:

$ wine --version
 wine-5.0 (Ubuntu 5.0-3ubuntu1)

Ị tinyela mmanya 5.0 nke ọma site na ebe nchekwa Ubuntu. Ọ bụrụ na ị na-achọ ụdị ọhụrụ, gaa na nzọụkwụ dị n'okpuru iji wụnye.

Wụnye 6.0 Wine

Ihe ndị a ga-egosi gị otu esi etinye ụdị mmanya 6 na Ubuntu 20.04. A na-atụ aro nke a karịa ka ị na-enweta ụdị mmanya kacha mma nke nwere ọtụtụ atụmatụ na ndozi ahụhụ.

Nke mbụ, budata igodo GPG maka mmanya.

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

Ị ga-enweta nsonaazụ:

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

Na-esote, ị ga-etinye ebe nchekwa WineHQ. Iji mee nke a, tinye iwu ndị a:

sudo apt install software-properties-common \
 sudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"

Ị ga-enweta mmepụta yiri ya:

$ sudo apt install --install-recommends winehq-stable
 Reading package lists… Done
 Building dependency tree       
 Reading state information… Done
 The following additional packages will be installed:
   wine-stable wine-stable-amd64 wine-stable-i386:i386
 The following NEW packages will be installed:
   wine-stable wine-stable-amd64 wine-stable-i386:i386 winehq-stable
 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
 Need to get 159 MB of archives.
 After this operation, 1,093 MB of additional disk space will be used.
 Do you want to continue? [Y/n] 

Tinye “Y” ịga n'ihu. Nwụnye kwesịrị iwere nkeji 2 ruo 3 dịka 5.0 gara aga site na njikwa ngwugwu APT. Rịba ama, ihe atụ nke nrụnye 6.0 nwere ike na-efunahụ ndepụta ogologo nke ngwugwu achọrọ site na ntinye 5.0, nke nwere ike igosi na ntinye gị. Nke a dị mma.

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

wine --version

Ị ga - enweta mmepụta ndị a:

$ wine --version
 wine-6.0.1

Rịba ama, nọmba ụdị a kwesịrị ịgbanwe n'oge, na mmepụta bụ naanị ihe atụ.


Advertisement


Mechaa nwụnye mmanya

Iji malite mmanya, mee iwu "winecfg" site na ọdụ Ubuntu gị. Iwu a ga-aga n'ihu ịwụnye Mono na Gecko wee tọọ gburugburu Wine.

mono nhọrọ wụnye maka ubuntu 20.04 na mmanya wụnye

Pịa “wụnye"Iga n'ihu site na Mono gaa Gecko Installer.

gecko install nhọrọ maka mmanya na ubuntu 20.04

Ọzọ, pịa "wụnye” bọtịnụ ka ịga n'ihu imecha nrụnye ahụ.

Na-ahazi mmanya

Ozugbo ịmechara nrụnye, 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ụ. Agbanyeghị, ọ bụrụ na ị ga-agbanwe ihe ọ bụla, ọ ga-abụ ụdị Windows nke na-emebi Windows 7 na ihe na-adịbeghị anya, dị ka Windows 10.

mmanya họrọ ndabere ntọala mgbe wụnye

Ozugbo emechara, mechie igbe mkparịta ụka.


Advertisement


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

Na nkenke ọmụmaatụ, anyị ga-eji Wine tinye ngwa nkata telegram. Rịba ama na nke a na-abịa n'ụdị na ngwugwu Linux, mana anyị ga-eji Wine tinye ụdị Windows na sistemụ arụmọrụ Ubuntu 20.04 anyị maka ebumnuche nduzi.

Nke mbụ, nbudata Telegram "Versiondị Windows".exe ngwugwu.

budata telegram windows .exe maka ntinye na ubuntu 20.04 site na iji mmanya

Ọzọ, gaa na ndekọ nbudata gị wee pịa aka nri .exe nke ngwa Telegram anyị chọrọ ịwụnye.

Pịa aka nri .exe, ugbu a ị ga-ahụ "Mepee na ihe nchọgharị mmanya“, pịa ya ka imepe ngwa Windows na sistemụ arụmọrụ Ubuntu 20.04 gị.

ubuntu 20.04 nbudata folda nri pịa windo .exe telegram wee pịa ihe nchọgharị mmanya mepere emepe

Ọzọ, ị ga-ahụ igbe ntọala pụtara maka Telegram.

otu esi etinye mmanya na ubuntu site na iji ihe atụ telegram

Họrọ asụsụ gị wee pịa OK.

Na-esote, bụ ụzọ nrụnye nke ndabara. Dị ka ị na-ahụ, ọ nwere ụzọ nrụnye ndabara yiri Windows, "C: ndị ọrụ bytesboss Ngwa DataTelegram Desktop". Awụnyere ngwa Windows n'ọtụtụ sistemụ dabere na Linux na "~/.wine/drive_c/” ndekọ. 

ngwa ubuntu 20.04 tinye ngbanwe nhọrọ nhọrọ site na iji mmanya

Hapụ dị ka ndabere, wee pịa na-esote ka ịga n'ihu na nrụnye.

Na nzọụkwụ na-esote, ị nwere ike ịgbanwe folda ahụ, emetụla nke a aka. Ihe ndabara kwesịrị ịdị mma. Nhọrọ, ị nwere ike ịpụ na ịmepụta folda menu mmalite site na ịhọrọ "Emepụtala nchekwa menu mmalite".

wụnye telegram site na iji mmanya na ubuntu

Pịa bọtịnụ na-esote ka ịga n'ihu na ibe na-esote. Ozugbo ịmechara nke a, ị ga-enweta nhọrọ ọhụrụ iji "Mepụta ụzọ mkpirisi desktọọpụ". Site na ndabara, ahọpụtara ya. Ọ bụrụ na ịchọghị nke a, wepụzie ma pịa Osote.

ubuntu 20.04 ngwa wụnye nhọrọ mepụta mkpirisi desktọpụ ma ọ bụ na-ejighị mmanya

N'ikpeazụ, ị ga-ahụ nchịkọta nke nhọrọ ndị ị họrọla. Ọ bụrụ na ịchọrọ ịgbanwe ihe ọ bụla, ugbu a bụ oge. Ọ bụrụ na ọ dị mma, pịa "wụnye” iji mechaa echichi nke Telegram.

ngwa ubuntu 20.04 ikpeazụ tinye nhọrọ nlele site na iji mmanya

N'ozuzu, nrụnye kwesịrị iwe ihe na-erughị 10 sekọnd ozugbo emechara. Ị ga-ahụ ihe ndị a:

wụnye telegram site na iji mmanya na ubuntu

Pịa "Imecha"bọtịnụ, wee malite Telegram.

ngwa ubuntu 20.04 mechara tinye telegram site na iji mmanya

Ekele, mmanya gị na-arụ ọrụ nke ọma iji wụnye ngwa Windows na sistemụ Ubuntu 20.04 gị.

ihe ịga nke ọma ngwa ubuntu 20.04 butere telegram site na iji mmanya

Iji chọta Telegram n'ọdịniihu, ị nwere ike ịchọpụta Telegram, yana nhọrọ iwepụ na Menu Ngwa gị.

ubuntu 20.04 ngwa menu chọta telegram iji mmanya

Rịba ama na ị ga-achọ ka etinye mmanya na-adịgide adịgide iji jiri mmemme ndị a mgbe etinyere na sistemụ arụmọrụ gị.

Okwu na mmechi

N'ime ntuziaka ahụ, ị ​​mụtala ka esi etinye mmanya, gụnyere ngosipụta nke ịwụnye ngwa Windows .exe site na iji mmanya na sistemụ Ubuntu gị. N'ozuzu, mmanya bụ mmemme magburu onwe ya na ụfọdụ ezigbo uru na-ejikọta Windows na Linux maka onye ọrụ.

Ọ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.

Ọ bụrụ na ị nwere ajụjụ, nweere onwe gị ịhapụ ikwu okwu n'okpuru.

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