본문 바로가기
Security/Kali Linux로 리눅스 기초 배우기

kali Linux에 Ubuntu 레포지터리 추가

by 계영수 2023. 7. 22.
728x90

/etc/apt 폴더의 sources.list 파일 수정

아래의 링크를 방문하여 Ubuntu 레포지터리 정보를 복사한다.

우분투 레포지터리

sources.list 파일을 백업하고, 우분투 레포지터리 내용을 추가한다.

# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

우분투 키 다운로드하기

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C

apt update 하기 (업데이트 용량이 크기 때문에 오래 걸림)

sudo apt update

Snort 설치하기

┌──(kali㉿kali)-[/etc/apt]
└─$ sudo apt-get install snort                                                    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libdaq2 libestr0 libfastjson4 liblognorm5 oinkmaster rsyslog snort-common snort-common-libraries snort-rules-default
Suggested packages:
  rsyslog-mysql | rsyslog-pgsql rsyslog-mongodb rsyslog-doc rsyslog-openssl | rsyslog-gnutls rsyslog-gssapi rsyslog-relp snort-doc
The following NEW packages will be installed:
  libdaq2 libestr0 libfastjson4 liblognorm5 oinkmaster rsyslog snort snort-common snort-common-libraries snort-rules-default
0 upgraded, 10 newly installed, 0 to remove and 745 not upgraded.
Need to get 2,244 kB of archives.
After this operation, 9,614 kB of additional disk space will be used.
Do you want to continue? [Y/n]
728x90

'Security > Kali Linux로 리눅스 기초 배우기' 카테고리의 다른 글

Kali Linux - 네트워크  (0) 2023.07.25
Kali Linux Text Editor(02)  (0) 2023.07.25
리눅스에서 소프트웨어 추가 삭제  (0) 2023.07.24
Kali Linux - Text Editor(01)  (0) 2023.07.24
Kali Linux 설치  (0) 2023.07.20