Open In App

How to Install Git on Solaris 10?

Last Updated : 16 Oct, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Git is a free and open source software for distributed version control, originally developed by Linus Torvalds the creator of the Linux kernel in 2005. Solaris is a proprietary Unix operating system originally developed by Sun Microsystems. In this article, we will understand how to install Git on Solaris 10. 

Features of Git

  1. Git is a Distributed development
  2. Git has the capability of efficiently handling large projects. 
  3. It also has strong support for non-linear development. 

Installation on Solaris 10

Follow the commands the same way as suggested. Also, make sure you’re executing each command as a root user or with the Sudo privileges.

Following are the steps:

Step 1: Install the pkgutil utility, if you’ve not installed it. 

Command:  pkgadd -d http://get.opencsw.org/now

install the pkgutil if not installed before

 

Step 2: The system will install all the required dependencies. 

installing the required dependencies

 

Step 3: Create a symlink of pkgutil to /usr/bin. 

Command:  ln -s /opt/csw/bin/pkgutil /usr/bin

creating symlink of pkgutil

 

Step 4: Update the catalog for pkgutil

Command: pkgutil -U

install the required catalog using pkgutil -U command

 

Step 5: Install git. 

Command: pkgutil -i git

install the git using pkgutil -i git

 

Step 6: Create a symlink in /usr/bin so that we don’t need to provide the full path again and again.

Command: ln -s /opt/csw/bin /git /usr /bin

creating symlink need to provide the full path

 

Step 7: Verify installation by checking the version of git. 

Command: git –version

check whether git is installed or not, using git --version

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads