trying to install linux-brave

Trying to install linux-brave I get:

pkg install linux-brave-1.85.111
:
[ 1/88] Installing linux_base-rl9-9.7...
Cannot install package: kernel missing 64-bit Linux support
pkg: PRE-INSTALL script failed

Check for kernel support:
# uname -m
amd64

which seems to say linux kernel support is installed.

/boot/loader.conf
# cat /boot/loader.conf
security.bsd.allow_destructive_dtrace=0
kern.vty=vt
linux_load="YES"


In doing a kldstat it also seems the necessary module are there.
 
/etc/rc.d/linux seems to be a bit more complex.
doug@loki:~ % cd /usr/local/etc/rc.d/
doug@loki:/usr/local/etc/rc.d % ls -l
total 56
-r-xr-xr-x 1 root wheel 945 Jun 13 21:42 avahi-daemon
-r-xr-xr-x 1 root wheel 1197 Jun 13 21:42 avahi-dnsconfd
-rwxr-xr-x 1 root wheel 447 Jun 13 21:44 cupsd
-rwxr-xr-x 1 root wheel 592 Jun 10 21:37 dbus
-rwxr-xr-x 1 root wheel 593 Jun 13 21:30 git_daemon
-rwxr-xr-x 1 root wheel 1528 Jul 8 22:35 jackd
-rwxr-xr-x 1 root wheel 535 Jun 13 21:50 lightdm
-rwxr-xr-x 1 root wheel 8433 Jun 13 22:16 samba_server
-rwxr-xr-x 1 root wheel 1071 Jun 14 16:56 slim
-rwxr-xr-x 1 root wheel 258 Jul 1 21:09 sndiod
-rwxr-xr-x 1 root wheel 797 Jun 20 06:45 vmware-guestd
-rwxr-xr-x 1 root wheel 1387 Jun 20 06:45 vmware-kmod
doug@loki:/usr/local/etc/rc.d %

Not very complex, unless you mean its not there and I have to figure out what to put in it
 
I'd like to be sure that linux service is running before installing any linux-* packages.

# service linux enable
# service linux start
or
# service linux onestart

It's also located in /etc/rc.d, not in /usr/local/etc/rc.d since it's a part of the base system.
 
Doug41 the Linux rc scripts live in root prefix as FreeBSD components, not /usr/local prefix where 3rd party packages live.

Delete the line from your loader.conf.

As root, enter


sysrc linux_enable="YES"


This will put linux_enable="YES" into rc.conf. Reboot, or service linux start, and install linux-brave.

Read this -> https://docs.freebsd.org/en/books/handbook/linuxemu/
Because the loader.conf stuff is old ways, you might want to brush up.
Reason why it moved, because each driver has to be manually put in loader.conf, and rc script is singular - thus one script can load linux.ko and linux64.ko, and more if we need.
 
Back
Top