WineHQ

Winetricks th: Difference between revisions

(Created page with "'''เเปลภาษาสำหรับเพจนี้:''' {{flag|France}} Français (สำหรับผู้เเปลภาษา, โปร...")
 
(corrected grammar)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''เเปลภาษาสำหรับเพจนี้:''' {{flag|France}} [[Winetricks_fr|Français]] (สำหรับผู้เเปลภาษา, โปรดดูหน้า Discussion)
'''เเปลภาษาสำหรับเพจนี้:''' {{flag|France}} [[Winetricks_fr|Français]] {{flag|United Kingdom}} [[Winetricks|English]] (สำหรับผู้เเปลภาษา, โปรดดูหน้า Discussion)
----
----
== อะไรคือ winetricks? ==
== อะไรคือ winetricks? ==
Line 6: Line 6:
'''โปรดจำไว้:''' การใช้งาน winetricks จะเป็นประโยชน์อย่างมากสำหรับการทำให้บางโปรเเกรมของ wine ใช้งานได้ เเต่การกระทำนั้นเป็นการจำกัดการสนับสนุนผ่าน WineHQ โดยทั่วไปการรายงานบัคอาจเป็นไปไม่ได้ถ้าคุณเปลี่ยนเเปลงบางส่วนขอว Wine. โปรดดู [[#winetricks_and_bugs|รายงานบัคหลังจากใช้งาน  Winetricks]] ข้างล่าง
'''โปรดจำไว้:''' การใช้งาน winetricks จะเป็นประโยชน์อย่างมากสำหรับการทำให้บางโปรเเกรมของ wine ใช้งานได้ เเต่การกระทำนั้นเป็นการจำกัดการสนับสนุนผ่าน WineHQ โดยทั่วไปการรายงานบัคอาจเป็นไปไม่ได้ถ้าคุณเปลี่ยนเเปลงบางส่วนขอว Wine. โปรดดู [[#winetricks_and_bugs|รายงานบัคหลังจากใช้งาน  Winetricks]] ข้างล่าง


'''โปรดจำไว้:''' Some of the packages listed below may not work well with older versions of Wine.  As always we recommend you use the [https://www.winehq.org/download latest version of Wine].
'''โปรดจำไว้:''' บางเเพ็กเกจที่ลิสไว้ข้างล่างอาจใช้ไม่ได้กับ Wine รุ่นเก่า เราเเนะนำให้ใช้ [https://www.winehq.org/download เวอร์ชั่นใหม่สุดของ Wine]


== Getting winetricks ==
== รับ winetricks ==
The script is maintained by Austin English at https://github.com/Winetricks/winetricks.  The latest release is available at https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.  Right-click on that link and use 'Save As' to save a fresh copy.<br />
สคริปต์นี้รักษาโดย Austin English ที่ https://github.com/Winetricks/winetricks.  เวอร์ชั่นล่าสุดที่ https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.  กดคลิกขวาที่ลิ้งเเละเลือก 'Save As' เพื่อทำการบันทึกก็อปปี้.<br />
Alternatively you can get winetricks, using the commandline, with the command:
หรือคุณจะรับ winetricks ด้วย commandline โดยใช้คำสั่งนี้ก็ได้:


  cd "${HOME}/Downloads"
  cd "${HOME}/Downloads"
Line 17: Line 17:




Also, some winetricks "packages" require a few external tools to be installed, namely: '''cabextract''', '''unzip''', '''p7zip''', '''wget''' (or '''curl'''). For GUI support, either '''zenity''' or '''kdialog'''.<br />
นอกจากนี้บางเเพ็กเกจของ winetricks จำเป็นต้องมีเครื่องมือภายนอกติดตั้งด้วย เช่น: '''cabextract''', '''unzip''', '''p7zip''', '''wget''' (หรือ '''curl'''). หสับการรองรับ GUI ก็มี '''zenity''' or '''kdialog'''.<br />
Linux users can usually get these via their distribution's package management system.
ผู้ใช้งาน Linux สามารถรับเครื่องมือเหล่านี้ได้ผ่านทาง distribution's package management system.


== Using winetricks ==
== การใช้งาน winetricks ==
Once you've obtained winetricks you can run it simply by typing <tt>sh winetricks</tt> at the console. You can also use <tt>./winetricks</tt> if you <tt>chmod +x winetricks</tt> firstIf run without parameters, winetricks displays a GUI with a list of available packages. If you know the names of the package(s) you wish to install, you can append them to the winetricks command and it will immediately start the installation process. For example,
หลังจากที่คุณได้รับ winetricks เเล้ว คุณสามารถรันได้เพียงเเค่พิมพ์ <tt>sh winetricks</tt> ใน console. เเละคุณก็สามารถใช้ <tt>./winetricks</tt> ได้ถ้าคุณ <tt>chmod +x winetricks</tt> ก่อนถ้ารันโดยไม่ใช้พารามิเตอร์ winetricks จะเเสดง GUI ด้วยลิสของเเพ็กเกจที่มีอยู่ ถ้าคุณรู้ชื่อของเเพ็กเกจที่คุณอยากจะติดตั้ง คุณก็สามารถรวมมันเข้ากับ winetricks command ได้ เเละมันก็จะเริ่มต้นกระบวนการติดตั้ง สำหรับตัวอย่าง,


sh winetricks corefonts vcrun6  
sh winetricks corefonts vcrun6  
will install both the corefonts and vcrun6 packages.
will install both the corefonts and vcrun6 packages.


== Options ==
== การปรับเเต่ง ==
Version 20190912 help text:
Version 20190912 help text:


  Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
  การนำไปใช้: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
  Executes given verbs.  Each verb installs an application or changes a setting.
  Executes given verbs.  เเต่ละ verb ติดตั้งเเอพพลิเคชั่นหรือเเก้ไขการตั้งค่า
   
   
Options:
การปรับเเต่ง:
     --country=CC      Set country code to CC and don't detect your IP address
     --country=CC      ตั้ง country code เป็ร CC เเละไม่ตรวจพบ IP address ของคุณ
     --force          Don't check whether packages were already installed
     --force          ไม่ตรวจสอบว่าเเพ็กเกจติดตั้งเเล้ว
     --gui            Show gui diagnostics even when driven by commandline
     --gui            เเสดง gui diagnostics เเม้กระทั่งตอนขับเคลื่อนด้วย commandline
     --isolate        Install each app or game in its own bottle (WINEPREFIX)
     --isolate        ติดตั้งเเอพหรือเกมใน bottle นั่นๆ (WINEPREFIX)
     --self-update    Update this application to the last version
     --self-update    อัพเดทเเอพพลิเคชั่นเป็นรุ่นล่าสุด
     --update-rollback Rollback the last self update
     --update-rollback ย้อนกลับอัพเดทล่าสุด
  -k, --keep_isos      Cache isos (allows later installation without disc)
  -k, --keep_isos      Cache isos (อนุญาติให้ติดตั้งภายหลังโดยไม่ใช้ disc)
     --no-clean        Don't delete temp directories (useful during debugging)
     --no-clean        อย่าลบ temp directories (มีประโยชน์สำหรับการเเก้บัค)
  -q, --unattended      Don't ask any questions, just install automatically
  -q, --unattended      ห้ามถามคำถาม เเค่ติดตั้งอัตโนมัติ
  -r, --ddrescue        Retry hard when caching scratched discs
  -r, --ddrescue        ลองอีกครั้งเมื่อ caching scratched discs
  -t  --torify          Run downloads under torify, if available
  -t  --torify          รันดาวโหลดน์ภายใต้ torify ถ้ามี
     --verify          Run (automated) GUI tests for verbs, if available
     --verify          รัน (อัตโนมัติ) ทดสอบ GUI สำหรับ verbs ถ้ามี
  -v, --verbose        Echo all commands as they are executed
  -v, --verbose        เอคโคทุกคำสั่งที่พึ่งรันไป
  -h, --help            Display this message and exit
  -h, --help            เเสดงข้อความเเละออก
  -V, --version        Display version and exit
  -V, --version        เเสดงเวอร์ชั่นเเละออก
   
   
  Commands:
  คำสั่ง:
  list                  list categories
  list                  ลิส categories
  list-all              list all categories and their verbs
  list-all              ลิส categories ทั้งหมดเเละ verbs ของมัน
  apps list            list verbs in category 'applications'
  apps list            ลิส verbs ใน category 'applications'
  benchmarks list      list verbs in category 'benchmarks'
  benchmarks list      ลิส verbs ใน category 'benchmarks'
  dlls list            list verbs in category 'dlls'
  dlls list            ลิส verbs ใน category 'dlls'
  games list            list verbs in category 'games'
  games list            ลิส verbs ใน category 'games'
  settings list        list verbs in category 'settings'
  settings list        ลิส verbs ใน category 'settings'
  list-cached          list cached-and-ready-to-install verbs
  list-cached          ลิส cached-and-ready-to-install verbs
  list-download        list verbs which download automatically
  list-download        ลิส verbs ที่ดาวน์โหลดอัตโนมัติ
  list-manual-download  list verbs which download with some help from the user
  list-manual-download  list verbs ที่ดาวน์โหลดด้วยตัวช่วยจากผู้ใช้
  list-installed        list already-installed verbs
  list-installed        ลิส verbs ที่ติดตั้งเเล้ว
  arch=32|64            create wineprefix with 32 or 64 bit, this option must be
  arch=32|64            สร้าง wineprefix ด้วยสถาปัตยกรรมเเบบ 32 หรือ 64 บิต การตั้งค่านี้ต้อง
                       given before prefix=foobar and will not work in case of
                       มาก่อน prefix=foobar เเละมันจะใช้งานไม่ได้ในกรณีที่เป็น default wineprefix
                      the default wineprefix.
  prefix=foobar        เลือก WINEPREFIX=/home/$USER/.local/share/wineprefixes/foobar
  prefix=foobar        select WINEPREFIX=/home/$USER/.local/share/wineprefixes/foobar
  annihilate            ลบ *ข้อมูลเเละเเอพพลิเคชั่นทั้งหมดภายใน* WINEPREFIX
  annihilate            Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX


'''Tip:''' As with all Wine commands, winetricks knows about the `WINEPREFIX` environment variable. This is useful for using winetricks with different Wine prefix locations. For example,
'''คำเเนะนำ:''' ด้วยคำสั่งของ Wine ทั้งหมดนี้ winetricks รู้เกี่ยวกับตัวเเปรสภาพเเวดล้อมของ `WINEPREFIX`  นี่จึงเป็นประโยชน์ของการใช้ winetricks ด้วยตำเเหน่งของ Wine prefix ที่ต่างกัน ตัวอย่าง,


  env WINEPREFIX=~/.winetest sh winetricks mfc40  
  env WINEPREFIX=~/.winetest sh winetricks mfc40  
installs the mfc40 package in the `~/.winetest` prefix.
installs the mfc40 package in the `~/.winetest` prefix.


'''Tip: '''Users with more than one version of Wine on their system (for example, an installed package and an uninstalled Wine built from git) can specify which version winetricks should use. For example,
'''คำเเนะนำ: ''' ผู้ใช้ที่มีเวอร์ชั่นของ Wine มากกว่าหนึ่งบนระบบ (อย่างเช่น, การติดตั้งเเพ็กเกจเเละถอนการติดตั้ง Wine ที่สร้างจาก git) สามารถระบุได้ว่าควรใช้ winetricks เวอร์ชั่นไหน ยกตัวอย่าง,


  env WINE=~/wine-git/wine sh winetricks mfc40  
  env WINE=~/wine-git/wine sh winetricks mfc40  
Line 79: Line 78:
<div id=winetricks_and_bugs></div>
<div id=winetricks_and_bugs></div>


== Reporting bugs after you have used Winetricks ==
== รายงานบัคหลังจากใช้งาน  Winetricks ==
Please do not report bugs if you have used winetricks to install native (ie non Wine) files, as we cannot support Microsoft dlls.
โปรดอย่ารายงานบัคถ้าคุณใช้ winetricks ในการติดตั้ง native (เช่น อะไรที่ไม่ใช่ Wine) ไฟล์ เพราะเราไม่สามารถสนับสนุน Microsoft dlls.


Using winetricks to install gecko, mono, and fakeie6 options is acceptable for bug reports - just be sure to mention that's what you've done.
การใช้ winetricks เพื่อติดตั้ง gecko, mono, เเละ fakeie6 เป็นทางเลือกที่ยอมรับได้สำหรับการรายงานบัค


Additionally if you found it necessary to use winetricks for an application please mention it when submitting to the AppDB, mailing lists, and other Wine resources.
เพิ่มเติมจากนี้ ถ้าคุณพบว่ามันจำเป็นที่จะใช้ winetricks สำหรับเเอพพลิเคชั่น โปรดระบุด้วยต้องรายงานไปยัง AppDB, mailing lists, เเละทรัพยากรอื่นๆ ของ Wine


== Reporting bugs *in* Winetricks ==
== รายงานบัค *ใน* Winetricks ==
Winetricks has a bug tracking system at https://github.com/Winetricks/winetricks/issues, please use itIf you don't want to get an account there to file a bug, posting on the wine user forum may also eventually get noticed.
Winetricks มีระบบติดตามบัคที่ https://github.com/Winetricks/winetricks/issues, โปรดใช้มันถ้าคุณไม่ต้องการสมัครบัญชีที่นั่นเพื่อตามหบัค ก็ให้โพสต์ที่ wine forum ของผู้ใช้


== How to remove things installed by Winetricks ==
== ลบสิ่งที่ติดตั้งโดย Winetricks ==
It's easy to install an entire wineprefix, so by default, winetricks installs each app into its own Wine prefix, and offers an easy way to remove wineprefixes and the menu items they created.
มันง่ายที่จะติดตั้ง wineprefix ทั้งหมด โดยปกติ winetricks ติดตั้งเเต่ละเเอพไว้ใน Wine prefix ของมัน เเละเสนอวิธีที่จะลบ wineprefixes เเละ menu items ที่มันสร้าง.


Winetricks does not provide a way to uninstall individual apps or DLLs inside a Wine prefix. This is for several reasons, but mainly because the preferred way to uninstall anything in Wine is to simply install into a fresh Wine prefix. (Yes, it would be nice to have uninstallers for everything, but I don't need it myself. Patches welcome.)
Winetricks ไม่ได้เสนอทางสำหรับถอนการติดตั้งเเอพหรือ DLLs บางอย่างภายใน Wine prefix.


If for some reason, you still don't want to fiddle at all with your Wine prefixes, Wine does offer a built-in [[Uninstaller]] program. Like the Windows "Add/Remove Programs" applet though, it only recognizes programs installed by well-behaved Windows installers that respect the registry, like InstallShield or WISE. There are no guarantees it will work with a program installed by Winetricks or other installers like ''.msi'' packages.
ถ้าเกิดหตุบางอย่าง คุณคงไม่อยากเล่นกับ Wine prefixes ทั้งหมด Wine มาพร้อมกับโปรเเกรม [[ถอนการติดตั้ง]] ภายใน. เหมือนกับที่ Windows "Add/Remove Programs" มี มันจะตรวจพบสำหรับโปรเเกรมที่ติดตั้งอย่างในตัวติดตั้ง Windows ที่ขึ้นตรงกับ registry เช่น InstallShield หรือ WISE. ทั้งนี้ไม่มีการการันตีได้ว่ามันจะทำงานได้กับโปรเเกรมที่ติดตั้งโดย Winetricks หรือตัวติดตั้งอื่นอย่างเเพ็กเกจ ''.msi''


== Installing winetricks ==
== ติดตั้ง winetricks ==
It's not necessary to install winetricks to use it. You may choose to install winetricks in a global location so you can just type <tt>winetricks</tt> on the command line. Some Linux distributions include winetricks in their Wine packages, so you don't have to download it separately. You probably do want to follow these steps, if the distributions packaged winetricks version lags behind the current winetricks release (e.g. Debian/Ubuntu users).
มันไม่จำเป็นต้องติดตั้ง winetricks เพื่อที่จะใช้มัน. คุณสามารถเลือกที่จะติดตั้ง winetricks ในพื้นที่โกโบล์ได้เพียงเเค่พิมพ์ <tt>winetricks</tt> บน command line. บาง Linux distributions มาพร้อมกับ winetricks ใน Wine เเพ็กเกจอยู่เเล้ว ดังนั้นคุณไม่ต้องดาวน์โหลดเเยกต่างหาก คุณอาจจะอยากทำตามขั้นตอนถ้า distributions เเพ็กเกจมี winetricks ที่ล่าสมัย (เช่น ผู้ใช้ Debian/Ubuntu).


To download and install your own copy of winetricks, you can install it manually like this:
สำหรับดาวโหลดน์เเละติดตั้งก็อปปี้ winetricks คุณสามารถติดตั้งได้ด้วยตัวเอง:


  cd "${HOME}/Downloads"
  cd "${HOME}/Downloads"
Line 106: Line 105:
  sudo cp winetricks /usr/local/bin
  sudo cp winetricks /usr/local/bin


To download and install the (separate) BASH completion script for winetricks:
สำหรับดาวโหลดน์เเละติดตั้ง(เเยก) BASH completion script สำหรับ winetricks:


  cd "${HOME}/Downloads"
  cd "${HOME}/Downloads"
  wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
  wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
  sudo cp winetricks.bash-completion /usr/share/bash-completion/completions/winetricks  # Standard location for BASH completion scripts (Arch, Gentoo, OpenSUSE, Fedora, Debian/Ubuntu, Solus)
  sudo cp winetricks.bash-completion /usr/share/bash-completion/completions/winetricks  # โลเคชั่นมาตรฐานของ BASH completion scripts (Arch, Gentoo, OpenSUSE, Fedora, Debian/Ubuntu, Solus)


== See Also ==
== ดูเพิ่มเติม ==
* http://www.cabextract.org.uk/ -- cabextract is a tool for extracting MS cabinet files under Unix environments.
* http://www.cabextract.org.uk/ -- cabextract คือเครื่องมือสำหรับเเยก MS cabinet ไฟล์ ภายใต้สภาพเเวดล้อมของ Unix
* http://mike.kronenberg.org/index.php?s=trix (Darwine now comes bundled with trix, a gui that invokes winetricks)
* http://mike.kronenberg.org/index.php?s=trix (Darwine มาพร้อมกับ trix, gui ที่ใช้กับ winetricks)


[[Category:Third Party]]
[[Category:Third Party]]

Latest revision as of 10:24, 10 October 2019

เเปลภาษาสำหรับเพจนี้: Français English (สำหรับผู้เเปลภาษา, โปรดดูหน้า Discussion)


อะไรคือ winetricks?

Winetricks คือสคริปต์ช่วยสำหรับดาวน์โหลดเเละติดตั้งรันไทม์ไลบารี่ที่จำเป็นสำหรับการรันโปรเเกรมใน Wine. นี่อาจรวมถึงการเปลี่ยนเเปลงองค์ประกอบของ Wine ที่ใช้ไลบารี่เเบบ closed source

โปรดจำไว้: การใช้งาน winetricks จะเป็นประโยชน์อย่างมากสำหรับการทำให้บางโปรเเกรมของ wine ใช้งานได้ เเต่การกระทำนั้นเป็นการจำกัดการสนับสนุนผ่าน WineHQ โดยทั่วไปการรายงานบัคอาจเป็นไปไม่ได้ถ้าคุณเปลี่ยนเเปลงบางส่วนขอว Wine. โปรดดู รายงานบัคหลังจากใช้งาน Winetricks ข้างล่าง

โปรดจำไว้: บางเเพ็กเกจที่ลิสไว้ข้างล่างอาจใช้ไม่ได้กับ Wine รุ่นเก่า เราเเนะนำให้ใช้ เวอร์ชั่นใหม่สุดของ Wine

รับ winetricks

สคริปต์นี้รักษาโดย Austin English ที่ https://github.com/Winetricks/winetricks. เวอร์ชั่นล่าสุดที่ https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks. กดคลิกขวาที่ลิ้งเเละเลือก 'Save As' เพื่อทำการบันทึกก็อปปี้.
หรือคุณจะรับ winetricks ด้วย commandline โดยใช้คำสั่งนี้ก็ได้:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks


นอกจากนี้บางเเพ็กเกจของ winetricks จำเป็นต้องมีเครื่องมือภายนอกติดตั้งด้วย เช่น: cabextract, unzip, p7zip, wget (หรือ curl). หสับการรองรับ GUI ก็มี zenity or kdialog.
ผู้ใช้งาน Linux สามารถรับเครื่องมือเหล่านี้ได้ผ่านทาง distribution's package management system.

การใช้งาน winetricks

หลังจากที่คุณได้รับ winetricks เเล้ว คุณสามารถรันได้เพียงเเค่พิมพ์ sh winetricks ใน console. เเละคุณก็สามารถใช้ ./winetricks ได้ถ้าคุณ chmod +x winetricks ก่อน. ถ้ารันโดยไม่ใช้พารามิเตอร์ winetricks จะเเสดง GUI ด้วยลิสของเเพ็กเกจที่มีอยู่ ถ้าคุณรู้ชื่อของเเพ็กเกจที่คุณอยากจะติดตั้ง คุณก็สามารถรวมมันเข้ากับ winetricks command ได้ เเละมันก็จะเริ่มต้นกระบวนการติดตั้ง สำหรับตัวอย่าง,

sh winetricks corefonts vcrun6 will install both the corefonts and vcrun6 packages.

การปรับเเต่ง

Version 20190912 help text:

การนำไปใช้: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  เเต่ละ verb ติดตั้งเเอพพลิเคชั่นหรือเเก้ไขการตั้งค่า

การปรับเเต่ง:

    --country=CC      ตั้ง country code เป็ร CC เเละไม่ตรวจพบ IP address ของคุณ
    --force           ไม่ตรวจสอบว่าเเพ็กเกจติดตั้งเเล้ว
    --gui             เเสดง gui diagnostics เเม้กระทั่งตอนขับเคลื่อนด้วย commandline
    --isolate         ติดตั้งเเอพหรือเกมใน bottle นั่นๆ (WINEPREFIX)
    --self-update     อัพเดทเเอพพลิเคชั่นเป็นรุ่นล่าสุด
    --update-rollback ย้อนกลับอัพเดทล่าสุด
-k, --keep_isos       Cache isos (อนุญาติให้ติดตั้งภายหลังโดยไม่ใช้ disc)
    --no-clean        อย่าลบ temp directories (มีประโยชน์สำหรับการเเก้บัค)
-q, --unattended      ห้ามถามคำถาม เเค่ติดตั้งอัตโนมัติ
-r, --ddrescue        ลองอีกครั้งเมื่อ caching scratched discs
-t  --torify          รันดาวโหลดน์ภายใต้ torify ถ้ามี
    --verify          รัน (อัตโนมัติ) ทดสอบ GUI สำหรับ verbs ถ้ามี
-v, --verbose         เอคโคทุกคำสั่งที่พึ่งรันไป
-h, --help            เเสดงข้อความเเละออก
-V, --version         เเสดงเวอร์ชั่นเเละออก

คำสั่ง:
list                  ลิส categories
list-all              ลิส categories ทั้งหมดเเละ verbs ของมัน
apps list             ลิส verbs ใน category 'applications'
benchmarks list       ลิส verbs ใน category 'benchmarks'
dlls list             ลิส verbs ใน category 'dlls'
games list            ลิส verbs ใน category 'games'
settings list         ลิส verbs ใน category 'settings'
list-cached           ลิส cached-and-ready-to-install verbs
list-download         ลิส verbs ที่ดาวน์โหลดอัตโนมัติ
list-manual-download  list verbs ที่ดาวน์โหลดด้วยตัวช่วยจากผู้ใช้
list-installed        ลิส verbs ที่ติดตั้งเเล้ว
arch=32|64            สร้าง wineprefix ด้วยสถาปัตยกรรมเเบบ 32 หรือ 64 บิต การตั้งค่านี้ต้อง
                      มาก่อน prefix=foobar เเละมันจะใช้งานไม่ได้ในกรณีที่เป็น default wineprefix
prefix=foobar         เลือก WINEPREFIX=/home/$USER/.local/share/wineprefixes/foobar
annihilate            ลบ *ข้อมูลเเละเเอพพลิเคชั่นทั้งหมดภายใน* WINEPREFIX

คำเเนะนำ: ด้วยคำสั่งของ Wine ทั้งหมดนี้ winetricks รู้เกี่ยวกับตัวเเปรสภาพเเวดล้อมของ `WINEPREFIX` นี่จึงเป็นประโยชน์ของการใช้ winetricks ด้วยตำเเหน่งของ Wine prefix ที่ต่างกัน ตัวอย่าง,

env WINEPREFIX=~/.winetest sh winetricks mfc40 

installs the mfc40 package in the `~/.winetest` prefix.

คำเเนะนำ: ผู้ใช้ที่มีเวอร์ชั่นของ Wine มากกว่าหนึ่งบนระบบ (อย่างเช่น, การติดตั้งเเพ็กเกจเเละถอนการติดตั้ง Wine ที่สร้างจาก git) สามารถระบุได้ว่าควรใช้ winetricks เวอร์ชั่นไหน ยกตัวอย่าง,

env WINE=~/wine-git/wine sh winetricks mfc40 

installs the mfc40 package using the Wine in the ~/wine-git directory.

รายงานบัคหลังจากใช้งาน Winetricks

โปรดอย่ารายงานบัคถ้าคุณใช้ winetricks ในการติดตั้ง native (เช่น อะไรที่ไม่ใช่ Wine) ไฟล์ เพราะเราไม่สามารถสนับสนุน Microsoft dlls.

การใช้ winetricks เพื่อติดตั้ง gecko, mono, เเละ fakeie6 เป็นทางเลือกที่ยอมรับได้สำหรับการรายงานบัค

เพิ่มเติมจากนี้ ถ้าคุณพบว่ามันจำเป็นที่จะใช้ winetricks สำหรับเเอพพลิเคชั่น โปรดระบุด้วยต้องรายงานไปยัง AppDB, mailing lists, เเละทรัพยากรอื่นๆ ของ Wine

รายงานบัค *ใน* Winetricks

Winetricks มีระบบติดตามบัคที่ https://github.com/Winetricks/winetricks/issues, โปรดใช้มัน. ถ้าคุณไม่ต้องการสมัครบัญชีที่นั่นเพื่อตามหบัค ก็ให้โพสต์ที่ wine forum ของผู้ใช้

ลบสิ่งที่ติดตั้งโดย Winetricks

มันง่ายที่จะติดตั้ง wineprefix ทั้งหมด โดยปกติ winetricks ติดตั้งเเต่ละเเอพไว้ใน Wine prefix ของมัน เเละเสนอวิธีที่จะลบ wineprefixes เเละ menu items ที่มันสร้าง.

Winetricks ไม่ได้เสนอทางสำหรับถอนการติดตั้งเเอพหรือ DLLs บางอย่างภายใน Wine prefix.

ถ้าเกิดหตุบางอย่าง คุณคงไม่อยากเล่นกับ Wine prefixes ทั้งหมด Wine มาพร้อมกับโปรเเกรม ถอนการติดตั้ง ภายใน. เหมือนกับที่ Windows "Add/Remove Programs" มี มันจะตรวจพบสำหรับโปรเเกรมที่ติดตั้งอย่างในตัวติดตั้ง Windows ที่ขึ้นตรงกับ registry เช่น InstallShield หรือ WISE. ทั้งนี้ไม่มีการการันตีได้ว่ามันจะทำงานได้กับโปรเเกรมที่ติดตั้งโดย Winetricks หรือตัวติดตั้งอื่นอย่างเเพ็กเกจ .msi

ติดตั้ง winetricks

มันไม่จำเป็นต้องติดตั้ง winetricks เพื่อที่จะใช้มัน. คุณสามารถเลือกที่จะติดตั้ง winetricks ในพื้นที่โกโบล์ได้เพียงเเค่พิมพ์ winetricks บน command line. บาง Linux distributions มาพร้อมกับ winetricks ใน Wine เเพ็กเกจอยู่เเล้ว ดังนั้นคุณไม่ต้องดาวน์โหลดเเยกต่างหาก คุณอาจจะอยากทำตามขั้นตอนถ้า distributions เเพ็กเกจมี winetricks ที่ล่าสมัย (เช่น ผู้ใช้ Debian/Ubuntu).

สำหรับดาวโหลดน์เเละติดตั้งก็อปปี้ winetricks คุณสามารถติดตั้งได้ด้วยตัวเอง:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin

สำหรับดาวโหลดน์เเละติดตั้ง(เเยก) BASH completion script สำหรับ winetricks:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
sudo cp winetricks.bash-completion /usr/share/bash-completion/completions/winetricks   # โลเคชั่นมาตรฐานของ BASH completion scripts (Arch, Gentoo, OpenSUSE, Fedora, Debian/Ubuntu, Solus)

ดูเพิ่มเติม

This page was last edited on 10 October 2019, at 10:24.