Installing Cinnamon desktop on Arch Linux

So what’s the big deal!! I have had a look at the ArchWiki and it says very little about the detail procedure..so I have tried to show the detail thing in this post to get thing going 🙂

So here we go :


step 1 :
bhaskar@ArchLinux_11:39:10_Thu Feb 23:~/Downloads> cd cinnamon

bhaskar@ArchLinux_11:39:14_Thu Feb 23:~/Downloads/cinnamon> ls
cinnamon.install cinnamon.session cinnamon.xsession gnome-session-cinnamon PKGBUILD

bhaskar@ArchLinux_11:39:15_Thu Feb 23:~/Downloads/cinnamon> makepkg -s
==> Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:39:22 IST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: muffin-git
==> ERROR: 'pacman' failed to install missing dependencies.

bhaskar@ArchLinux_11:40:08_Thu Feb 23:~/Downloads/cinnamon> cd ..

bhaskar@ArchLinux_11:41:30_Thu Feb 23:~/Downloads> tar -xvzf muffin-git.tar.gz
muffin-git/
muffin-git/muffin.install
muffin-git/PKGBUILD

bhaskar@ArchLinux_11:41:37_Thu Feb 23:~/Downloads> cd muffin-git

bhaskar@ArchLinux_11:41:39_Thu Feb 23:~/Downloads/muffin-git> ls
muffin.install PKGBUILD

bhaskar@ArchLinux_11:41:40_Thu Feb 23:~/Downloads/muffin-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: muffin-git 20120223-1 (Thu Feb 23 11:41:45 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (2): gnome-doc-utils-0.20.6-1 intltool-0.50.1-1

Total Download Size: 0.33 MiB
Total Installed Size: 4.01 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
intltool-0.50.1-1-any 38.1 KiB 42.7K/s 00:01 [#####################################################################] 100%
gnome-doc-utils-0.20.6-1-any 298.8 KiB 206K/s 00:01 [#####################################################################] 100%
(2/2) checking package integrity [#####################################################################] 100%
(2/2) loading package files [#####################################################################] 100%
(2/2) checking for file conflicts [#####################################################################] 100%
(2/2) checking available disk space [#####################################################################] 100%
(1/2) installing intltool [#####################################################################] 100%
(2/2) installing gnome-doc-utils [#####################################################################] 100%
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'muffin'...
remote: Counting objects: 511, done.
remote: Compressing objects: 100% (360/360), done.
remote: Total 511 (delta 230), reused 424 (delta 143)
Receiving objects: 100% (511/511), 2.68 MiB | 127 KiB/s, done.
Resolving deltas: 100% (230/230), done.
==> GIT checkout done or server timeout
==> Starting build...
Cloning into '/home/bhaskar/Downloads/muffin-git/src/muffin-build'...
done.
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
src/Makefile.am:233: filter %.c,$(libmuffin_la_SOURCES: non-POSIX variable name
src/Makefile.am:233: (probably a GNU make extension)
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
.......

.....

==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing libtool files...
-> Removing empty directories...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: muffin-git 20120223-1 (Thu Feb 23 11:43:51 IST 2012)

Step 2:

bhaskar@ArchLinux_11:46:02_Thu Feb 23:~/Downloads/muffin-git> sudo pacman -U muffin-git-20120223-1-i686.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): muffin-git-20120223-1

Total Installed Size: 7.35 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing muffin-git [#####################################################################] 100

Step 3:

bhaskar@ArchLinux_11:47:03_Thu Feb 23:~/Downloads/cinnamon> makepkg -s
==> Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:47:08 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-common-2.34.0-1

Total Download Size: 0.01 MiB
Total Installed Size: 0.04 MiB

Proceed with installation? [Y/n]

y
:: Retrieving packages from extra...
gnome-common-2.34.0-1-any 8.4 KiB 42.5K/s 00:00 [#####################################################################] 100%
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing gnome-common [#####################################################################] 100%
==> Retrieving Sources...
-> Found cinnamon.session
-> Found cinnamon.xsession
-> Found gnome-session-cinnamon
==> Validating source files with md5sums...
cinnamon.session ... Passed
cinnamon.xsession ... Passed
gnome-session-cinnamon ... Passed
==> Extracting Sources...
==> Starting build()...
--2012-02-23 11:47:42-- https://github.com/linuxmint/Cinnamon/tarball/1.3.1
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1 [following]
--2012-02-23 11:47:43-- https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1
Resolving nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2401810 (2.3M) [application/octet-stream]
Saving to: `cinnamon.tar.gz'

==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing libtool files...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon 1.3.1-1 (Thu Feb 23 11:49:29 IST 2012)

Step 4:

bhaskar@ArchLinux_11:50:43_Thu Feb 23:~/Downloads/cinnamon> sudo pacman -U cinnamon-1.3.1-1-i686.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-1.3.1-1

Total Installed Size: 6.08 MiB

Proceed with installation? [Y/n] y

(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon [#####################################################################] 100%
To abilitate Cinnamon you can also assign to session-name
key in org.gnome.desktop.session the value cinnamon

Step 5:

bhaskar@ArchLinux_11:55:03_Thu Feb 23:~/Downloads> tar -xvzf cinnamon-extensions-git.tar.gz
cinnamon-extensions-git/
cinnamon-extensions-git/cinnamon-weather-config.desktop
cinnamon-extensions-git/PKGBUILD
cinnamon-extensions-git/cinnamon-extensions-git.install

bhaskar@ArchLinux_11:55:13_Thu Feb 23:~/Downloads> cd cinnamon-extensions-git

bhaskar@ArchLinux_11:55:18_Thu Feb 23:~/Downloads/cinnamon-extensions-git> ls
cinnamon-extensions-git.install cinnamon-weather-config.desktop PKGBUILD

bhaskar@ArchLinux_11:55:20_Thu Feb 23:~/Downloads/cinnamon-extensions-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:25 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found cinnamon-weather-config.desktop
==> Validating source files with md5sums...
cinnamon-weather-config.desktop ... Passed
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'cinnamon-extensions'...
remote: Counting objects: 98, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 98 (delta 23), reused 98 (delta 23)
Receiving objects: 100% (98/98), 27.34 KiB, done.
Resolving deltas: 100% (23/23), done.
==> GIT checkout done or server timeout
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:31 IST 2012)

Step 6:

bhaskar@ArchLinux_11:56:04_Thu Feb 23:~/Downloads/cinnamon-extensions-git> sudo pacman -U cinnamon-extensions-git-20120223-1-any.pkg.tar.xz
Password:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-extensions-git-20120223-1

Total Installed Size: 0.16 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon-extensions-git [#####################################################################] 100%

Step 7:

bhaskar@ArchLinux_11:57:22_Thu Feb 23:~/Downloads/cinnamon-themes-git> makepkg -s
==> Determining latest git revision...
-> Version found: 20120223
==> Making package: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:57:27 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'cinnamon-themes'...
remote: Counting objects: 629, done.
remote: Compressing objects: 100% (440/440), done.
remote: Total 629 (delta 205), reused 588 (delta 164)
Receiving objects: 100% (629/629), 12.80 MiB | 196 KiB/s, done.
Resolving deltas: 100% (205/205), done.
==> GIT checkout done or server timeout
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:59:08 IST 2012)

Step 8:

bhaskar@ArchLinux_11:59:51_Thu Feb 23:~/Downloads/cinnamon-themes-git> sudo pacman -U cinnamon-themes-git-20120223-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): cinnamon-themes-git-20120223-1

Total Installed Size: 18.32 MiB

Proceed with installation? [Y/n] y

(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) installing cinnamon-themes-git [#####################################################################] 100%

Now it’s look like below:

Hope this will help.

Cheers!
Bhaskar

Installing Drupal in Gentoo

So,I have stumbled over a page here ,which basically suggest that the installation was problematic. So I decided to plunge into it to have a crack on it.

My Gentoo system has prohibit me too..here are the interaction with my system:

bhaskar@GentooLinux_13:41:15_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "drupal" have been masked.
!!! One of the following masked packages is required to complete your request:
dev-lang/php pdo gd mysql mysqli xml
- www-apps/drupal-7.12::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-7.10::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-6.24::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-6.22::gentoo (masked by: ~x86 keyword)
- www-apps/drupal-5.23::gentoo (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


bhaskar@GentooLinux_13:41:39_Thu Feb 09:~> sudo vim /etc/portage/package.keywords/druapl.keywords


bhaskar@GentooLinux_13:44:54_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:
dev-lang/php pdo gd mysql mysqli xml apache2

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/php[pdo,postgres?,sqlite?,xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.9::gentoo (Change USE: +pdo)
(dependency required by "www-apps/drupal-7.12" [ebuild])
(dependency required by "drupal" [argument])


bhaskar@GentooLinux_14:02:29_Thu Feb 09:~> sudo vim /etc/portage/package.use/php.use


bhaskar@GentooLinux_14:04:01_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "=dev-lang/php-5.3*[apache2]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.9::gentoo (Change USE: +apache2)
(dependency required by "virtual/httpd-php-5.3" [ebuild])
(dependency required by "www-apps/drupal-7.12" [ebuild])
(dependency required by "drupal" [argument])


bhaskar@GentooLinux_14:04:27_Thu Feb 09:~> sudo emerge -av drupal

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-libs/oniguruma-5.9.2 528 kB
[ebuild N ] app-admin/webapp-config-1.50.16-r1 102 kB
[ebuild N ] dev-libs/libmcrypt-2.5.8-r2 1,304 kB
[ebuild N ] app-admin/eselect-php-0.6.2 2 kB
[ebuild N ] media-libs/t1lib-5.1.2 USE="X -doc -static-libs" 1,829 kB
[ebuild N ] virtual/httpd-cgi-0 0 kB
[ebuild N ] app-text/aspell-0.60.6.1 USE="nls" LINGUAS="-af -be -bg -br -ca -cs -cy -da -de -el -en -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 1,835 kB
[ebuild N ] app-dicts/aspell-en-6.0.0 179 kB
[ebuild N ] dev-lang/php-5.3.9 USE="apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter gd gdbm hash iconv ipv6 json ldap mysql mysqli nls pdo phar posix readline session simplexml spell ssl tokenizer truetype unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm -frontbase -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -sockets -sqlite -sqlite3 -suhosin -sybase-ct -sysvipc -threads -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 11,438 kB
[ebuild N ] virtual/httpd-php-5.3 0 kB
[ebuild N ~] www-apps/drupal-7.12 USE="mysql -postgres -sqlite -vhosts" 3,017 kB

Total: 11 packages (11 new), Size of downloads: 20,229 kB

Would you like to merge these packages? [Yes/No] y

On the process to get it into my system I have added it keywords file and made some flags to add with the php .

First I have added a file drupal.keywords in /etc/portage/package.keywords and the content of the file look like this :


www-apps/drupal ~x86
~

Then, I have added another file as php.use in /etc/portage/package.use and the content of the file is like this :


dev-lang/php pdo gd mysql mysqli xml apache2

Look at the flags I have added to emerge php to integrate with others.Then I started to emerge the drupal.

Once the emerge complete; it look like below:

* Messages for package dev-lang/php-5.3.9:

* Installing php.ini for cli into /etc/php/cli-php5.3
*
* Installing php.ini for apache2 into /etc/php/apache2-php5.3
*
* Make sure that PHP_TARGETS in /etc/make.conf includes php5-3 in order
* to compile extensions for the 5.3 ABI
*
*
* This ebuild installed a version of php.ini based on php.ini-development version.
* You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either
* 'production' or 'development' in /etc/make.conf
* Both versions of php.ini can be found in /usr/share/doc/php-5.3.9
*
* For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:
* http://www.gentoo.org/proj/en/php/php-upgrading.xml
*

* Messages for package www-apps/drupal-7.12:

* (server owned) htdocs/files
* (server owned) htdocs/sites/default
* (server owned) htdocs/sites/default/settings.php
* (config) htdocs/sites/default/settings.php
* (config) htdocs/.htaccess
* (info) /usr/portage/www-apps/drupal/files/postinstall-en.txt (lang: en)
*
* SECURITY NOTICE
* If you plan on using SSL on your Drupal site, please consult the postinstall information:
* # webapp-config --show-postinst drupal 7.12
*
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* Regenerating GNU info directory index...
* Processed 135 info files.

Now we need put the required thing right place like below is way to do it:

bhaskar@GentooLinux_14:52:16_Thu Feb 09:~> sudo webapp-config -I -h GentooLinux.localdomain drupal 7.12
*
* You may be installing into the website's root directory.
* Is this what you meant to do?
*
* Creating required directories
* Linking in required files
* This can take several minutes for larger apps
* Files and directories installed

=================================================================
POST-INSTALL INSTRUCTIONS
=================================================================

You will need to provide a database for your drupal installation.

This assumes you have some knowledge of MySQL, and already have it
installed and configured. If not, please refer to the Gentoo MySQL
guide at the following URL:

http://www.gentoo.org/doc/en/mysql-howto.xml

Once you have a database ready all you need to do is to go to this
location

http://GentooLinux.localdomain//

and provide the credential required for the database access.

SECURITY NOTICE: If you use SSL on your Drupal installation, you
should enable the PHP configuration option 'session.cookie-secure'
to make it harder for attackers to sniff session cookies.

References:
CVE-2008-3661
http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
http://drupal.org/node/315703

After that you can start to use drupal.

=================================================================

* Install completed - success

So, what left? the database..lets do it:


bhaskar@GentooLinux_15:05:43_Thu Feb 09:~> sudo mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.61-log Gentoo Linux mysql-5.1.61

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+
3 rows in set (0.02 sec)

mysql> create database drupal;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| drupal |
| mysql |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> INSERT INTO user (host, user, password, select_priv, insert_priv, update_priv) VALUES ('GentooLinux', 'drupal', PASSWORD('drupal'), 'Y', 'Y', 'Y');
Query OK, 1 row affected, 3 warnings (0.00 sec)

mysql> use drupal;
Database changed
mysql>
mysql> GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'drupal';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH privileges;
Query OK, 0 rows affected (0.00 sec)

We are almost there!! let’s get into the browser for installation:

Now let’s get into the CMS:

Installing Drupal shell a.k.a drush

bhaskar@GentooLinux_20:30:51_Thu Feb 09:~> sudo emerge -av drush
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "drush" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/drush-4.4::gentoo (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Hmmm.. problem..let add the keyword file into the system:

bhaskar@GentooLinux_20:31:04_Thu Feb 09:~> sudo vim /etc/portage/package.keywords/drush.keywords

and the content is this :

app-admin/drush ~x86

Let’s try to merge it into the system:


bhaskar@GentooLinux_20:35:49_Thu Feb 09:~> sudo emerge -av drush

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-php/PEAR-PEAR-1.9.3 289 kB
[ebuild N ] dev-php/PEAR-Structures_Graph-1.0.4 30 kB
[ebuild N ] dev-php/PEAR-Console_Getopt-1.3.1 5 kB
[ebuild N ] dev-php/PEAR-Archive_Tar-1.3.7 18 kB
[ebuild N ] dev-php/PEAR-XML_Util-1.2.1-r2 18 kB
[ebuild N ] dev-php/pear-1.9.3 0 kB
[ebuild N ~] app-admin/drush-4.4 USE="-examples" 248 kB

Total: 7 packages (7 new), Size of downloads: 605 kB

Would you like to merge these packages? [Yes/No] yes

So it installed in the system:

bhaskar@GentooLinux_20:39:15_Thu Feb 09:~> whereis drush
drush: /usr/bin/drush /usr/share/drush

For using drush from the command line look here for my earlier post about it.

Hope this will help.

Cheers!
Bhaskar