Linux command
wine 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
wine [command]
Example
wine start [command]
Install
wine msiexec /i [path/to/package.msi]
Uninstall
wine msiexec /x [path/to/package.msi]
Example
wine [explorer|notepad|write]
Example
wine [regedit|control|taskmgr]
Example
wine winecfg
说明
wine (Wine Is Not an Emulator) runs Windows applications on Unix-like operating systems by translating Windows API calls into POSIX calls in real-time. It implements the Windows runtime environment without requiring a Windows license or virtual machine. Wine creates isolated "prefixes" (virtual C: drives) containing Windows directory structure, registry, and installed programs. Each prefix can be configured independently with different Windows versions and settings via winecfg.
参数
- winecfg
- Open Wine configuration dialog
- regedit
- Open Wine Registry Editor
- control
- Open Wine Control Panel
- explorer
- Open Wine File Explorer
- taskmgr
- Open Wine Task Manager
- msiexec /i _package.msi_
- Install MSI package
- msiexec /x _package.msi_
- Uninstall MSI package
- start _program_
- Run program in background (detached)
- --version
- Display Wine version
- WINEPREFIX=_path_
- Environment variable to specify Wine prefix directory
- WINEDEBUG=_channels_
- Environment variable for debug output
FAQ
What is the wine command used for?
wine (Wine Is Not an Emulator) runs Windows applications on Unix-like operating systems by translating Windows API calls into POSIX calls in real-time. It implements the Windows runtime environment without requiring a Windows license or virtual machine. Wine creates isolated "prefixes" (virtual C: drives) containing Windows directory structure, registry, and installed programs. Each prefix can be configured independently with different Windows versions and settings via winecfg.
How do I run a basic wine example?
Run `wine [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does winecfg do in wine?
Open Wine configuration dialog