Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 2.34 KB

install-instructions.linux.md

File metadata and controls

81 lines (60 loc) · 2.34 KB

VLab App Installation Guide for Linux

Prerequisites

Before installing the VLab app, ensure that the following dependencies are installed on your Linux system:

  • Python
  • Git
  • Docker

Installation using Script

To install the VLab app, you can use the provided installation script. Open your terminal and run the following command:

sudo apt update -y && sudo apt install -y curl && curl https://raw.githubusercontent.com/bodhitree-iitb/vlab-installation/main/ubuntu-install.sh 2> /dev/null | sh
  • if it ever asks for some permission, give permission press y or the key as specified.
  • (Make sure to reboot after this script finishes) This command will download and execute the installation script, which takes care of installing Python, Git, Docker, and other necessary components for the VLab app.

What if the installation fails?

If the installation script fails, you may need to manually check and install missing dependencies. Here's a step-by-step guide:

Installaion commands shown here are for ubuntu (debian)

  1. Check python

python3 --version

or

python --version

If Python is not installed, you should see output like below

python installed

else output would be like this

python not installed

If not installed you can install it using your package manager. For example, on Ubuntu, you can use:

sudo apt install python3
  1. Check for git

git --version

if installed :

git installed

if not installed :

git not installed

If Git is not installed, install it using:

sudo apt install git
  1. Check docker

docker --version

if installed :

docker installed

if not installed :

Alt text)

If Docker is not installed, you can install it by following the official Docker installation guide.

  1. retry vlab by running previous command

curl https://raw.githubusercontent.com/bodhitree-iitb/vlab-installation/main/ubuntu-install.sh 2> /dev/null | sudo sh

or manually downloading and double clicking appropriate file (*.deb for debian) link (only accessible via iitb google account)