Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to re-install chocolatey package

Tags:

chocolatey

Story is I installed Firefox from choco, then I uninstall it from Program and Features manually. After that I found it still list in choco list --local-only. I cannot run choco install firefox because choco thought it already "exists".

How to update choco list? or anyone know how to re-install it?

Thanks.

like image 417
Jason Yu Avatar asked Feb 26 '19 08:02

Jason Yu


People also ask

How do I reinstall Chocolatey?

Completely offline installGo to https://community.chocolatey.org/packages/chocolatey and find a version you want. Click on Download to download that version's nupkg file.

How do I update my Chocolatey package?

You can find the version of the chocolatey that is installed by running the choco command. To upgrade chocolatey, open command prompt as administrator and run choco upgrade chocolatey . c:\> choco upgrade chocolatey Chocolatey v0.

How do I uninstall Chocolatey packages?

📝 NOTE A package with a failing uninstall can be removed with the -n --skipautouninstaller flags. This will remove the package from chocolatey without attempting to uninstall the program.

Where are Chocolatey packages installed?

Chocolatey packages are installed to ChocolateyInstall\lib , but the software could go to various locations, depending on how the package maintainer created the package. Some packages are installed under ChocolateyInstall\lib , others - especially packages that are based on Windows installers (.


1 Answers

You can issue a choco uninstall firefox -y, then a choco install firefox or a forced reinstall via choco install firefox --force --force-dependencies

like image 194
Claudiu Constantin Avatar answered Sep 27 '22 16:09

Claudiu Constantin