0

This question already has an answer here:

here is what the machine shows

#apt-get install tor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package tor is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tor' has no installation candidate

marked as duplicate by Kusalananda, Jeff Schaller, Stephen Rauch, Anthon, Gilles Aug 26 '17 at 21:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    What operating system do you use? – Egor Vasilyev Aug 26 '17 at 13:11
  • Look at this answer. It might help you. unix.stackexchange.com/a/259605/237568 – Hunter.S.Thompson Aug 26 '17 at 13:11
  • im using kali linux Sir – Root Angel Aug 26 '17 at 13:19
  • apt-get update && apt-cache search tor && apt-get install tor – defalt Aug 26 '17 at 14:42
  • The are some bug (temporary) on the kali-linux repository , now you can update and install your packages without problem – GAD3R Aug 26 '17 at 15:11
0

On Debian/Ubuntu you need previously add correct sources in /etc/apt/sources.list:

deb http://deb.torproject.org/torproject.org stretch main
deb-src http://deb.torproject.org/torproject.org stretch main

After this you should run:

apt-get update
apt-get install tor

For Kali Linux read this topic.

Not the answer you're looking for? Browse other questions tagged or ask your own question.