Heat oil in frypan hen brown onions and garlic until soft. Add tomato paste and peeled tomatoes then stir until mixed. Add salt, pepper and basil then add water, cover and let simmer for 20 minutes until sauce thickens.
While the sauce is simmering, cook spaghetti in salted boiling water as directed. Drain and mix with sauce in a large serving dish.