1. added key
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null |sudo apt-key add -
2. added repository
U20:sudo apt-add-repository -r 'deb https://apt.kitware.com/ubuntu/ focal main'
U18:sudo apt-add-repository -r 'deb https://apt.kitware.com/ubuntu/ bionic main'
U20:sudo apt-add-repository -r 'deb https://apt.kitware.com/ubuntu/ focal-rc main'
U18:sudo apt-add-repository -r 'deb https://apt.kitware.com/ubuntu/ bionic-rc main'
3. update source list
sudo apt-get update
4. sudo apt install application=version
URI:https://apt.kitware.com/
标签:sudo,kitware,update,apt,version,https,ubuntu,com,software From: https://www.cnblogs.com/sciapex/p/18002587