Admir Husić
Admir Husić

Reputation: 61

How to install git on CloudLinux server?

I'm trying to install git on my CloudLinux server over ssh. When I type following:

install git

it says

missing file operand after 'git'

I also made a folder /home/websitename/git and typed the following code:

install git -d /home/websitename/git

When I press enter nothing happens. Im new to the command line and linux. Hope you understand my question. Thank you in advance for your answers.

Upvotes: 0

Views: 362

Answers (1)

Kevin Lemaire
Kevin Lemaire

Reputation: 991

You have to use yum package manager to install git.

yum -y install git

Upvotes: 1

Related Questions