-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some problems about using the pengwin-setup command #758
Comments
Hello @Shadow-XT, Thanks for reporting. This should work out of the box. We will make the tests. Also test with zsh. Could you tell me what other options in PROGRAMMING are not working? Regards, |
Hello @Shadow-XT I made some test and everything looks right from our side. Could you please run the following command and send me the result:
|
Results of running the command
|
OK could you please run
Looks like sdkman didn't download well the first time |
Sorry, I can't successfully install sdkman even after running these two commands |
Hello, Force delete the sdkman directory: And try again:
Please send me the logs if it is not successful |
|
Good, looks like it worked. Just close and reopen pengwin. You should be able to run |
could you run this command and try again?
|
Oh, I see. I can successfully use the sdk and java commands after running the "source /home/shine/.sdkman/bin/sdkman-init.sh" command, but if I just restart the wsl command, running sdk and java commands will fail. Should I add it to the ".zshrc" or other startup configuration file? Or is there any other way besides this method? |
Yes, add it there. (.zshrc) pengwin-setup should add a startup script for that, but something is not working well. I'll check more carefully to see if I find the issue. |
Ok, thank you very much for taking so long to solve this problem for me. |
You are very welcome |
Describe the bug
I plan to use the "PROGRAMMING" option under "pengwin setup" to install the development environment, but there are always some problems. For example, when I install the Java SDKMAN, I will exit pengwin.exe directly after the installation The bin subdirectory is not found in the sdkman directory. Using the sdk command will show insufficient permissions. I think it's better that I download and install them directly on the official websites of various development environments.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
The above is the exit process of "pengwin. exe" after installing the SDK. There is no bin directory after entering the ". sdkman" directory
It seems that several PROGRAMMING components installed through pengwin-setup will show insufficient permissions at runtime, and I do not know where they are installed
Pengwin Version
Run
grep "PENGWIN_VERSION" /etc/os-release
in Pengwin.Insert here:
PENGWIN_VERSION="22.11.4"
WSL general info
Run
wslsys
in Pengwin.Insert here:
Release Install Date: Sun Apr 17 10:45:02 CST 2022
Branch: co_release
Build: 22000
Full Build: 22000.1.amd64fre.co_release.210604-1628
Display Scaling: 1.25
Locale (Windows): zh_CN
Theme (Windows): light
Uptime (Windows): 0d 21h 13m
Version (WSL): 2
Uptime (WSL): 0d 0h 9m
Release: Pengwin
Kernel: Linux 5.15.74.2-microsoft-standard-WSL2
Packages: 787
IPv4 Address: 172.21.93.178
System Type (Windows): Desktop
The text was updated successfully, but these errors were encountered: