apt-getのインストールが機能しない

apt-getのインストールが機能しない

マシンに表示される内容は次のとおりです。

#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

ベストアンサー1

存在するDebian/Ubuntu事前に/etc/apt/sources.listに正しいソースを追加する必要があります。

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

その後、以下を実行する必要があります。

apt-get update
apt-get install tor

Kali Linuxの場合は読むこれトピック。

おすすめ記事