VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • Packages
  • Namespaces

Was this helpful?

  1. Installation
  2. Requirements

Linux requirements

Packages

To install VSCode-Anywhere on Linux, you must have installed the mandatory packages: bash, coreutils and curl installed.

The packages bash, tar and coreutils are installed by default on most Linux distributions.

The following commands are used in the installation process and are part of the previous required packages:

$ command -v bash
/usr/bin/bash
$ command -v tar
/usr/bin/tar
$ command -v curl
/usr/bin/curl
$ command -v realpath
/usr/bin/realpath
$ command -v cut
/usr/bin/cut
$ command -v readlink
/usr/bin/readlink
$ command -v test
/usr/bin/test
$ command -v mkdir
/usr/bin/mkdir
$ command -v chmod
/usr/bin/chmod
$ command -v id
/usr/bin/id
$ command -v rm
/usr/bin/rm
$ command -v echo
/usr/bin/echo

realpath, cut, readlink, test, mkdir, chmod, id, rm and echo are part of the coreutils package.

After that, you must rename curl-linux-x86_64 to curl and put it in your PATH.

Example after downloading the curl binary with your favorite browser:

chmod +x ~/Download/curl-linux-x86_64
mkdir ~/bin
mv ~/Download/curl-linux-x86_64 ~/bin
export PATH=~/bin:$PATH
curl -Lk https://curl.haxx.se/ca/cacert.pem > ~/cacert.pem
export SSL_CERT_FILE=~/cacert.pem
bash <(curl -sL https://raw.githubusercontent.com/gigi206/VSCode-Anywhere/V2/VSCode-Anywhere.sh)

Assuming that ~/download is where the file was downloaded.

Namespaces

If you install VSCode-Anywhere with the linux_user profile (by default), you must have a kernel that supports the user namespaces (3.8 minimal).

If the unshare binary is installed on your system, you can test with:

$ unshare --user --pid echo YES
YES
PreviousWindows requirementsNextMacOS requirements

Last updated 4 years ago

Was this helpful?

If you have an unprivileged account and the curl binary is not installed on your system, you can .

download the static curl binary