If you just want to use Flash, then as hash has said you don't need to install the Windows version, just install the flashplugin-installer
package. However, if you're trying to run Windows programs that themselves embed flash (but don't install it themselves), then you might actually need to install Flash in Wine. This is uncommon.
If that is your situation, then you'll want to do what the error message says and rename that file. The file is exactly where Winetricks says it is, but you may be confused since files and folders whose names start with .
are hidden by default.
You can rename the file by running these commands:
cd ~/.cache/winetricks/flash
mv install_flash_player_10_active_x_.exe install_flash_player_10_active_x_.exe.bak
There, the second filename after mv
is the new name for the file. I've added a .bak
suffix to the file. The ~
is shorthand--recognized by the shell--that stands for the full name of your home folder (/home/jaken
).
Or if you prefer to do the renaming through a graphical interface:
- Open a folder window for your home folder. (This is Ubuntu's graphical file browser, Nautilus.)
- Press Ctrl+H or click View > Show Hidden Files.
- Go into the
cache
subfolder.
- Go into the
winetricks
subfolder.
- Go into the
flash
subfolder.
- Find the entry for
install_flash_player_10_active_x_.exe
and rename it.
After you rename the file, you can run the Winetricks command again. It won't find the file at its usual name and location, so it will download it again. If the problem was really that the download was corrupted during download, this should fix it.
On the other hand, if the file is bad on the download server, or (more likely) if the file on the server has the same name but has been modified by Adobe since its hash was taken by the Winetricks maintainers, then you may get this error again.
If the error happens again, there may be other avenues of troubleshooting. Or you can pretend you're using Windows, download the Windows installer for Adobe Flash (you have to get the Internet Explorer / ActiveX version to have the same functionality as that file is giving you) and install it with Wine, bypassing Winetricks. (When possible it's preferable to have Wintricks automate such installations, of course.)