M HYPE SPLASH
// news

git clone:command not found

By Andrew Adams

I want to install something. as I am running a command on my Linux is m getting this error. What should i do?

git clone

If 'git' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf git

1

3 Answers

Do you have git installed?

You can check that by opening your terminal and typing:

apt policy git

If it shows Installed: (none), it means git isn't installed. You can install it by typing:

sudo apt install git

After installing it you can clone the repository.

1

You should have bionic-updates and the security repository enabled in your /etc/apt/sources.list then you will be able to install git through sudo apt install git

u need to install git first

If you’re on a Debian-based distribution, such as Ubuntu, try apt:

$ sudo apt install git-all

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy