how to get ubuntu version for repo add from terminal code example Example: add-apt-repository sudo apt-get install software-properties-common