After setting the environment variables, did you also re-generate project files for your engine? Once you’ve done this, you should find the Linux option in the solution platform dropdown inside Visual Studio. With this you can compile the project for Linux which should allow the package process to complete successfully.