Skip to content
TheChatArchiveThe Chat Archive
gpt-4-0314· OpenAIAi2 WildChat-4.8M (AI2)

"apt install libssl-dev Reading package lists... Done Building dependency tree... Done…

  1. User

    "apt install libssl-dev
    Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libssl-dev"

    What am i doying wrong? How to install libssl-dev on kali

  2. Assistant

    It seems that your package list is not updated. Try updating the package list first and then install the package.

    1. Update the package list by running the following command:
    sudo apt update
    
    1. Then, try to install libssl-dev again:
    sudo apt install libssl-dev
    

    If you still face the same issue, it's possible that the package is not available in your current repository. To fix this, you can add the Kali Linux official repositories.

    1. Open the /etc/apt/sources.list file using a text editor, like nano:
    sudo nano /etc/apt/sources.list
    
    1. Add the following lines to the file:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib
    
    1. Save the file and exit the editor.

    2. Update the package list again:

    sudo apt update
    
    1. Finally, try to install libssl-dev:
    sudo apt install libssl-dev
    

    This should work and allow you to successfully install the libssl-dev package.

  3. User

    hcxdumptool: unrecognized option '--enable_status=15'

  4. Assistant

    It seems that you are using an older version of hcxdumptool which does not support the --enable_status option. To fix this, you should update the hcxdumptool to the latest version.

    Here's how to do this:

    1. First, remove the current version of hcxdumptool:
    sudo apt remove hcxdumptool
    
    1. Install the required dependencies for building the latest hcxdumptool:
    sudo apt install libssl-dev libcurl4-openssl-dev libpcap-dev pkg-config
    
    1. Clone the latest version of hcxdumptool from the GitHub repository:
    git clone https://github.com/ZerBea/hcxdumptool.git
    
    1. Navigate to the hcxdumptool directory:
    cd hcxdumptool
    
    1. Compile and install hcxdumptool:
    make
    sudo make install
    

    Now, you should have the latest version of hcxdumptool installed. The --enable_status=15 option should work with this version.

  5. User

    what year the last version is?

  6. Assistant

    The last version of hcxdumptool was last updated in 2021. To find the specific date of the last update, you can visit the GitHub repository at https://github.com/ZerBea/hcxdumptool and check the latest commit date. Note that this information can change as new updates are made to the repository.

  7. User

    how do i git clone the older version of hcxdumptool?

  8. Assistant

    To clone an older version of hcxdumptool, you can follow these steps:

    1. Clone the repository:
    git clone https://github.com/ZerBea/hcxdumptool.git
    
    1. Navigate to the hcxdumptool directory:
    cd hcxdumptool
    
    1. List all the available tags (versions) in the repository:
    git tag
    

    This will show you a list of tags, representing different versions of the project. Find the version you want to use.

    1. Checkout the specific version/tag you want. Replace <version> with the desired version you found in step 3:
    git checkout tags/<version>
    

    For example, if you want to checkout version 6.0.2, use the following command:

    git checkout tags/6.0.2
    
    1. After checking out the desired version, compile and install hcxdumptool:
    make
    sudo make install
    

    Now, you should have the older version of hcxdumptool installed on your system.

  9. User

    after step 3 it displays all version and at the end it says "END" and i cant do anything

  10. Assistant

    I apologize for the confusion. It seems like you are in a pager program like less or more. You can press 'q' to quit the pager and return to the command line.

    To avoid this issue and directly display the list of available tags, you can use the following command:

    git tag | cat
    

    This command pipes the output of git tag to cat which then prints the list directly to the terminal without using any pager program. After running this command, find the version you want to use and proceed with the rest of the steps mentioned earlier.

  11. User

    i typed make and make install and it says "install -m 0755 -D hcxpioff /usr/local/bin/hcxpioff install -m 0755 -D hcxdumptool /usr/local/bin/hcxdumptool rm -f hcxpioff rm -f hcxdumptool rm -f *.o *~"

    is hasnt downgraded to older version

  12. Assistant

    My apologies for the confusion earlier. It's possible that the older version is still installed in your path. Please follow these steps to uninstall the current version of hcxdumptool and then install the older version:

    1. Uninstall the current version:
    sudo make uninstall
    
    1. Verify that the current version has been uninstalled with:
    which hcxdumptool
    

    If the command responds with a path, use the following command to remove the remaining binary:

    sudo rm $(which hcxdumptool)
    
    1. Now clean the existing build files using:
    make clean
    

    You should now be ready to build and install the older version of hcxdumptool as described previously:

    git checkout tags/<version> # Replace <version> with the desired tag
    make
    sudo make install
    

    After following these steps, run hcxdumptool -v to verify that the desired version has been installed successfully.