When I try to install any package through the command line, I get an error E: Unable to locate package composer.
Error :-
E: Unable to locate package composer
Solutions:-
sudo apt update
apt install composer
Now installed successfully.