We're going to use a tool called vorbiscomment to tag our OGG files. This tool is provided with vorbis-tools package on my distro (Debian).. it should be provided on your distro in a package of the same or similar name.

Now to start with vorbiscomment we'll run the command

vorbiscomment sample.ogg
on the sample.ogg file I've provided. Our output should look like this
COMMENT=Processed by SoX
because I used the sox application to convert sample.mp3 to sample.ogg (we'll see more about this later) Now we'll add more valid tag information to our file using the command
vorbiscomment -a -t "TITLE=Arrive" -t "ARTIST=Gaim Developers" -t "GENRE=Sound Clip" sample.ogg
Now we'll use the above command again to view the tag and our output should look like this
COMMENT=Processed by SoX
TITLE=Arrive
ARTIST=Gaim Developers
GENRE=Sound Clip