update apt in ubuntu code example Example: update linux command # "To update Linux type:" sudo apt-get update # Enter your user's password.