Modifying caches in ExaGear: Difference between revisions
Second part of the page |
mNo edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[ru:Модификация кешей в ExaGear]] | |||
This page contains instructions for ''modifying and building'' caches (.obb files) in '''[[About ExaGear products|ExaGear Windows Emulator]].''' | This page contains instructions for ''modifying and building'' caches (.obb files) in '''[[About ExaGear products|ExaGear Windows Emulator]].''' | ||
----You can also use the [https://github.com/Grima04/exagear-cache-creator exagear-cache-creator] tool to create cache from scratch using '''debootstrap'''(required PC or laptop). | |||
==Modify caches without changing packages on PC(laptop), and mobile devices== | ==Modify caches without changing packages on PC(laptop), and mobile devices== | ||
To modify the archive with the cache without replacing the packages of the system itself (for example, adding some program for Wine), you can use Microsoft Windows, GNU/Linux or Android OS. | To modify the archive with the cache without replacing the packages of the system itself (for example, adding some program for Wine), you can use Microsoft Windows, GNU/Linux or Android OS. | ||
| Line 33: | Line 35: | ||
==Adding packages, replacing Wine in caches== | ==Adding packages, replacing Wine in caches== | ||
Since ExaGear uses a Linux container to run Windows applications (using [[Wine|Wine]]) on ARM systems, a ''Linux'' distribution must be installed on a computer (laptop) to replace the Wine version. If it is not possible to install the system on a permanent basis, use virtual machines (VirtualBox, VMware, etc.). | Since ExaGear uses a Linux container to run Windows applications (using [[Wine|Wine]]) on ARM systems, a ''Linux'' distribution must be installed on a computer (laptop) to replace the Wine version. If it is not possible to install the system on a permanent basis, use virtual machines (VirtualBox, VMware, etc.). | ||
----To add packages or replace Wine in Android, this instruction uses [https://f-droid.org/ru/packages/com.termux/ Termux] and [https://github.com/ZhymabekRoman/Exagear -For-Termux Exagear-For-Termux] | ----To add packages or replace Wine in Android, this instruction uses [https://f-droid.org/ru/packages/com.termux/ Termux] and [https://github.com/ZhymabekRoman/Exagear-For-Termux Exagear-For-Termux] | ||
----'''Important!''' Some caches may have removed the apt package manager. Since it is not used in this article, the solution is not described here. | ----'''Important!''' Some caches may have removed the apt package manager. Since it is not used in this article, the solution is not described here. | ||
| Line 41: | Line 43: | ||
In a terminal, mount the /dev, /proc, and /sys virtual file systems by issuing the following commands: | In a terminal, mount the /dev, /proc, and /sys virtual file systems by issuing the following commands: | ||
# <code>sudo mount proc - proc ./proc</code> | # <code>sudo mount proc -t proc ./proc</code> | ||
# <code>sudo mount sys -t sysfs ./sys</code> | # <code>sudo mount sys -t sysfs ./sys</code> | ||
# <code>sudo mount --bind /dev ./dev</code> | # <code>sudo mount --bind /dev ./dev</code> | ||
| Line 82: | Line 84: | ||
# <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>) | # <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>) | ||
----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable =version~bionic winehq-stable=version~bionic</code> | ----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable=version~bionic winehq-stable=version~bionic</code> | ||
After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code> | After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code> | ||