I just tried to update using
apt-get command and it shows
bash: apt-get: command not found
And my sources.list is always empty although i add the repositories.
I use Kali Linux
I have no idea what to do.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
The latest version of Kali Linux is based on Debian testing. On Kali rolling the apt version is 1.6~alpha3. Go to the Debian -- package search results -- apt webpage and manually download the apt package that matches the architecture of your Kali Linux (e.g. amd64). When you click the architecture link it will take you to a download page where you can choose a download mirror that is close to your physical location.
Then install the apt package from the terminal using a command of the form:
sudo dpkg -i <package-name-of-downloaded-apt>