home download get support documentation weaver games

How To Install Weaver

Running Weaver without Instalation

If you wish to run weaver in a machine where you don't have the root password or don't want to install the framework, you can just download the source code, unpack it:

      tar -xjf weaver-0.2.tar.bz2
      cd weaver

and execute the weaver script inside the weaver directory or add the source directory in your PATH variable. Just keep the source directory structure intact.

Installing from the .DEB Package

The easiest way to install Weaver is downloading the DEB pachage here.

If your GNU/Linux distribution supports DEB packages, clicking in the package will open a new window. Then, click in the button "Install Package" and it's done. In some distribuions, there's no way to install DEB packages graphically, so you should use the following command (as root) in the command line:

      dpkg -i weaver-0.2.deb

Installing from the Source

First install all the dependencies. If you use Debian or some derived distro (like Ubuntu), this can be done with the command:

apt-get install libx11-dev libvorbis-dev libasound2-dev libpng12-dev libfreetype6-dev libxext-dev

Then, get the last Weaver stable version:

weaver-0.2.tar.bz2 (554KB)

Unpack the file and install Weaver with the following commands ("make install" must be run as root):

tar -xjf weaver-0.2.tar.bz2
cd weaver
make install

The output should be something like this:

Testing dependencies...
Testing X11 libraries.....OK
Testing Math libraries....OK
Testing Vorbis libraries..OK
Testing ALSA libraries....OK
Testing PNG libraries.....OK
Your system is ready to host Weaver.
install -D -m 0755 weaver /usr/bin/weaver
install -d src/images /usr/share/weaver/images
install -D -m 0644 src/LICENSE /usr/share/weaver/LICENSE
install -D -m 0644 src/Makefile /usr/share/weaver/Makefile
install -d src/sound /usr/share/weaver/sound
install -d src/src /usr/share/weaver/src
install -D -m 0644 src/src/game.{c,h} /usr/share/weaver/src
install -d src/src/weaver /usr/share/weaver/src/weaver
install -D -m 0644  src/src/weaver/*.{c,h} /usr/share/weaver/src/weaver
Weaver Framework was installed with success.

It's done! Weaver is installed in your system! :-)

XHTML 1.1 válido! CSS válido!