Kali Linux에 python-httplib2 패키지를 설치할 수 없습니다.

Kali Linux에 python-httplib2 패키지를 설치할 수 없습니다.

제목에 언급된 패키지를 설치해야 하는데 실행하면 다음과 같습니다.

sudo apt-get install -y python-httplib2

나는 얻다:

"패키지 'python-httplib2'에는 설치 후보가 없습니다."

나는 다음을 실행하라는 지시를 받았습니다.

"sudo apt-get install python" 
"sudo apt-get install python2" 
"sudo apt-get update"

하지만 그것도 작동하지 않습니다.

답변1

데비안 패키지 검색에는 다음 항목만 표시됩니다.

Package python-httplib2
jessie (oldoldstable) (python): comprehensive HTTP client library written for Python
0.9+dfsg-2+deb8u1 [security]: all
stretch (oldstable) (python): comprehensive HTTP client library written for Python
0.9.2+dfsg-1: all
buster (stable) (python): comprehensive HTTP client library written for Python
0.11.3-2: all
sid (unstable) (libs): A comprehensive HTTP client library written in python
0.2.0-2 [debports]: m68k sh4

lenny더 이상 사용할 수 없는 이전 배포판을 사용하고 있습니다 .

안정적인 deb 패키지를 수동으로 다운로드하고
다음 링크에서 설치해 보세요.
https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=python-httplib2

다운로드 링크:
http://ftp.br.debian.org/debian/pool/main/p/python-httplib2/python-httplib2_0.11.3-2_all.deb

답변2

귀하는 Bullseye라는 코드명을 가진 Debian 11을 기반으로 하는 Kali Linux 2020.1을 사용하고 있으며 기본 Python 버전은 Python 3.8입니다. 터미널을 열고 다음을 입력하세요.

sudo apt update  
sudo apt install python2 ca-certificates python3-httplib2
cd ~
wget http://mirrors.kernel.org/ubuntu/pool/universe/p/python-httplib2/python-httplib2_0.14.0-1ubuntu1_all.deb  
sudo apt install ./python-httplib2_0.14.0-1ubuntu1_all.deb 

정말로 python-httplib2를 설치해야 합니까? Kali Linux 2020.1에서는 python-httplib2가 python3-httplib2로 업그레이드되었습니다.

관련 정보