Check out example codes for "change mysql version to 5.7 in ubuntu". It will help you in understanding the concepts better.

Code Example 1

sudo apt install linuxbrew-wrapper
 brew install [email protected]

Learn ReactJs, React Native from akashmittal.com