Member-only story
How to setup Chocolatey test environment on Ubuntu 21.10 ?
Hello ! I’m Xavier Jouvenot and in this post, we are going to see to setup Chocolatey test environment on Ubuntu 21.10.
Self promotion: You can find other articles on my website 😉
Let’s dive directly in the solution !
Pre-requirements
I order to be able to run the Chocolatey test environment, you need to first install 2 tools: VirtualBox and Vagrant.
To install VirtualBox on your Ubuntu 21.10, you can go to this VirtualBox website to download the installer, or download it directly here. Once the installer downloaded, run it to have a VirtualBox ready to be used.
Then, to install Vagrant, then you will have to use your terminal ! You can either install the version available by default on the system by using the command sudo apt-get install vagrant
or you can install the latest version of vagrant with the following commands:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install vagrant
Finally, you are going to need to install some plugins in vagrant, 3 to be exact: winrm
, winrm-fs
and winrm-elevated
. And you can also do that by executing the following commands:
vagrant plugin install winrm
vagrant plugin install…