Find answers, ask questions, and connect with our <br>community around the world.

Home Forums CPP scientific computing discussion Lesson-2 Error during “code” installation in Ubuntu

  • Lesson-2 Error during “code” installation in Ubuntu

    Posted by Tushar on September 1, 2022 at 4:20 pm

    What does this error means and how it can impact on system?

    /*
    tushar@tushar-VirtualBox:~$ mkdir Coding
    tushar@tushar-VirtualBox:~$ ls
    Coding Documents examples.desktop OpenFOAM Public tutorials
    Desktop Downloads Music Pictures Templates Videos
    tushar@tushar-VirtualBox:~$ cd Coding
    tushar@tushar-VirtualBox:~/Coding$ ls
    tushar@tushar-VirtualBox:~/Coding$ code .

    Command ‘code’ not found, but can be installed with:

    sudo snap install code

    tushar@tushar-VirtualBox:~/Coding$ sudo snap install code
    error: This revision of snap “code” was published using classic confinement and
    thus may perform arbitrary system changes outside of the security
    sandbox that snaps are usually confined to, which may put your system at
    risk.

    If you understand and want to proceed repeat the command including
    –classic.
    tushar@tushar-VirtualBox:~/Coding$ ^C
    tushar@tushar-VirtualBox:~/Coding$

    */

    Nishant replied 1 year, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Nishant

    Member
    September 6, 2022 at 11:52 am

    Dear Tushar,

    You can install Visual Studio Code by running the following command in Linux Terminal,
    sudo apt-get install code

    This will not cause any harm to your Computer. You can also download it directly from the official website,
    https://code.visualstudio.com/download

    Hope that helps. Please feel free to contact us for any further queries yo have.

Log in to reply.

error: Content is protected !!