[Linuxulator] How to run Edge (linux-binary) on FreeBSD

I'm trying to run the edge browser following the tutorial : https://forums.freebsd.org/threads/...-google-chrome-linux-binary-on-freebsd.77559/

so,I've folllowed that tutorial,with some minor changes. For example,I've created the custom edge launcher script called /compat/linux/bin/edge and I made it executable:

Code:
#!/compat/linux/bin/bash
export EDGE_PATH="/usr/bin/microsoft-edge-dev"
export EDGE_WRAPPER="`readlink -f "$0"`"
export LD_LIBRARY_PATH=/usr/local/steam-utils/lib64/fakeudev
export LD_PRELOAD=/usr/local/steam-utils/lib64/webfix/webfix.so
export LIBGL_DRI3_DISABLE=1
exec -a "$0" "$EDGE_PATH" --no-sandbox --no-zygote --test-type --v=0 "$@"

and I've created this desktop file to launch edge as any other app:

Code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Edge
Comment=Edge web browser
Icon=edge
Exec=/compat/linux/bin/edge
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupNotify=true

unfortunately when I execute it,I get the following error message :

Code:
@marietto:/home/marietto/Desktop/Browsers # /compat/linux/bin/edge
/compat/linux/bin/edge: line 9: /usr/bin/microsoft-edge-dev: No such file or directory

I don't know why,since the microsoft-edge-dev file is located on /compat/linux/usr/bin :

Code:
@marietto:/home/marietto/Desktop/Browsers # find /compat/linux/usr/bin -name microsoft-edge-dev
/compat/linux/usr/bin/microsoft-edge-dev

and the wrapper called edge is located on /compat/linux/bin

Code:
@marietto:/home/marietto/Desktop/Browsers # find /compat/linux/bin -name edge
/compat/linux/bin/edge
 
here is how msft builds edge

git clone chrome && find . -type f | \
xargs sed -i"" -E -e "s/Google/Microsoft/gi" -e "s/(chrome|chromium)/Edge/gi" && \
make HOMEPAGE=rb.gy/vf3lzi release
 
Why do you want do do this? Edge is one of the worst spyware apps on the planet. Why does someone want to downgrade his open source FreeBSD
with a software like Edge? I cant understand.

Is this just a try to show it can be done or do you really want to use it?

I just imagine your user agent: Edge on FreeBSD. How many of them we have world wide? Maybe 10 or 100. Happy tracking!
 
Back
Top