Can't install CRT (C Runtime) libraries.

Questions about Wine on Linux
Locked
Mugsy323
Level 2
Level 2
Posts: 34
Joined: Sat Nov 06, 2021 4:29 pm

Can't install CRT (C Runtime) libraries.

Post by Mugsy323 »

Help! Every attempt to install the CRT (C Runtime) libraries using Winetricks results in the following error:

I've tried both 64 & 32 bit wine prefixes. I checked the path specified by the error and the file is already named what it suggests it be renamed as.

I've tried every listed installer from 2003 to 2019. Nothing works. Any ideas? TIA
Attachments
Screenshot from 2021-11-09 08-05-47.png
Screenshot from 2021-11-09 08-05-47.png (18.13 KiB) Viewed 5754 times
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't install CRT (C Runtime) libraries.

Post by Bob Wya »

@Mugsy323

It's generally recommended to run winetricks from the terminal (i.e. not use the zenity GUI). It's also important to ensure that your local copy of winetricks is up-to-date.

Force winetricks update:

Code: Select all

sudo winetricks --self--update
Clear winetricks cache:

Code: Select all

rm -rf ~/.cache/winetricks
Run required winetricks verbs:

Code: Select all

winetricks -q vcrun2019
winetricks has a BASH completion helper script - which I developed a few years ago.
This should help with determining the verb names you require - when running winetricks from a terminal prompt. 8)

Bob
Mugsy323
Level 2
Level 2
Posts: 34
Joined: Sat Nov 06, 2021 4:29 pm

Re: Can't install CRT (C Runtime) libraries.

Post by Mugsy323 »

"sudo winetricks --self--update" doesn't work (unrecognized command.)

Also tried "sudo winetricks --self --update" (space added), "sudo winetricks --update", and "bash winetricks --update".

I also tried "bash winetricks vcrun2015", which fails with the installer telling me "Access denied".
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install CRT (C Runtime) libraries.

Post by jkfloris »

Indeed, there is a typo.
The command is:

Code: Select all

sudo winetricks --self-update
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't install CRT (C Runtime) libraries.

Post by Bob Wya »

Mugsy323 wrote: Fri Nov 12, 2021 11:24 am "sudo winetricks --self--update" doesn't work (unrecognized command.)

Also tried "sudo winetricks --self --update" (space added), "sudo winetricks --update", and "bash winetricks --update".

I also tried "bash winetricks vcrun2015", which fails with the installer telling me "Access denied".
oops... :oops:

Sorry 'bout that!
Bob
Locked