$ sudo port selfupdate && sudo port upgrade outdated
$ brew update

$ sudo aptitude update && sudo aptitude safe-upgrade
$ sudo apt update && sudo apt upgrade -y

$ opam update && opam upgrade

$ sudo gem update