I have a project in Laravel-5.1 and I have changed my platform from win10 to Ubuntu.
Showing error:
Loading composer repositories with package inf
A lot of good answers already for Ubuntu. I'm on Linux and had the same problem but none of the commands above worked for me.
With Linux and php70 I used the following command which worked great:
sudo yum install php70-mbstring -y