Get source and compile
Even if you don't plan to develop, just the act of downloading and compiling can uncover problems. If the version you download doesn't build on your platform, file a bug.
Getting the source
Linden Labs distributes the viewer source code on the source downloads page. Linden Labs currently does not yet provide public access to a version control repository. However, there are other websites that do host repositories.
Official Downloads
Linden Lab does provide current and past downloads in an archived format, see the source downloads page.
Version Control
Linden Lab also maintains a version control repository. See the version control repository page for more details.
Compiling
Per platform instructions are available for the following platforms:
- Microsoft Windows - Visual Studio 2005 & Visual C++ 2005 Express
- Microsoft Windows - Visual Studio .NET 2003
- Microsoft Windows - Cross compiling on Linux
- Mac OS X
- Linux
- FreeBSD
See Common compilation problems if you run into errors while building.
See Improving compilation time for information on how to compile faster