nomadbsd / handbook

NomadBSD handbooklet
BSD 2-Clause "Simplified" License
8 stars 3 forks source link

Unable to install Linux packages. #7

Open globetrotterdk opened 2 years ago

globetrotterdk commented 2 years ago

The NomadBSD Handbook states that the steps for installing Linux packages are as follows: `# sysrc linux_enable=YES

service abi start

pkg install linux-sublime`

Unfortunately, that doesn't work for me: `~> cat /etc/rc.conf | grep linux linux_enable="YES"

service abi start

abi does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable

ls -l /etc/rc.d | grep abi

root@NomadBSD:~ #

ls -l /usr/local/etc/rc.d | grep abi

root@NomadBSD:~ #`

It has been suggested that there has been some luck with a work around, where the user installs a Linux browser first, by using the Linux Browser install GUI. I have considered this, and am interested in installing a Linux browser, however I am only interested in installing the new Microsoft Edge for Linux browser, which isn't in the list. Is there a way to install the Microsoft Edge browser by modifying the GUI script, or should the issue of being unable to install any Linux packages be tackled head-on? I am a bit unsure, but I definitely need some help on both interrelated issues...

mrclksr commented 2 years ago

The handbook needs an update. It should now be service linux start.

I am only interested in installing the new Microsoft Edge for Linux browser, which isn't in the list. Is there a way to install the Microsoft Edge browser by modifying the GUI script, or should the issue of being unable to install any Linux packages be tackled head-on? I am a bit unsure, but I definitely need some help on both interrelated issues...

I've just added support for installing Microsoft Edge to https://github.com/mrclksr/linux-browser-installer.git

$ git clone https://github.com/mrclksr/linux-browser-installer.git
$ cd linux-browser-installer
$ sudo ./linux-browser-installer install edge
globetrotterdk commented 2 years ago

The handbook needs an update. It should now be service linux start.

I've just added support for installing Microsoft Edge to https://github.com/mrclksr/linux-browser-installer.git

$ git clone https://github.com/mrclksr/linux-browser-installer.git
$ cd linux-browser-installer
$ sudo ./linux-browser-installer install edge

Wow. I am impressed. Thanks. There are a couple of issues or potential issues:

My monitor flashes a fair amount when using Edge. I assume that something needs to be added within the following quotation marks, perhaps "ubuntu ubuntu64"? ~> cat /etc/rc.conf | grep nvidia kld_list="cuse4bsd nvidia-modeset.ko nvidia.ko" The other things here are just to check that everything is OK, particularly after my problems with localization before. They occured while running the script to install Edge:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Setting up libu2f-udev (1.1.10-1) ...
Failed to send reload request: No such file or directory
Failed to scan devices: No such file or directory
Failed to scan devices: No such file or directory...

rmdir: /compat/ubuntu//usr/local/share/fonts: Directory not empty
mrclksr commented 2 years ago

My monitor flashes a fair amount when using Edge. I assume that something needs to be added within the following quotation marks, perhaps "ubuntu ubuntu64"? ~> cat /etc/rc.conf | grep nvidia kld_list="cuse4bsd nvidia-modeset.ko nvidia.ko"

This probably due to missing GLX support under the Ubuntu chroot. There's no solution yet.

The other things here are just to check that everything is OK, particularly after my problems with localization before. They occured while running the script to install Edge:

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory

Setting up libu2f-udev (1.1.10-1) ... Failed to send reload request: No such file or directory Failed to scan devices: No such file or directory Failed to scan devices: No such file or directory...

rmdir: /compat/ubuntu//usr/local/share/fonts: Directory not empty

These message are nothing to be concerned about.