I was doing some stuff on my Ubuntu PC, when I did
sudo apt-get autoremove tar
and messed up my computer. I apparently wanted to reinstall tar, but instead removed it thinking I would install it after it is removed. This was a mistake and I regret doing it.
Now, I can hardly do anything with tar not installed in my computer. I can't install any packages using
apt-get, neither can I install packages using
dpkg. I tried downloading a
.deb file of tar and installing it in my computer using
dpkg, but as I said I couldn't do that either.
I can't install tar using
apt-get either, so I couldn't figure out how to install tar in my computer again.
I tried searching on websites including AU, but couldn't find a solution to this.
How can you install tar without having tar installed in your computer? (solutions with apt-get, dpkg etc will not work) I'm on Ubuntu 14.04 LTS.