Error when trying to install Brave Linux browser

Code:
sudo ./linux-browser-installer install brave
/bin/bash: curl: command not found
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
linux-browser-installer: Error: Command 'curl -v -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -' failed

I have installed Ubuntu, configured all the steps needed to run Linux
The /bin/bash: curl:command not found is a Linux one, I guess

I have no idea where the issue is
 
Last edited by a moderator:
To give a non-answer (well sort of), quite awhile ago user patovm04 had a tutorial about installing Brave on FreeBSD. It was for 13.0 and I don't know if it's still working but anyway


I also haven't tried to just do pkg install linux-brave which seems as if it might do the job as well. Mostly though, I would only want it for netflix, and my wife is usually using it, so I haven't even noticed--mostly when I watch it, it's something we're watching together. Hopefully, someone with more knowledge will add to this.
 
Why not simple: sudo pkg ins linux-brave ?

It worked for me, without a hitch 🤷‍♂️

(note: I had linux_base-rl9 already installed)
 
Why not simple: sudo pkg ins linux-brave ?

It worked for me, without a hitch 🤷‍♂️

(note: I had linux_base-rl9 already installed)
You Know? I have no idea there was such a command, if it is working, well... go to the Hell all the code involved to installing by mean of Linuxlator. I'll test now.
 
You Know? I have no idea there was such a command, if it is working, well... go to the Hell all the code involved to installing by mean of Linuxlator. I'll test now.i have "linux_enable="YES" in /etc/rc.conf and several modules loaded in /boot/loader.conf. I have /compat/ubuntu, just "ubuntu_enable="YES" in /etc/rc.conf.
It seems my OS has something evil, ha, ha,
Does not work for me, ha.
I'll try beginning to work from a new copy, a clean one.
 
Why not simple: sudo pkg ins linux-brave ?

It worked for me, without a hitch 🤷‍♂️

(note: I had linux_base-rl9 already installed)
Well, I have used a new copy of FreeBSD.
linux_base-rl9installed

In /boot/loader.conf:
Code:
linux_load="YES"
linux64_load="YES"
fdescfs_load="YES"
linprocfs_load="YES"
tmpfs_load="YES"
linsysfs_load="YES"
In /etc/rc.conf
Code:
linux_enable="YES"
Then sudo service linux start

After that:
sudo pkg install linux-brave

Everthing was OK and Brave is running.

Thank you so much
 
linux_base-rl9installed
The www/linux-brave package does depend on it so if you were to just install the brave port, you would have it already too. IIRC, you need to have Linux service running before attempting to install that linux packages, they may fail otherwise.
In /boot/loader.conf:
linux_load="YES"
linux64_load="YES"
fdescfs_load="YES"
linprocfs_load="YES"
tmpfs_load="YES"
linsysfs_load="YES"
I don't think that you need all of those, AFAIK, they can get loaded on demand and dynamically.
In /etc/rc.conf
linux_enable="YES"

Then sudo service linux start
If you enabled it already in rc.conf, the service starting command is only needed for once, before you enabled it and not rebooted. Linux service does already mount some filesystems.
 
I have in my /etc/rc.conf only: kld_list=" [...] linux linux64" and linux_enable="YES"

Just tested in another VM which didn't have Brave (but with emulators/linux_base-rl9 already installed), pkg ins linux-brave pulled a lot of *- rl9 pkgs, but with the same rc.conf as above everything just worked immediately after installing Brave?
 
Last edited:
I have in my /etc/rc.conf only: 'kld_list=" [...] linux linux64"' and 'linux_enable="YES"'

Just tested in another VM which didn't have Brave (but with linux_base-rl9 already installed), pkg ins linux-brave pulled a lot of *- rl9 pkgs, but with the same rc.conf as above everything just worked immediately after installing Brave?
I guess I didn't understand you. linux_base-rl9 isn't the only dependency that linux Brave needs, it also have to pull other linux packages too. I think that adding linux* to kld_list isn't necessary. Can you elaborate?
 
I have in my /etc/rc.conf only: 'kld_list=" [...] linux linux64"' and 'linux_enable="YES"'

