3

I’m trying to install some dependencies and I get errors. For example, with git, I get “package git has no installation candidate’

With libx11-dev and several other prerequisites, I get “unable to locate package”.

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

-1

First of all after installation you have to run

sudo apt-get update && sudo dpkg --configure -a

Thi sinitiates your package manager additionaly to keep everything clean

sudo apt-get autoremove && sudo apt-get autoclean

No you are ready to go. start by searching the package you want to install

sudo apt-cache search git

This will bring you the search result and you can do

sudo apt-get install git

If still appears same error then check for content in apt source file probably in /etc/apt/sources.list.d/
However you can always simplify the process by using GUI software called package manager. You can launch that software by searching in menu.