1

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 https://iffgit.fz-juelich.de/fleur/fleur.git

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

ashice
  • 11
  • 1
  • 1
  • 2
  • 2
    Does this answer your question? [How do I restore the default repositories?](https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories) – N0rbert Apr 12 '21 at 18:26

3 Answers3

4

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.

Podesta
  • 1,126
  • 6
  • 14
0

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

GAD3R
  • 2,821
  • 1
  • 18
  • 30
-1

u need to install git first

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

$ sudo apt install git-all
MoRmdn
  • 1