0

I just tried to install VS code and the openhab extension via this site (https://code.visualstudio.com/docs/setup/linux) and followed all the steps until "sudo apt-get install code-insiders". Then it failed.

It tells me: Package code-insiders cannot be found.

Any ideas? Do I need to insert a code number?

Furthermore, how can I install the required openhab2 extension? I don“t find the required add-on in the selection menus.

Thanks for your help, db

Gama11
  • 31,714
  • 9
  • 78
  • 100
dreamerbb
  • 1
  • 1

1 Answers1

0

When you installed Visual Studio, you probably did so by downloading the package and installing it directly, instead of following their instructions for including Microsoft's repository on your system. Or maybe there was a hiccup when you followed their instructions, and something didn't get installed correctly.

You have two choices. You can include Microsoft's repo in your apt by following their instructions here (refer to the section under Debian titled "The repository and key can also be installed manually with the following script:"), or you can download the code-insiders package from here and install it manually. (I'd recommend the first option, as Microsoft should be a trustworthy company to add into your apt repository list.)

John Deters
  • 4,295
  • 25
  • 41