Issue while installing meshery

Acer@LAPTOP-TKJL4OGC MINGW64 ~
$ curl -L https://meshery.io/install | PLATFORM=docker bash -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7905 100 7905 0 0 9906 0 --:–:-- --:–:-- --:–:-- 9893

Downloading mesheryctl-v0.6.6 for Linux…

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 18.4M 100 18.4M 0 0 1655k 0 0:00:11 0:00:11 --:–:-- 2144k

Extracting mesheryctl-v0.6.6 to temporary folder CSoeNq3WCmQnPjF7…

Installing mesheryctl in /usr/local/bin.
bash: line 177: sudo: command not found
Cannot install mesheryctl. Check permissions of Acer for /usr/local/bin.

It seems you either -

  • Don’t have root privileges and can’t invoke sudo.
  • Or you don’t have sudo installed yet, particularly the case for Debian.

Can you provide more details about the Linux distribution you’re using? @simrangupta234
And is it a remote/commerical server that you are working on?

If you don’t have sudo installed, you can follow these steps -

  1. Access root user and enter password
    su -
    
  2. Install sudo
    apt install sudo
    
2 Likes

If you’re running this in Powershell or Command Prompt, you might choose to use Scoop (as a Windows package manager) to install mesheryctl - Scoop | Meshery.

1 Like

got this error after using scoop:

PS C:\Users\Acer> mesheryctl system start
Starting Meshery…

Meshery deployed on Kubernetes.
Meshery is starting…
Error: failed to start Meshery
See mesheryctl-system | Meshery for usage details
:

I’m on windows operating system and using Ubuntu distribution.

Since you’re trying to deploy Meshery to Kubernetes, do you have a valid kubeconfig available in your '~/.kube` folder? What kind of Kubernetes cluster are you deploying to? If you’d rather use Docker, I recommend using this extension - Docker Hub

1 Like