dir2ogg is a GPL'ed python script which converts mp3, m4a, wma, and wav files into ogg-vorbis format. It can preserve tags found in the input file where supported. It was inspired by the perl script mp32ogg, but supports much more features these days. (Not so) new in dir2ogg is the install.sh script, which automates installation of the script. You should only use this if you have root access to the computer you are attempting to install dir2ogg on. If you do not have root access then you will have to use dir2ogg from your home directory (perhaps you have a /home/username/bin directory?).