No, you do not necessarily need to have a general anaesthetic.  For an inguinal hernia, an open repair can be performed in most instances under local anaesthetic, if you prefer. The laparoscopic technique does require a general anaesthetic.