Removing DIP Package from socket
People will probably disagree, but I just use a screwdriver, its all about going slowly. I use a flat head, slip it between the chip and the socket then twist it slightly, then change ends and do the same, if you go in small increments you will be fine. Don't just try and do it all from one end.
There's really pesky cheap "IC extractors" that work worse than simple screwdrivers, and then there's these things, that I never cared to buy because I never had many ICs to remove from sockets, so I don't know how well it works:
https://www.jensentools.com/ok-industries-ex2-dip-extractor-for-24-to-40-pin-wide-body-chips/p/606mi026
I'm sure they're available through different channels, but they do look like they would help lift something very straight.
EDIT Peter says below it works well.
With the power off, use a fine-bladed screwdriver. Start at one end and lever that end up just a bit. Go to the other end and lever it up a bit further. Alternate ends and eventually it will come free.