Personally I use TeXstudio to create LaTeX documents and sometimes I need to install new packages. Usually, when you try to use a package that is not installed locally, this is the following error:
![](https://www.edoardovignati.it/wp-content/uploads/2021/01/miktex-1.png)
The easiest way to install a new package (in this case the float package) is to use MiKTeX.
First of all download MiKTex from here: https://miktex.org/download
Install and open it. Then click on the “Check for updates” button as shown below:
![](https://www.edoardovignati.it/wp-content/uploads/2021/01/miktex-2-1024x473.png)
A list of standard available packages is displayed. Click on “Update now” and wait till the process ends.
![](https://www.edoardovignati.it/wp-content/uploads/2021/01/miktex-3.png)
If you want to install a specific package you can search for it from the Packages window.
![](https://www.edoardovignati.it/wp-content/uploads/2021/01/miktex-4.png)
Then select the chosen one and click on the plus button to install it.
![](https://www.edoardovignati.it/wp-content/uploads/2021/01/miktex-5-1024x410.png)
At the end close and restart your IWE (Integrated Writing Environment).
Thanks to @navalorenzo for inspiring me in this post.
Cheers
![Buy Me A Coffee](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png)
![](https://licensebuttons.net/l/by-nc/4.0/88x31.png)