run sudo cachy-os-ratemirrors then try again.
Screenshots are really less helpful than copying the text.
Please make use of the formatted text </> button to enclose output.
( I had to type this manually.
)
The https://raw.githubusercontent.com/xpf0000/PhpWebStudy/v4.12.2/LICENSE URL is reachable so there might be some problem with you being blocked from github or by your ISP or similar.
Can you resolve the address in your browser?
This is unrelated. ![]()
Thank you, well noted as regards the screenshots, it was one of the things we do in Windows world to give the support-person on the other side a clear view of the error we were experiencing.
I had tried different network with no success. How then do I get unblock by github?
edit:
I can login into github both from browser and terminal.
@cscs and @kindofabuzz I realized using VPN on Chrome broswer I was able to access the license url.
Searched online and found this link on how to resolve the issue of unblocking:
then entered this.
sudo bash -c ‘echo “185.199.108.133 raw.githubusercontent.com” >> /etc/hosts’
Changed the DNS to DNSPod(Tencent) and used my wife’s network. It worked and fully installed now.
Thanks all
We dont need you to log in.
We need to know whether you can resolve https://raw.githubusercontent.com/xpf0000/PhpWebStudy/v4.12.2/LICENSE .. like if you click that link does it open a text file?
We can manually download the file to the build directory if necessary but …
While I was writing this you got it done. ![]()
Congrats. Glad it worked out.
PS.
I moved the solve mark from the most recent reply to the installation procedure as (despite the particular issue accessing github) that seems most relevant to the topic query.
That will be very helpful for someone else who might face similar challenge. Again thank you.
@cscs a quick one please, in terms of future updates, hope there will not be much of a hassle updating the package using the usual command: “paru -S FlyEnv”?
Hey brothers, I also managed to install FlyEnv on CachyOS about a week ago, so I’d like to share my installation process here.
First, I installed it using:
paru -S flyenv-bin
After reviewing the dependency packages, I pressed q to continue the installation. Luckily, I didn’t run into any issues with the LICENSE URL.
Once the installation finished, on the first launch FlyEnv asked for permission FlyEnv Helper — just enter your password and you’re good to go. Then I proceeded to install the programming languages (node, python, go,…) and tools (nginx, mysql, mongo,…) I needed and hit apply Env as usual.
And here’s where the problem showed up. I opened a terminal using Konsole, typed node -v, and… command not found. I was like, wtf? ![]()
I checked with echo $PATH and noticed that none of the FlyEnv environments were added at all. It seems that on Arch-based systems, FlyEnv doesn’t automatically inject its env paths into PATH.
After digging around on Stack Overflow, I found a solution. CachyOS uses fish shell, so you need to edit:
nano ~/.config/fish/config.fish
And add the following lines:
fish_add_path \
~/.config/FlyEnv/alias \
~/.config/FlyEnv/env/node/bin
Then press Ctrl + O to save and Ctrl + X to exit. Close Konsole and your IDE, reopen the Konsole, and voilà — everything works perfectly.
Whenever you need another programming language or tool, just keep adding it under ~/.config/FlyEnv/alias \ in config.fish and you’re good to go.
P.S. Podman installed via FlyEnv can’t create a VM, but you can always install Podman or Docker separately, so it’s not really a big deal.
Hello and welcome,
Rather if/because you are using fish shell you can edit ~/.config/fish/config.fish. You do not need to.
You could selectively add to PATH for only the execution of certain software for example.
Or, regardless of shell, you could add to PATH using /etc/profile or scripted in /etc/profile.d/*.conf.
I do this for ~/.local/bin, ex;
/etc/profile.d/home-local-bin.sh
case ":${PATH}:" in
:"$HOME/.local/bin":) ;;
*) export PATH="$HOME/.local/bin:$PATH" ;;
esac
Thanks for the tip — creating a *.sh file in /etc/profile.d/ is a good idea. I’ve only been using Linux for about 3 months, still got a lot to learn after switching over from Windows. I’ll give it a try.
Another reason not to use fish. I really don’t understand why it’s the default shell in Cachy ![]()
When I first started with CachyOS, in the first few days, I had issues with some commands running smoothly in the terminal and when searched why this is happening, I was told that the command is a bash-shell’s, which is not fully compatible with fish-shell command and somewhat was told to convert the commands to a compatible fish-shell’s or switch to bash-shell. To save myself the headache, I switched to bash-shell. Things have been going on smoothly for me since then.