I think the best way to get a hug from someone you know very well is to just ask them if you can have a hug. Most often, you will have to initiate the hug. If it someone you don't know very well, that probably wouldn't be appropriate. But, again, the best way with people you're intimate with is just to ask. Good luck with getting some hugs IRL. Here's a virtual hug: