I’ve installed trivy version 0.18.3 and want to uninstall and upgrade to the latest version. but I’m not able to find the exact command to do so.
sudo apt-get install wget apt-transport-https gnupg lsb-release
wget -qO – https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg –dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null
echo “deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main” | sudo tee -a /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy
Doing this still did not upgrade the latest trivy version
Srujan Dinesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.