Skip to content

Instantly share code, notes, and snippets.

@directentis1
Last active July 7, 2023 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save directentis1/486bf0f995bb938a7d4fcdec8e96a22e to your computer and use it in GitHub Desktop.
Save directentis1/486bf0f995bb938a7d4fcdec8e96a22e to your computer and use it in GitHub Desktop.
convert rpm packages from its website to debian format and install it using apt or apt-get
#!/usr/bin/bash
# Install conversion tool
sudo apt-get install alien -yqq --no-install-recommends
# Convert npm packages to debian packages
cd nmap_rpms
sudo alien *.rpm
# Installing them with apt/apt-get
sudo apt install ./*.deb -yqq --no-install-recommends
# And clean up what's left over
cd .. && rm -rf nmap_rpms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment