Here are instructions grouped according to the version of Ubuntu you are running.
== Maverick (10.10) with Ubuntu packages ==
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply
* [[Setting up TeXworks]]
* [[Using LuaTeX in Ubuntu]]
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option for advanced users is...
== Maverick (10.10) with ConTeXt Minimals ==
Example of setting up [ConTeXt Minimals]:
$ sudo mkdir /usr/local/context
$ sudo chown yourusername /usr/local/context
$ cd /usr/local/context
$ wget http://minimals.contextgarden.net/setup/first-setup.sh
$ sh first-setup.sh
$ vi ~/.bashrc
Add:
export OSFONTDIR=~/.fonts:/usr/share/fonts
export TEXROOT=/usr/local/context/tex
export PATH=/usr/local/context/tex/texmf-linux/bin:/usr/local/context/bin:$PATH
Note that the order of items in the PATH is significant. If you put /usr/local/context/bin in the path first, you will get an error at run time.
== Gutsy (7.10) ==