6 de diciembre de 2006

Crear Paquete AMSN 0.96 en Debian Sarge

Hoy me he estado peleando con mi Debian para instalar la nueva versión de Amsn. Después de "googlear" un poco buscando solución a los problemas que me daba, al final lo he conseguido. A continuación detallo los pasos.

1. Vamos a la página de AMSN y nos descargamos el paquete "amsn-sources"

http://amsn-project.net/linux-downloads.php

Nos habrá descargado el archivo: amsn-0.96.tar.bz2

2. Descomprimimos el archivo (nos creará el directorio "amsn-0.96") y accedemos al directorio:

# cd /home/nombre_usuario/Desktop/amsn-0.96

3. Instalamos dependencias para poder compilarlo:

# aptitude install tk8.0-dev tk8.4-dev libpng-dev libjpeg62-dev automake gcc-3.3-base gcc

NOTA: éstos son los paquetes que no tenía instalados en mi sistema. Puede que haya que instalar alguno más.

4. Una vez instalados, dentro del directorio "amsn-096" hacemos:

# ./configure

checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... using tcl library in /usr/lib/tcl8.4
checking tk build dir... using tk library in /usr/lib/tk8.4
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h
config.status: utils/linux/capture/config.h is unchanged

compile time options summary
============================

X11 : yes
Tcl : 8.4
TK : 8.4
DEBUG : no
STATIC : no


# make
(cd .; autoconf)
./configure
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... using tcl library in /usr/lib/tcl8.4
checking tk build dir... using tk library in /usr/lib/tk8.4
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h
config.status: utils/linux/capture/config.h is unchanged

compile time options summary
============================

X11 : yes
Tcl : 8.4
TK : 8.4
DEBUG : no
STATIC : no

CXX utils/TkCximage/src/TkCximage.cpp.o
CXX utils/TkCximage/src/PhotoFormat.cpp.o
CXX utils/TkCximage/src/procs.cpp.o
CXX utils/TkCximage/src/CxImage/ximadsp.cpp.o
CXX utils/TkCximage/src/CxImage/ximaexif.cpp.o
CXX utils/TkCximage/src/CxImage/ximagif.cpp.o
CXX utils/TkCximage/src/CxImage/ximainfo.cpp.o
CXX utils/TkCximage/src/CxImage/ximajpg.cpp.o
CXX utils/TkCximage/src/CxImage/ximalyr.cpp.o
CXX utils/TkCximage/src/CxImage/ximapng.cpp.o
CXX utils/TkCximage/src/CxImage/ximatga.cpp.o
CXX utils/TkCximage/src/CxImage/ximatran.cpp.o
CXX utils/TkCximage/src/CxImage/ximabmp.cpp.o
CXX utils/TkCximage/src/CxImage/ximaenc.cpp.o
CXX utils/TkCximage/src/CxImage/ximage.cpp.o
CXX utils/TkCximage/src/CxImage/ximahist.cpp.o
CXX utils/TkCximage/src/CxImage/ximaint.cpp.o
CXX utils/TkCximage/src/CxImage/ximalpha.cpp.o
CXX utils/TkCximage/src/CxImage/ximapal.cpp.o
CXX utils/TkCximage/src/CxImage/ximasel.cpp.o
CXX utils/TkCximage/src/CxImage/ximath.cpp.o
CXX utils/TkCximage/src/CxImage/xmemfile.cpp.o
AR utils/TkCximage/src/CxImage/libCxImage.a
ar: creating utils/TkCximage/src/CxImage/libCxImage.a
LDX utils/TkCximage/src/TkCximage.cpp.so
cp utils/TkCximage/src/TkCximage.cpp.so utils/TkCximage/TkCximage.so
CC utils/webcamsn/src/webcamsn.o
CC utils/webcamsn/src/kidhash.o
CC utils/webcamsn/src/bitstring.o
CC utils/webcamsn/src/deblock.o
CC utils/webcamsn/src/encode.o
CC utils/webcamsn/src/idct_dequant.o
CC utils/webcamsn/src/mimic.o
CC utils/webcamsn/src/vlc_decode.o
CC utils/webcamsn/src/colorspace.o
CC utils/webcamsn/src/decode.o
CC utils/webcamsn/src/fdct_quant.o
CC utils/webcamsn/src/vlc_common.o
CC utils/webcamsn/src/vlc_encode.o
AR utils/webcamsn/src/libmimic.a
ar: creating utils/webcamsn/src/libmimic.a
LD utils/webcamsn/src/webcamsn.so
cp utils/webcamsn/src/webcamsn.so utils/webcamsn/webcamsn.so
CC utils/linux/capture/capture.o
CC utils/linux/capture/libng/grab-ng.o
CC utils/linux/capture/libng/devices.o
CC utils/linux/capture/libng/writefile.o
CC utils/linux/capture/libng/parse-mpeg.o
CC utils/linux/capture/libng/parse-dvb.o
CC utils/linux/capture/libng/color_common.o
CC utils/linux/capture/libng/color_packed.o
CC utils/linux/capture/libng/color_lut.o
CC utils/linux/capture/libng/color_yuv2rgb.o
CC utils/linux/capture/libng/convert.o
CC utils/linux/capture/libng/misc.o
AR utils/linux/capture/libng/libng.a
ar: creating utils/linux/capture/libng/libng.a
LD utils/linux/capture/capture.so
CC utils/linux/capture/libng/plugins/drv0-v4l2.o
CC utils/linux/capture/libng/plugins/struct-v4l2.o
CC utils/linux/capture/libng/plugins/struct-dump.o
LD utils/linux/capture/libng/plugins/drv0-v4l2.so
CC utils/linux/capture/libng/plugins/drv1-v4l.o
CC utils/linux/capture/libng/plugins/struct-v4l.o
LD utils/linux/capture/libng/plugins/drv1-v4l.so
CC utils/linux/traydock/libtray.o
LD utils/linux/traydock/libtray.so
CC utils/linux/linflash/flash.o
LD utils/linux/linflash/flash.so

