If I may, I’m new to FEniCS and I’ve got the same issues as @OsbertWang .
I’m in Southeast Asia and I don’t have VPN.
Is there a work-around, or should i just disregard the error and continue with the steps.
I’m worried it would mean the installation would be incomplete.
As dparsons already pointed out: On Ubuntu 20.04 you don’t use the PPA, you just use the standard Ubuntu repository. The 404 error is due to the fact, that the PPA does not have a “focal/” subdirectory, not because the server cannot be reached.
If you have Ubuntu 20.04 and you have added the PPA, try
@dparsons and @dokken both many thanks. So the only way for those users of WSL under Windows 10, it should be to update Ubuntu 20.04 LTS to Standard and 20.10, and this would help them to get support and 0.5.1 dolfinx, right?
(after updating /etc/apt/sources.list to refer to jammy instead of focal, i.e. 22.04 instead of 20.04). Ubuntu also provides graphical package management tools that will list the new sources and can start the upgrade.
Ah, I see. Best to ignore that line in the tutorial
I’ll update the debian/ubuntu packages so they report something a bit more constructive than “unknown” there.
I get “Cannot add PPA: ‘ppa:~fenics-packages/ubuntu/fenics’.” on WSL Ubuntu while trying to add the repository. I’m behind a proxy. Installing fenics or other packages works well, but fenicsx causes trouble.
Is there a manual entry for the repository like “deb Index of /ubuntu focal multiverse”, so that I can manually add the repository?
It’s been a while since I last checked in.
I’ve written a short guide on how to install FEniCSx on a Windows system, and uploaded it onto GitHub.
Since I’m Chinese, I wrote the guide in Chinese.
The guide covers installation procedures for both WSL and Docker for Windows 11. Additionally, I have included instructions on how to use proxy for both ppa and ubuntu. Furthermore, I have also cited a tutorial on how to move WSL to another disk.
I hope this guide can be helpful for anyone who needs assistance with installing FEniCSx on their Windows system.