As a noun pub
is a public house where beverages, primarily alcoholic, may be bought and consumed and also provides food and sometimes entertainment, normally television viewing or
pub can be a publication.
As a verb pub
is to go to one or more public houses or
pub can be (informal|transitive) to publish.
As an initialism opt is
.