Saturday, December 6, 2025

How to install Git ?

Steps to install GIT on your local system(Windows, Linux, Mac)

Before installing Git to your machine, it's a good idea to check if it's already installed onto your machine by simply typing the below command.

  • Open a command prompt (cmd on Windows) or terminal(Linux / Mac)

  • Type a command 


        $ sudo git --version


In case nothing shows (i.e. no output on the terminal) then you have to install the Git else you can update the Git incase version is of OLD.

Installation on Linux:

For RPM based distribution, such as CentOS or RHEL, use below command:

                $ sudo dnf install git-all

For Debian based distribution, such as Ubuntu, use below command:

        $ sudo apt install git-all


Installation on Mac:

MacOS comes with Git installed by default and you can check it via the terminal with command


         $ git version


Nevertheless, if you don't have Git installed for whatever reason, you can use Homebrew to install the latest version of Git.


Install homebrew if you don't already have it, then:

        $ sudo brew install git


Installation on Windows:

You can visit the official site to download the Git build/binary. Browse https://git-scm.com/download/win and the download based on your OS (x64 or Arm64) .

  1. Once the installation has started by double clicking on the Git binary, follow the instructions as provided in the Git Setup wizard screen until the installation is complete.

  2. Make sure to check the "Add to the system path" or similar option so that you can use Git seamlessly from anywhere in your system.

  3. To verify Git is installed, open the windows command prompt and type $ git version


Reference screenshot :

git download page






Sunday, November 30, 2025

What is Git ?



Git stands for Global Information Tracker. It is an open-source tool developed by Linus Torvalds in 2005.
It is a distributed version control system (DVCS) that allows multiple users to work on the same project simultaneously. It helps developers track code changes and maintain a history of modifications. Git is designed to handle everything from small to very large projects efficiently.

There are several features of Git, including:

Distributed workflow

With Git, developers can work on thousands of parallel branches simultaneously. 

Local repository

The Git repository stores your source code and its development history locally.

Collaboration

Git facilitates teamwork and innovation thanks to its powerful collaborative capabilities. 

Speed and efficiency

With Git, you can handle projects of any size quickly and efficiently

Friday, September 12, 2025

Robot Framework : Sample code to verify if Robot Framework is installed properly ? - part2

Sample code to verify if Robot Framework is installed properly ?



1. Create a file name test.robot and save it.
*** Test Cases *** 
Sample Test 
    Log     Hello from Robot Framework! 
2. Execute the script using below command. -> robot test.robot


3. Lets see this in details

a) *** Test Cases *** # This part is called Section and                                   its case-sensitive.

b) Sample Test # This is the user-defined Testcase name.

c) Log Hello from Robot Framework! # Here Log is inbuilt Keyword of RobotFramework for logging.                                           # Hello from Robot Framework! This is the message user want to log                                             during execution.

Thursday, September 11, 2025

How to install Robot Framework on your Windows OS? - part1

How to install Robot Framework on your Windows OS ?

Robot Framework is an open-source automation framework mainly used for:

  1. Test automation (acceptance testing, regression testing, system testing)
  2. Robotic Process Automation (RPA)

It’s designed to be keyword-driven, meaning tests are written in a readable, almost natural language style using keywords that represent actions.


Steps to install Robot Framework :

### Open Command Prompt / terminal
        -    Press Windows + r key
        -    then type - cmd

### Check if you have Python installed or not, if not then install Python first
            python --version
### Create a folder and navigate to the created folder
          
       mkdir robot_f
       cd robot_f 

### Now create a virtual environment
            python -m venv robotenv
### Then activate the virtual environment
            .\robotenv\Scripts\activate
### Install Robot Framework
            pip install robotframework

### Check the version of Robot Framework
           robot --version

If you can see the robot framework version then it installed successfully.

Tuesday, September 9, 2025

Docker : How to install docker on Ubuntu 24.04 Linux OS ?

 

How to install docker on Ubuntu 24.04 Linux OS  


Installing Docker on Ubuntu 24.04 is a straightforward process. Here's a step-by-step walkthrough

🛠️ Step-by-Step Guide to Install Docker on Ubuntu 24.04

Update Your System

sudo apt update && sudo apt upgrade


Install Required Packages. 

These help your system communicate securely with Docker’s repository. 

sudo apt install apt-transport-https ca-certificates curl software-properties-common


Add Docker’s Official GPG Key

        curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg


Add Docker Repository

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null


Update Package Index Again

sudo apt update


Install Docker Engine

sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin


Start and Enable Docker

sudo systemctl start docker
sudo systemctl enable docker


(Optional) Run Docker Without Sudo

sudo usermod -aG docker $USER
newgrp docker


Test Your Installation

docker run hello-world

How to install Git ?

Steps to install GIT on your local system(Windows, Linux, Mac) Before installing Git to your machine, it's a good idea to check if it...