Option 1: How to set my own LANG and LC_ALL/LC_CTYPE variables
Create a new file
sudo vi /etc/profile.d/my-custom.lang.sh
## US English##
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_COLLATE=C
export LC_CTYPE=en_US.UTF-8
Then run the command
source /etc/profile.d/my-custom.lang.sh
Option 2: Use localectl command
sudo localectl set-locale LANG=en_US.UTF-8
To test, simple run
yum update
