reinstall ubuntu from terminal code example
Example 1: uninstall redis ubuntu terminal
apt-get purge --auto-remove redis-servers
# check if the package is present or not
apt-cache policy redis-server
Example 2: ubuntu install wine terminal
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386