Arduino package package installation

I installed Arduino IDE 1.8.19 normally.
but when I try to install any library package it shows this error:
"Error: 13 INTERNAL: Cannot install tool arduino:arm-none-eabi-gcc@7-2017q4: moving extracted archive to destination dir: rename C:\Users\ASUS\AppData\Local\Arduino15\tmp\package-235718933\gcc-arm-none-eabi-7-2017-q4-major-win32 C:\Users\ASUS\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4: Access is denied."
in my case, I need the Arduino AVR Board library so I can work with Arduino UNO.
I tried more than one solution to solve this problem like downloading packages from GitHub and putting them manually in the folder.
or install an old version.
but still shows the same error 13.
how can I solve this prob?!

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.

If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.

Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.