You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running xs-dev setup on Linux, it automatically attempts to install binary and library dependencies using apt-get. When running on a distribution with another package manager, the setup fails prematurely, even if the dependencies have been installed.
Potential solution
While I believe this setup script should be distro-agnostic by supporting apt, dnf, yum, apk, et al., another solution would be to check for the dependencies and skipping the installation step if they are installed.
Binaries can be checked with system.which, etc. If they are not installed, the script can attempt to install with the methods available (apt or whatever), but should fail with a friendly message to the developer to install the dependencies before attempting to run it again.
This approach puts the power back in the hands of the developer to set up their OS requirements without having to use an apt-based package manager.
The text was updated successfully, but these errors were encountered:
When running
xs-dev setup
on Linux, it automatically attempts to install binary and library dependencies usingapt-get
. When running on a distribution with another package manager, the setup fails prematurely, even if the dependencies have been installed.Potential solution
While I believe this setup script should be distro-agnostic by supporting
apt
,dnf
,yum
,apk
, et al., another solution would be to check for the dependencies and skipping the installation step if they are installed.Binaries can be checked with
system.which
, etc. If they are not installed, the script can attempt to install with the methods available (apt or whatever), but should fail with a friendly message to the developer to install the dependencies before attempting to run it again.This approach puts the power back in the hands of the developer to set up their OS requirements without having to use an apt-based package manager.
The text was updated successfully, but these errors were encountered: