France is adopting Linux-based operating systems to reduce reliance on U.S. tech giants.