You asked
Would a longer micro four thirds lens be better than the 25mm for portraits on an olympus pen e pl7?
Here is what the site says about that.
From Olympus PEN E-PL7: Olympus PEN E-PL7: A mirrorless camera by Olympus with a 16.1-megapixel Micro Four Thirds sensor, announced in 2014. The first PEN with a flip-down selfie screen. Specs - Maker: Olympus - Mount: Micro Four Thirds - Sensor: Micro Four Thirds, 17.3 x 13mm, crop factor 2.0 - Resolution: 16.1 megapixels - Stabilisation: in the body - Announced: 2014 - Type: mirrorless camera Focal lengths on it Lenses frame like 2.0 times their focal ...
From Focal length converter: Ask it: The converter also answers questions at /ask/: try /ask/what-is-25mm-on-micro-four-thirds-in-full-frame, or name a camera, as in /ask/56mm-on-the-fujifilm-x-t5-full-frame-equivalent. Every camera in the gear catalogue knows its sensor size.
Quoted from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.