Guinea pigs living together
Female guinea pigs tend to be fairly easy to introduce to one another and can often live in large groups with no issues. Males can live together but there is more chance of them arguing. Having said that, it is still possible to introduce adult males together.
A neutered male with one or more female works very well, as does groups of females without a neutered male. With males, we tend to only advise keeping them in pairs as this limits arguments. Groups of males tend to be the least stable grouping of guinea pigs.
Introducing guinea pigs together
When introducing guinea pigs together, we also advise doing this in a neutral space, somewhere they can interact but also hide if needed and with lots of distractions such as tasty food scattered. We always add in a large tube that they can hide in if needed, but that they can also get out of easily.
Females usually bond very quickly but males may take several attempts. In some cases, mainly males, guinea pigs won't accept company. In this situations, we advise having the male castrated so he can live with females. I've never known a neutered male and female pairing to not be successful.