The stamp with the portrait overprint is also Peruvian, this time from 1894.
I think the first one is a Spanish charity label "for orphans of the post office".
Here's a link to a previous discussion here with some more examples:
https://goscf.com/t/14250