5. Una vez terminada la compilación, creamos nuestro paquete .deb que posteriormente podremos instalar y borrar mediente el comando DPKG.
Para crear el paquete necesitamos instalar "checkinstall".

# aptitude install checkinstall
# checkinstall

checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:

Preparing package documentation...OK

Installing with "make install"...

========================= Installation results ===========================

Copying documentation directory...
rm -Rf /usr/share/amsn
mkdir --parents /usr/share/amsn
mkdir -p /usr/bin
find /usr/share/amsn -name CVS -print | xargs rm -Rf
ln -sf /usr/share/amsn/amsn /usr/bin/amsn
ln -sf /usr/share/amsn/amsn-remote /usr/bin/amsn-remote
ln -sf /usr/share/amsn/amsn-remote-CLI /usr/bin/amsn-remote-CLI
chmod -R +rx /usr/share/amsn
mkdir -p /usr/share/icons/hicolor
cp -R ./icons/* /usr/share/icons/hicolor
mkdir -p /usr/share/applications
cp ./amsn.desktop /usr/share/applications

======================== Installation succesful ==========================

Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK


Please write a description for the package.
End your description with an empty line or EOF.
>>

This package will be built according to these values:

0 - Maintainer: [ root@sarge.example.com ]
1 - Summary: [ Package created with checkinstall 1.5.3 ]
2 - Name: [ amsn-0.96 ]
3 - Version: [ 0.96 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ amsn-0.96 ]
9 - Alternate source location: [ ]

Enter a number to change any of them or press ENTER to continue:

*****************************************
**** Debian package creation selected ***
*****************************************

Building Debian package...OK

Installing Debian package...OK

Erasing temporary files...OK

Writing backup package...OK

Deleting temp dir...OK

**********************************************************************

Done. The new package has been installed and saved to
/root/amsn-0.96/amsn-0.96_0.96-1_i386.deb

You can remove it from your system anytime using:

dpkg -r amsn-0.96

**********************************************************************

6. Como se puede ver arriba, nos ha creado el archivo "amsn-0.96_0.96-1_i386.deb" que instalaremos así:

# dpkg -i amsn-0.96_0.96-1_i386.deb

Para desinstalarlo hacemos:

# dpkg -r amsn-0.96

7. Una vez instalado, borramos los paquetes que ya no necesitamos:

# aptitude purge tk8.0-dev tk8.4-dev libpng-dev libjpeg62-dev

Saludos y Suerte
Domi - Gran Canaria (Islas Canarias)

3 de diciembre de 2006

Instalar VMPlayer 1.0.3 en Debian Sarge / Etch

Desgraciadamente para nosotros linuxeros, hay ciertas cosas que no podemos hacer sin güindous. Por ejemplo, páginas que están diseñadas para IE y se niegan a trabajar en nuestros Firefox, Konqueror, etc. Para solucionar éste tema tenemos VMPlayer. Nos permite ejecutar una imágen virtual con un güindous instalado sin tener que salir de Linux. Aquí explicaré la forma de instalar éste programa.

1. Descargar VMPlayer del siguiente enlace:

http://www.vmware.com/download/player/download.html

Nos descargamos la versión "for linux .tar".

2. Una vez descargado, entramos en una consola y descomprimimos:
$ tar xfz VMware-player-1.0.3-34682.tar.gz

Nos creará el directorio "vmware-player-distrib"

3. Nos logueamos como usuario root e instalamos las fuentes del kernel. Si ya las tenemos instaladas sáltate éste paso:

$ su -
passwd:

SARGE: # aptitude install kernel-headers-$(uname -r)
ETCH: # aptitude install linux-headers-$(uname -r)

4. Accedemos al directorio donde descomprimios VMPlayer y ejecutamos la instalación:

# cd ~nombre_usuario/vmware-player-distrib
# ./vmware-install.pl

Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin] ENTER

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] ENTER

What is the directory that contains the init scripts?
[/etc/init.d] ENTER

In which directory do you want to install the library files?
[/usr/lib/vmware] ENTER

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes] ENTER

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware] ENTER

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] ENTER

The installation of VMware Player 1.0.3 build-34682 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Player for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] ENTER

Making sure services for VMware Player are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

VMWARE MASTER END USER LICENSE AGREEMENT

NOTICE: BY DOWNLOADING AND INSTALLING,
COPYING OR OTHERWISE USING THE SOFTWARE, YOU
AGREE TO BE BOUND BY THE TERMS OF THIS EULA.
IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA,
YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THE
SOFTWARE, AND YOU MAY RETURN THE UNUSED
SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED
IT WITHIN THIRTY (30) DAYS AND REQUEST A
REFUND OF THE LICENSE FEE, IF ANY, ALREADY
PAID UPON SHOWING PROOF OF PAYMENT. "YOU"
MEANS THE NATURAL PERSON OR THE ENTITY THAT IS
AGREEING TO BE BOUND BY THIS EULA, THEIR
EMPLOYEES AND THIRD PARTY CONTRACTORS THAT
PROVIDE SERVICES TO YOU. YOU SHALL BE LIABLE
FOR ANY FAILURE BY SUCH EMPLOYEES AND THIRD
PARTY CONTRACTORS TO COMPLY WITH THE TERMS OF
THIS AGREEMENT.

1. DEFINITIONS

1.1 "Designated Administrative Access" means

--------- PULSAMOS LA LETRA "q" DESPUES DE LEER LA LICENCIA ;-) ---------

Do you accept? (yes/no) yes

Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons] ENTER

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications] ENTER

In which directory do you want to install the application's icon?
[/usr/share/pixmaps] ENTER

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] ENTER

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.17-2-686/build/include] ENTER

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.17-2-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.17-2-686'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.17-2-686'
cp -f vmmon.ko ./../vmmon.o
make: se sale del directorio `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes] ENTER

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] ENTER

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] ENTER

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.164.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.164.0.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual machines?
[yes] ENTER

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] ENTER

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.179.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 172.16.179.0.

Do you wish to configure another host-only network? (yes/no) [no] ENTER

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-2-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.17-2-686'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.17-2-686'
cp -f vmnet.ko ./../vmnet.o
make: se sale del directorio `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Would you like to enable the Google searchbar? (yes/no) [no] ENTER

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Player 1.0.3 build-34682 for Linux for this running
kernel completed successfully.

You can now run VMware Player by invoking the following command:
"/usr/bin/vmplayer".

Enjoy,

--the VMware team

5. Si todo ha ido bien, en nuestro menú KDE / Sistema, tendremos nuestro enlace a VMware Player.

6. Ahora nos falta la imágen sobre la cual instalar güindous. Nos vamos a éste enlace y creamos nuestra imágen.

http://www.easyvmx.com/easyvmx.shtml

Virtual Machine Name: windows
Select GuestOS: Windows XP Professional Edition
Memory Size: 512 (depende de la cantidad que tengas libre en tu equipo)
# of CPUs: 1

Ethernet0: x Bridged Intel Pro 1000
Floppy Disk Drive: x Auto detect
CDROM1: x Auto detect
Disk #1: x Disk Size 20GB x SCSI (Creo q más q suficiente, aunque tranándose de güindows, nunca se sabe)

El sonido lo dejamos tal cual lo proponen.
Picamos en "Create Virtual Machine" y nos aparecerá en otra página nuestro archivo "windows.zip" listo para descargar. Lo descargamos a nuestro escritorio.

7. Descomprimimos la imágen:
$ cd
$ mv Desktop/windows.zip .
$ unzip -X windows.zip

Nos creará el directorio "/home/nombre_usuario/windows", y dentro contiene nuestra imágen sobre la que instalar güindows.

Sólo queda abrir la imágen con el VMPlayer y a instalar.

Saludos y Suerte.
Domi - Gran Canaria (Islas Canarias)

2 de diciembre de 2006

Instalar Flash 9 en Debian Sarge / Etch

ACTUALIZACIÓN 31.07.07:
Hoy he actualizado la guía para que quedara más clara y fácil para usuarios con pocos conocimientos. Seguid los pasos tal cual y no habrá ningún problema.

1.
Descargamos el fichero con el plugin:

http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash

Nos bajaremos el fichero install_flash_player_9_linux.tar.gz desde una consola de usuario root.

$ su -
passwd:

# wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz


2. Descomprimimos el fichero:

# tar -xvf install_flash_player_9_linux.tar.gz
install_flash_player_9_linux/
install_flash_player_9_linux/flashplayer.xpt
install_flash_player_9_linux/flashplayer-installer
install_flash_player_9_linux/libflashplayer.so

Habremos creado el directorio "install_flash_player_9_linux" que contiene el fichero libflashplayer.so


3. Movemos el fichero al directorio de plugins de Firefox:

Para Firefox:
# mv install_flash_player_9_linux/libflashplayer.so /usr/lib/mozilla-firefox/plugins/

Si ya tenemos ICEWEASEL hacemos:
# mv install_flash_player_9_linux/libflashplayer.so /usr/lib/iceweasel/plugins/

Para que también nos funcione el plugin en Konqueror, enlazamos tal como sigue:
# cd /usr/lib/netscape/plugins-libc6/
# ln -s /usr/lib/mozilla-firefox/plugins/libflashplayer.so - Si tenemos Firefox
# ln -s /usr/lib/iceweasel/plugins/libflashplayer.so - Si tenemos Iceweasel


4. Comprobamos la instalación abriendo Firefox o Iceweasel y tecleando en la barra de direcciones: about:plugins
Para comprobar la instalación en Konqueror, accedemos a ésta página:

http://www.adobe.com/es/support/flashplayer/ts/documents/tn_15507.htm

Nos aparecerá algo como ésto: Your Player Versión: LNX 9,0,21,55

Saludos.
Domi - Gran Canaria (Islas Canarias)

Crear Paquete .deb de Java 1.5 Debian Sarge / Etch

Hoy pondré otra forma de instalar Java en nuestro equipo. Es el método que utilizo y es mucho más cómodo que el anterior, ya que nos creamos nuestro paquete .deb que posteriormente podremos guardar para instalar/desinstalar limpiamente mediante el comando dpkg.

1. Descargamos el paquete oficial de la siguiente dirección:
http://www.java.com/es/download/linux_manual.jsp

Pulsamos DESCARGAR el "Linux (Archivo autoextraíble)"

Nos descargará en nuestro escritorio el fichero: jre-1_5_0_09-linux-i586.bin

2. Abrimos una TERMINAL, nos logueamos como usuario root e instalamos los paquetes "fakeroot" y "java-package"

$ su -
passwd:

Para asegurarnos de que nos instala el paquete "java-package", nuestro fichero /etc/apt/sources.list debe estar apuntando a los repositorios "contrib" y "non-free".
Para comprobar la lista de repositorios hacemos:
# cat /etc/apt/sources.list

Debería contener algo parecido a ésto:

deb http://security.debian.org/ stable/ updates main contrib non-free
deb http://ftp.rediris.es/debian/ stable main contrib non-free
deb-src http://ftp.rediris.es/debian/ stable main contrib non-free

Una vez comprobado, actualizamos la lista de repositorios y procedemos a instalar los paquetes mencionados:

# aptitude update
# aptitude install fakeroot java-package

3. Una vez instalados, volvemos a loguearnos como usuario normal en otra terminal, ponemos el permiso de ejecución al archivo de instalación de java y procedemos a crear nuestro paquete:

$ chmod a+x jre-1_5_0_09-linux-i586.bin
$ fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin

Al terminal el script anterior, nos habrá creado el paquete "sun-j2re1.5_1.5.0+update09_i386.deb".

4. Nos logueamos como usuario root e instalamos:

$ su -
passwd:

# dpkg -i /home/nombre_de_tu_usuario/sun-j2re1.5_1.5.0+update09_i386.deb

5. Cerramos Firefox en caso de que estuviera abierto y comprobamos la instalación pulsando en el siguiente enlace:

http://www.java.com/es/download/help/testvm.xml

No estoy seguro de que se instale el plugin de java de forma automática. En caso de que no funcione, lo hacemos manualmente:

# cd /usr/lib/mozilla-firefox/plugins/
# ln -s /usr/java/jre.5.0.09/plugins/i386/ns7/libjavaplugin_oji.so

Cerramos Firefox y volvemos abrir la página anterior para comprobar la instalación.

URL de Referencia:
http://wiki.serios.net/wiki/Debian_Java_JRE/JDK_installation_with_java-package
http://www.crazysquirrel.com/computing/debian/java.jspx

Saludos.
Domi - Gran Canaria (Islas Canarias)