This question is an exact duplicate of:
I am on an Acer Aspire V15 Nitro, and I have two hard drives; One has Windows, but is not big enough for anything other than it (128GB SSD) and on a separate 2TB HDD I have grub installed, so I can choose an operating system to run. I have Kali Linux on the 2TB SSD, and from the start I have had problems with it, but I'm focusing on the apt-get command for the terminal. I was trying to install Steam, and it was displaying an error message every time I tried a command that worked for everyone else.
In my stupidity, I successfully deleted apt-get, but the link where I was supposed to download the files from was old and was no longer there. So I was left without an apt-get, apt, or aptitude command, and everything I searched up was about downloading things WITH apt-get, not re-installing it.
In summary, I have Kali Linux but I have no apt-get command because I deleted the files.
UPDATE: I have found a Git Hub clone of all the files I think I need, not sure which ones I need to download and install though. When I run "apt" or "apt-get", I get the error message:
apt: relocation error: /usr/lib/x86_64-linux-gnu/libaptprivate.so.0.0: symbol _ZlsRSoRKN3APT9PrettyPkgE, version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
And I checked the directory /lib/x86_64-linux-gnu and I found two files for "/usr/lib/x86_64-linux-gnu/libaptprivate.so.0.0", which were the same except for an extra ".0" at the end of the second. Any idea what "symbol _ZlsRSoRKN3APT9PrettyPkgE, version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference" could mean?