Last active
July 7, 2023 08:35
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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