Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Linux packages. #7

Open
globetrotterdk opened this issue Jan 31, 2022 · 3 comments
Open

Unable to install Linux packages. #7

globetrotterdk opened this issue Jan 31, 2022 · 3 comments

Comments

@globetrotterdk
Copy link

globetrotterdk commented Jan 31, 2022

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
Copy link
Member

mrclksr commented Jan 31, 2022

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
Copy link
Author

globetrotterdk commented Jan 31, 2022

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
Copy link
Member

mrclksr commented Feb 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants