Awn Extras:Installation
From AWN Wiki
Contents |
[edit] Installing Awn Extras
This is a guide for installing the applets from the Awn Extras project. It is preferred that you try out the #Binary Packages/Repositories first. If it doesn't work for you or your distribution isn't listed, then try #Building From Source. Note that this method assumes that you are comfortable using and navigating with the terminal.
[edit] Binary Packages/Repositories
[edit] Ubuntu
- The Awn Testing Team provides a package for the applets called awn-extras-applets-trunk. This package typically provides more applets than the packages that other repositories provide, including the official Ubuntu repository.
- reacocard provides a package for the applets called awn-core-applets-bzr.
- Ubuntu Intrepid is the first version of Ubuntu which provides packages for Awn Extras in the official repository.
[edit] Gentoo
- As of version 0.2.1, awn-extras is in the official portage repository:
emerge gnome-extra/avant-window-navigator-extras
- The desktop-effects overlay provides the awn-extras package which automatically installs from the latest development version (note that there are USE flags available):
emerge gnome-extra/avant-window-navigator-extras
[edit] Mandriva
- If installing from the /backports repository for Mandriva Linux 2008, or from any repository on Mandriva Linux 2008 Spring or later, you can also install the awn-extras-applets package.
[edit] openSUSE
- The Packman repository provides the awn-extras-applets package for openSUSE 10.3 only. It will be made available for openSUSE 10.2 as soon as possible. To install, run the following command in the terminal:
sudo zypper in awn-extras-applets
Alternatively, you can download the package manually.
[edit] Fedora
- The Fedora 8 updates repository contains the awn-extras-applets package.
yum install awn-extras-applets
[edit] ArchLinux
The ArchLinux repositories contain gnome, avant-window-navigator and awn-extras-applets packages.
To install them at once:
sudo pacman -S gnome avant-window-navigator awn-extras-applets
You may need python libraries as listed on Awn Extras:Dependency Matrix - Simply run
sudo pacman -Ss packagename
(Where packagename is the name of the library listed on Awn Extras:Dependency Matrix), and:
sudo pacman -S result
(Where result is the most related result from pacman -Ss packagename)
If someone finds out exactly what gnome and python libraries need to be installed, please list them in the matrix linked above.
[edit] Building From Source
[edit] Requirements
Here are the packages that are required to compile and install Awn Extras's applets, for a number of Linux distributions.
The dependencies have been moved into an easy-to-read dependency matrix.
[edit] Instructions
(Note: Colored, monospaced font boxes indicate that you need to run this in a terminal, unless otherwise noted)
As of version 0.2.1, there are two methods to get the source code for Awn Extras:
- Release versions are generally more stable.
- Development versions can have more features, but are considered to be more unstable.
The instructions for both methods are very similar, so it is clearly marked when the two deviate.
1.
| (Release) | (Development) |
|---|---|
| Download the source code from Launchpad. | Download the source repository via bzr:
bzr checkout lp:awn-extras awn-extras |
2. Change the directory to where the root directory of the applets:
cd awn-extras
3a. Make sure the build system can find all of the development files necessary. If you did not install avant-window-navigator into /usr , you will probably need to modify at least one environment variable. Run the following command:
pkg-config --modversion awn
If the output looks like this (Note: don't try to run this, it's an error message):
Package awn was not found in the pkg-config search path. Perhaps you should add the directory containing `awn.pc' to the PKG_CONFIG_PATH environment variable No package 'awn' found
then you need to run the following (where [PREFIX] is the prefix that you installed awn to, defaults to /usr/local):
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:[PREFIX]/lib/pkgconfig"
3b.
| (Release) | (Development) |
|---|---|
Configure the build system for the applets:
./configure It is strongly encouraged that you install the applets to the same directory as you did for avant-window-navigator. So, if you had installed it in a non-default location (/usr/local is the default), run the script like so: ./configure --prefix=[PREFIX] If you need to recompile the applets so that you can file a bug on them, you should instead run the script like so: CFLAGS="-ggdb" ./configure [configure flags] | Generate the build system's files (Note: this will also run ./configure for you):
./autogen.sh It is strongly encouraged that you install the applets to the same directory as you did for avant-window-navigator. So, if you had installed it in a non-default location (/usr/local is the default), run the script like so: ./autogen.sh --prefix=[PREFIX] If you need to recompile the applets so that you can file a bug on them, you should instead run the script like so: CFLAGS="-ggdb" ./autogen.sh [configure flags] |
4. Compile the applets:
make
5. Install the applets (Note: you may need to run this as root, via sudo or su):
make install
6. (Development only) To update your source tree so that you have the latest source code from the repository, run the following command:
bzr update
If you have added some changes to the tree (such as patches from the forums), you may have to revert the patches:
bzr revert
and then run bzr pull. Then, repeat steps 3b to 5.
[edit] Troubleshooting
- I'm getting errors during the make or make install sections! - Make sure the dependencies are present as listed in the Requirements section.

