I have installed CentOS. I want to remove bzip2, so I enter this command in the shell:
yum remove bzip2 bzip2-libs
Then nearly 500 packages were removed and I can't enter any command. For example:
ls -bash: /bin/ls no such file or directory
How can I re-install the lost packages?