# copy and paste these 3 lines below to the terminal and press enter
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
pip3 install thefuck --user
# then add the following line of code to your .bashrc or .bash_profile or .zshrc file
eval $(thefuck --alias)
eval $(thefuck --alias FUCK)
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck