N
N
Nikita Kit2016-10-06 13:08:29
linux
Nikita Kit, 2016-10-06 13:08:29

How to install Git on a GNU/Linux server?

The server is dedicated. Basically, it's a web server. In the home directory is the site where I need to make a mobile version. The site and its styles have been in production for a long time, but the mob version was conceived only now. They gave me SSH, I, as I have been in a similar situation more than once, realized that I need to deploy git and download the template to the local area, finish the styles on the local area, with gulp scss, sourcemaps, compression and all that is holy. But there was a hitch.
git init - command not found.
apt-get - command not found.
I don't understand what distribution kit is on the server. The output of the uname -a command does not provide any help. Axis is just GNU/Linux.
c200bf310eff4eafbb744e642ab35374.png
I looked through the installation tutorials - all the info comes down to installing from package managers (yum, apt, rpm ...), if not git itself, then its dependencies.
Is it possible to put Git on the server via ssh manually? Maybe someone knows a package that you can just copy to the server, unpack and do sudo make install?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Kuts, 2016-10-06
@ShadowOfCasper

cat /etc/issue
Will give more information about the distribution

Z
zooks, 2016-10-06
@zooks

sudo apt-get install python-software-properties

R
romy4, 2016-10-06
@romy4

Есди centos, то yum install
смотреть обычно в cat /etc/*release*

Пума Тайланд, 2016-10-06
@opium

Yum install git

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question