If you want to remove a user from your Linux system,you may also want to erase the home directory completely.

To delete a user as well as the home directory,you can use this command in terminal window:

sudo deluser --remove-home username_here

If you have deleted the user,you can delete its home directory by typing:

sudo rm -r /home/username