Just tested in another VM which didn't have Brave (but with linux_base-rl9 already installed), pkg ins linux-brave pulled a lot of *- rl9 pkgs, but with the same rc.conf as above everything just worked immediately after installing Brave?
Thank you, it seems only linux64 in /boot/loader.conf
 
I have in my /etc/rc.conf only: kld_list=" ... linux linux64" and linux_enable="YES" in the line bellow that.

I just tested in another VM which didn't have Brave (but also with emulators/linux_base-rl9 already installed), pkg ins linux-brave pulled a lot of *- rl9 pkgs, but with the same rc.conf as above everything just worked?

BTW, I moved long time ago loading all *.ko to the /etc/rc.conf from /boot/loader.conf, only things loading from my boot loader are zfs, some kern.* params, aio, sound and sound_hda, and also efi & vt resolution settings, plus my custom RGB palete for vt which then I can copy to the KDE Konsole and to the Xterm, so to have same fonts/colors/experience in all three of my favorite terminal emulators. But, as for the linux-brave, nothing special nor extra in my setup and it just works!

P.S. Sorry for repeating , I didn't realize that previous post went trough[/port][/port]
 
Last edited:
I hadn't used linux-brave, but just tested it in a vm, just did service linux onestart, and it installed without problem. I would guess that linux_enable="YES" in /etc/rc.conf would be sufficient, wouldn't it? Also it does work as advertised, I was able to play an Amazon prime video in it.
 
I hadn't used linux-brave, but just tested it in a vm, just did service linux onestart, and it installed without problem. I would guess that linux_enable="YES" in /etc/rc.conf would be sufficient, wouldn't it? Also it does work as advertised, I was able to play an Amazon prime video in it.
I think that you are right, linux_enable="YES" should be enough (with linux_base-* installed and dirs and paths set) , and linux.ko|linux64.ko are dynamically loaded when needed, but it’s just my personal preference to have all of *.ko that I think I’ll need preloaded from rc.conf kld_list 🤷‍♂️

P.S. edit: TBH, second half of my prev. post is just me bragging about ricing my vt console and other terminals, nothing to do with Linuxulator nor Brave 😁
 
Last edited:
cracauer@, thanks, that clarifies it for me. I don't remember if it's been mentioned, but on my vm, when I installed linux-brave, it had a ton of rl9-* packages as dependencies. I hadn't had any Linux stuff on the test VM previously. I think it wound up pulling 2 GB, most of it rl9-* stuff.
 
You can load linux64 whenever you want.
Yeah, /etc/rc.d/linux service already loads it so enabling it and let it run is sufficient.

Code:
linux_start()
{
        local _emul_path _tmpdir

        case `sysctl -n hw.machine_arch` in
        aarch64)
                load_kld -e 'linux64elf' linux64
                ;;
        amd64)
                load_kld -e 'linuxelf' linux
                load_kld -e 'linux64elf' linux64
                ;;
        i386)
                load_kld -e 'linuxelf' linux
                ;;
        esac
 
The www/linux-brave package does depend on it so if you were to just install the brave port, you would have it already too. IIRC, you need to have Linux service running before attempting to install that linux packages, they may fail otherwise.

I don't think that you need all of those, AFAIK, they can get loaded on demand and dynamically.

If you enabled it already in rc.conf, the service starting command is only needed for once, before you enabled it and not rebooted. Linux service does already mount some filesystems.
Thank you. Now I just have:
linux_load="YES"
linux64_load="YES" ...
and works perfectly.
 
You are welcome but I still do think that you don't need those too, remove them and try it if it still works :)
I have commented all about linux in /boot/loader.conf
Then startx.
In graphical desktop I have click on Brave icon, but does not work untill I write:
sudo service linux start.
After that Brave works

Ha,ha,ha, I do not remember where to include the service running from the start the system
 
I have commented all about linux in /boot/loader.conf
Then startx.
In graphical desktop I have click on Brave icon, but does not work untill I write:
sudo service linux start.
After that Brave works

Ha,ha,ha, I do not remember where to include the service running from the start the system
Did you run start or onestart? If you ran "onestart", that means you didn't enable linux service in rc.conf. # service linux enable. If you ran "start", i don't know why linux service didn't start.
 
Back
Top