The northern regions have the environment and living patterns of the desert. Egypt, Libya, Algeria, and Morocco have hot, dry climates with very little land suited to farming. Therefore,the population tends to be clustered into cities along rivers or the seacoast or into smaller settlements near oases. For thousands of years, people have lived in the vast region, subsisting partly on what crops and animals they could raise and partly on trade with Europe.