unable to locate package exploit db code example

Example: how to install searchsploit in kali linux

Method 2021 Kali Linux Live: 
how to install searchsploit in kali linux 

Install
kali@kali:~$ sudo apt update && sudo apt -y install exploitdb

Update
kali@kali:~$ searchsploit -u
kali@kali:~$ sudo apt update && sudo apt -y full-upgrade
 
Search exploit
searchsploit -t pastehereexploittitle

Searc exploit path:
searchsploit -p nameexploit

Run Exploit
python 48506.py http://10.10.10.198:8080/

For Help
searchsploit -h

Source
https://www.exploit-db.com/searchsploit