Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: 4rm4ndo en 26 Abril 2011, 19:57 pm



Título: no encuentro la forma de instalar una descarga en ubuntu (solucionado)
Publicado por: 4rm4ndo en 26 Abril 2011, 19:57 pm
Me bajé la última versión de un cliente de bittorrent y lo tengo en la carpeta de descargas pero no encuentro la forma de instalar es la primera vez que tengo que instalar algo... Gracias.
 
Saludos. Armando.
 
(en el centro de software no tienen la última versión y la que trae ubuntu por defecto no me funciona y la he desinstalado)


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: portaro en 26 Abril 2011, 20:27 pm
Hola que cliente es?

si usas apt en ubuntu la linea seria

sudo apt-get install ....tu programa

si es un run
sh

si es java
java -jar

etc
 solo hay que buscar qual es la extensión y informarte sobre gestion de paquetes y extensiones de archivos,



Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 26 Abril 2011, 20:39 pm
Transmission 2.22
 
en el centro de software tienen la version 2.04
 
todavia no se decirte la extensión tengo recien instalado el sistema estoy empezando a configurar todo... XD tengo muchas preguntas, espero no ser un pesado, las iré poniendo poco a poco... muchas gracias.
 
Saludos. Armando.
 


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Leyer en 26 Abril 2011, 20:55 pm
Descomprimes luego


 ./configure
  make
  sudo make install

o sh install-sh


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 26 Abril 2011, 21:00 pm
Perdon pero soy muy torpe aún... eso se pone en dónde? ¿tengo qwue abrir un shell? ¿cómo?


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: c0d3rSh3ll en 26 Abril 2011, 21:02 pm
que archivo has descargado??
archivo .deb
archivo .tar


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 26 Abril 2011, 21:12 pm
 $ xz -d -c transmission-2.11.tar.xz | tar xf -
    $ cd transmission-2.11
    $ ./configure
    $ make
    $ sudo make install
-----------------------------------------------------------
 
es eso lo que tengo que poner en el terminal?
 
pues nop ... me dice que no es un archivo tar.
 
------------------------------------------------------------------
 
ABOUT

  Transmission is a fast, easy, and free BitTorrent client.
  It comes in several flavors:

    * A native Mac OS X GUI application
    * GTK+ and Qt GUI applications for Linux, BSD, etc.
    * A headless daemon for servers and routers
    * A web UI for remote controlling any of the above

  Visit http://www.transmissionbt.com/ for more information.

BUILDING

  Transmission has an Xcode project file (Transmission.xcodeproj)
  for building in Xcode.

  For a more detailed description, and dependancies, visit:
  http://trac.transmissionbt.com/wiki/

  Building a Transmission release from the command line:

    $ xz -d -c transmission-2.11.tar.xz | tar xf -
    $ cd transmission-2.11
    $ ./configure
    $ make
    $ sudo make install

  Building Transmission from the nightly builds:

    Download a tarball from http://build.transmissionbt.com/job/trunk-linux-inc/
    and follow the steps from the previous section.

    If you're new to building programs from source code, this is typically
    easier than building from SVN.

  Building Transmission from SVN (First Time):

    $ svn co svn://svn.transmissionbt.org/Transmission/trunk Transmission
    $ cd Transmission
    $ ./autogen.sh
    $ make
    $ sudo make install

  Building Transmission from SVN (Updating):

    $ cd Transmission
    $ make clean
    $ svn up
    $ ./update-version-h.sh
    $ make
    $ sudo make install

  Notes for building on Solaris' C compiler:  User av reports success with
  this invocation: ./configure CC=c99 CXX=CC CFLAGS='-D__EXTENSIONS__ -mt'


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Leyer en 26 Abril 2011, 21:20 pm
Todo por la terminal

Descomprime usando

bzip2 -d archivo.bz2

tar -xjvf archivo.tar.bz2



Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 26 Abril 2011, 21:42 pm
No puedo, no me sale bien. si fueras tan amable de explicar lo que estoy haciendo...
 
necesito hacerlo paso a paso, tengo la carpeta dentro de "descargas" no se si tengo que indicar en el shell la ruta del archivo, pero tampoco sé cuál es la ruta... XDD
 
(puedo instalar otro cliente pero es importante para mi aprender a instalar un programa)


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Debci en 26 Abril 2011, 22:07 pm
No puedo, no me sale bien. si fueras tan amable de explicar lo que estoy haciendo...
 
necesito hacerlo paso a paso, tengo la carpeta dentro de "descargas" no se si tengo que indicar en el shell la ruta del archivo, pero tampoco sé cuál es la ruta... XDD
 
(puedo instalar otro cliente pero es importante para mi aprender a instalar un programa)
Mira, si hay que compilarlo como te han indicado arriba, usa el comando "cd directorio" para situar la shell en el directorio que quieras, y a partir de ahí usas los comandos ya nombrados.

Saludos


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 26 Abril 2011, 22:15 pm
ok ... como en msdos. change directory,,, bueno gracias por la ayuda tengo k ir a dormir para levantarme pronto.
 
Saludos. Armando.


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Songoku en 27 Abril 2011, 01:13 am
Es que compilar un programa no es tan facil, ahora aunque te situes con el terminal en la carpeta del programa a compilar te va a empezar a volver loco con las dependencias. Busca por la red porque seguro tiene que haber un repositorio de ese programa para tu version de ubuntu. Le añades a tu sources.list y ya podras instalarte tranquilamente desde el terminal y o desde el centro de software o desde el synaptic (creo que tu version de ubuntu ya no trae el synaptic pero le puedes instalar). A y un consejo... instalate el ubuntu tweak, te va a facilitar mucho muchas cosas.
Saludos...

Songoku


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 27 Abril 2011, 19:36 pm
armando@armando-P4i65G:~/Descargas/transmission-2.22$ dir
aclocal.m4    COPYING          m4       third-party
AUTHORS       daemon          macosx       transmission-gtk.spec.in
autogen.sh    depcomp          Makefile.am  Transmission.xcodeproj
ChangeLog     extras          Makefile.in  update-version-h.sh
cli         gtk          missing       utils
config.guess  INSTALL          NEWS       web
config.sub    install-sh       po
configure     libtransmission  qt
configure.ac  ltmain.sh        README
armando@armando-P4i65G:~/Descargas/transmission-2.22$
 
----------------------------------------------------------------
 
hasta aqui llego... no se que hacer ahora


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 27 Abril 2011, 19:58 pm
Bien, fijate que hay un fichero INSTALL, debes leerlo, ahí te dirá los comandos para  instalar.

Regularmente es:
Código:
./configure
sudo make
sudo make install

Y listo, pero igual lee el archivo INSTALL:

Código:
cat INSTALL | more


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 27 Abril 2011, 20:05 pm
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo make install
make: *** No hay ninguna regla para construir el objetivo «install».  Alto.
armando@armando-P4i65G:~/Descargas/transmission-2.22$
 
-------------------------------------------------------
 
Basic Installation
==================

   Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package.  The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.  Some packages provide this
`INSTALL' file but do not implement all of the features documented
below.  The lack of an optional feature in a given package is not
necessarily a bug.  More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
 
------------------------------------------------------------
 


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 04:05 am
Si te sale eso es que no has tecleado primero "make" a secas.

Código:
1.- 
sudo ./configure
2.-
sudo make
3.-
sudo make install


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 17:50 pm
sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for inline... inline
checking gcc version... 4.4.5
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for iconv_open... yes
checking for pread... yes
checking for pwrite... yes
checking for lrintf... no
checking for strlcpy... no
checking for daemon... yes
checking for dirname... yes
checking for basename... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for fallocate64... yes
checking for posix_fallocate... yes
checking for memmem... yes
checking for strsep... yes
checking for strtold... yes
checking for syslog... yes
checking for valloc... yes
checking for getpagesize... yes
checking for posix_memalign... yes
checking for statvfs... yes
checking whether make sets $(MAKE)... (cached) yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing cos... -lm
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Slava_TZD en 28 Abril 2011, 19:10 pm
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl


En Debian y derivados deberia ser:
Código:
solcash:~# apt-get install openssl gcc g++

Luego lo mismo de antes, situado en el directorio correspondiente:

Código:
solcash:~# ./configure
solcash:~# make
solcash:~# checkinstall


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 19:31 pm
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# apt-get install openssl gcc g++
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# ./configure
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# make
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# checkinstall
solcash:~#: orden no encontrada
armando@armando-P4i65G:~/Descargas/transmission-2.22$


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 19:35 pm
Para instalar gcc, g++ y demás paquetes básicos, debes teclear esto:

Código:
sudo apt-get install build-essential

Ya con eso lo tienes instalado.

Ahora, para instalar openssl, basta con:

Código:
sudo apt-get install openssl


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 19:51 pm
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo apt-get install build-essential
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Utilice «apt-get autoremove» para eliminarlos.
Se instalarán los siguientes paquetes extras:
  dpkg-dev fakeroot g++ g++-4.4 libalgorithm-diff-perl libalgorithm-merge-perl
  libdpkg-perl libstdc++6-4.4-dev patch
Paquetes sugeridos:
  debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
  libstdc++6-4.4-doc diffutils-doc
Se instalarán los siguientes paquetes NUEVOS:
  build-essential dpkg-dev fakeroot g++ g++-4.4 libalgorithm-diff-perl
  libalgorithm-merge-perl libdpkg-perl libstdc++6-4.4-dev patch
0 actualizados, 10 se instalarán, 0 para eliminar y 4 no actualizados.
Necesito descargar 8319kB de archivos.
Se utilizarán 25,0MB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]? S
AVISO: ¡No se han podido autenticar los siguientes paquetes!
  libstdc++6-4.4-dev g++-4.4 g++ libdpkg-perl patch dpkg-dev build-essential
  fakeroot libalgorithm-diff-perl libalgorithm-merge-perl
¿Instalar estos paquetes sin verificación [s/N]? n
E: Algunos paquetes no se pueden autenticar
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo apt-get install openssl
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
openssl ya está en su versión más reciente.
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Utilice «apt-get autoremove» para eliminarlos.
0 actualizados, 0 se instalarán, 0 para eliminar y 4 no actualizados.
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo apt-get install build-essential
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Utilice «apt-get autoremove» para eliminarlos.
Se instalarán los siguientes paquetes extras:
  dpkg-dev fakeroot g++ g++-4.4 libalgorithm-diff-perl libalgorithm-merge-perl
  libdpkg-perl libstdc++6-4.4-dev patch
Paquetes sugeridos:
  debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
  libstdc++6-4.4-doc diffutils-doc
Se instalarán los siguientes paquetes NUEVOS:
  build-essential dpkg-dev fakeroot g++ g++-4.4 libalgorithm-diff-perl
  libalgorithm-merge-perl libdpkg-perl libstdc++6-4.4-dev patch
0 actualizados, 10 se instalarán, 0 para eliminar y 4 no actualizados.
Necesito descargar 8319kB de archivos.
Se utilizarán 25,0MB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]? S
AVISO: ¡No se han podido autenticar los siguientes paquetes!
  libstdc++6-4.4-dev g++-4.4 g++ libdpkg-perl patch dpkg-dev build-essential
  fakeroot libalgorithm-diff-perl libalgorithm-merge-perl
¿Instalar estos paquetes sin verificación [s/N]? s
Des:1 http://sh.archive.ubuntu.com/ubuntu/ maverick/main libstdc++6-4.4-dev i386 4.4.4-14ubuntu5 [1529kB]
Des:2 http://sh.archive.ubuntu.com/ubuntu/ maverick/main g++-4.4 i386 4.4.4-14ubuntu5 [5199kB]
80% [Conectando a sh.archive.ubuntu.com (91.189.88.46)]                       
Des:3 http://sh.archive.ubuntu.com/ubuntu/ maverick/main g++ i386 4:4.4.4-1ubuntu2 [1444B]
Des:4 http://sh.archive.ubuntu.com/ubuntu/ maverick-updates/main libdpkg-perl all 1.15.8.4ubuntu3.1 [505kB]
Des:5 http://sh.archive.ubuntu.com/ubuntu/ maverick/main patch i386 2.6-2ubuntu1 [123kB]
Des:6 http://sh.archive.ubuntu.com/ubuntu/ maverick-updates/main dpkg-dev all 1.15.8.4ubuntu3.1 [772kB]
Des:7 http://sh.archive.ubuntu.com/ubuntu/ maverick/main build-essential i386 11.5 [7244B]
Des:8 http://sh.archive.ubuntu.com/ubuntu/ maverick/main fakeroot i386 1.14.4-1ubuntu1 [118kB]
Des:9 http://sh.archive.ubuntu.com/ubuntu/ maverick/main libalgorithm-diff-perl all 1.19.02-1 [51,3kB]
Des:10 http://sh.archive.ubuntu.com/ubuntu/ maverick/main libalgorithm-merge-perl all 0.08-1 [13,0kB]
Descargados 8319kB en 11min 16s (12,3kB/s)                                     
Seleccionando el paquete libstdc++6-4.4-dev previamente no seleccionado.
(Leyendo la base de datos ...  00%
144367 ficheros y directorios instalados actualmente.)
Desempaquetando libstdc++6-4.4-dev (de .../libstdc++6-4.4-dev_4.4.4-14ubuntu5_i386.deb) ...
Seleccionando el paquete g++-4.4 previamente no seleccionado.
Desempaquetando g++-4.4 (de .../g++-4.4_4.4.4-14ubuntu5_i386.deb) ...
Seleccionando el paquete g++ previamente no seleccionado.
Desempaquetando g++ (de .../g++_4%3a4.4.4-1ubuntu2_i386.deb) ...
Seleccionando el paquete libdpkg-perl previamente no seleccionado.
Desempaquetando libdpkg-perl (de .../libdpkg-perl_1.15.8.4ubuntu3.1_all.deb) ...
Seleccionando el paquete patch previamente no seleccionado.
Desempaquetando patch (de .../patch_2.6-2ubuntu1_i386.deb) ...
Seleccionando el paquete dpkg-dev previamente no seleccionado.
Desempaquetando dpkg-dev (de .../dpkg-dev_1.15.8.4ubuntu3.1_all.deb) ...
Seleccionando el paquete build-essential previamente no seleccionado.
Desempaquetando build-essential (de .../build-essential_11.5_i386.deb) ...
Seleccionando el paquete fakeroot previamente no seleccionado.
Desempaquetando fakeroot (de .../fakeroot_1.14.4-1ubuntu1_i386.deb) ...
Seleccionando el paquete libalgorithm-diff-perl previamente no seleccionado.
Desempaquetando libalgorithm-diff-perl (de .../libalgorithm-diff-perl_1.19.02-1_all.deb) ...
Seleccionando el paquete libalgorithm-merge-perl previamente no seleccionado.
Desempaquetando libalgorithm-merge-perl (de .../libalgorithm-merge-perl_0.08-1_all.deb) ...
Procesando disparadores para man-db ...
Configurando libdpkg-perl (1.15.8.4ubuntu3.1) ...
Configurando patch (2.6-2ubuntu1) ...
Configurando dpkg-dev (1.15.8.4ubuntu3.1) ...
Configurando fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: usar /usr/bin/fakeroot-sysv para proporcionar /usr/bin/fakeroot (fakeroot) en modo automático
Configurando libalgorithm-diff-perl (1.19.02-1) ...
Configurando libalgorithm-merge-perl (0.08-1) ...
Configurando libstdc++6-4.4-dev (4.4.4-14ubuntu5) ...
Configurando g++-4.4 (4.4.4-14ubuntu5) ...
Configurando g++ (4:4.4.4-1ubuntu2) ...
update-alternatives: usar /usr/bin/g++ para proporcionar /usr/bin/c++ (c++) en modo automático
Configurando build-essential (11.5) ...
armando@armando-P4i65G:~/Descargas/transmission-2.22$


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 19:55 pm
sudo apt-get install openssl
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias      
Leyendo la información de estado... Hecho
openssl ya está en su versión más reciente.
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Utilice «apt-get autoremove» para eliminarlos.
0 actualizados, 0 se instalarán, 0 para eliminar y 4 no actualizados.
armando@armando-P4i65G:~/Descargas/transmission-2.22$ apt-get autoremove
E: No se pudo abrir el fichero de bloqueo '/var/lib/dpkg/lock' - open (13: Permiso denegado)
E: Imposible bloquear el directorio de administración (/var/lib/dpkg/), ¿es superusuario?
armando@armando-P4i65G:~/Descargas/transmission-2.22$
 
--------------------------------------------------------
 
 :P


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 20:00 pm
Código:
openssl ya está en su versión más reciente.

Ahora sí intenta compilar el otro paquete a ver cómo va.

Recuerda
Código:
./configure
sudo make
sudo make install


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:02 pm
E: No se pudo abrir el fichero de bloqueo '/var/lib/dpkg/lock' - open (13: Permiso denegado)
E: Imposible bloquear el directorio de administración (/var/lib/dpkg/), ¿es superusuario?
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo apt-get autoremove
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
0 actualizados, 0 se instalarán, 2 para eliminar y 4 no actualizados.
Se liberarán 90,2MB después de esta operación.
¿Desea continuar [S/n]? S
(Leyendo la base de datos ...  00%
145461 ficheros y directorios instalados actualmente.)
Desinstalando linux-headers-2.6.35-22-generic ...
Desinstalando linux-headers-2.6.35-22 ...
armando@armando-P4i65G:~/Descargas/transmission-2.22$


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 20:04 pm
Ahora intenta compilar el transmission.

Código:
sudo ./configure
sudo make
sudo make install


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:07 pm
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo apt-get autoremove
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
0 actualizados, 0 se instalarán, 2 para eliminar y 4 no actualizados.
Se liberarán 90,2MB después de esta operación.
¿Desea continuar [S/n]? S
(Leyendo la base de datos ...  00%
145461 ficheros y directorios instalados actualmente.)
Desinstalando linux-headers-2.6.35-22-generic ...
Desinstalando linux-headers-2.6.35-22 ...
armando@armando-P4i65G:~/Descargas/transmission-2.22$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for inline... inline
checking gcc version... 4.4.5
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for iconv_open... yes
checking for pread... yes
checking for pwrite... yes
checking for lrintf... no
checking for strlcpy... no
checking for daemon... yes
checking for dirname... yes
checking for basename... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for fallocate64... yes
checking for posix_fallocate... yes
checking for memmem... yes
checking for strsep... yes
checking for strtold... yes
checking for syslog... yes
checking for valloc... yes
checking for getpagesize... yes
checking for posix_memalign... yes
checking for statvfs... yes
checking whether make sets $(MAKE)... (cached) yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing cos... -lm
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl
armando@armando-P4i65G:~/Descargas/transmission-2.22$ sudo make
make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.
armando@armando-P4i65G:~/Descargas/transmission-2.22$


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 20:14 pm
Bien, ahora intenta instalar así:

Código:
sudo add-apt-repository ppa:transmissionbt/ppa
sudo apt-get update
sudo apt-get install transmission


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:17 pm
nada, lo intento pero esto hace muchas cosas dice muchas veces orden no encontrada y al final que no encuentra ningun makefile no se si cerrar el terminal y empezar de nuevo


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:22 pm
armando@armando-P4i65G:~/Descargas$ dir
transmission-2.22
armando@armando-P4i65G:~/Descargas$ cd ./transmission-2.22
armando@armando-P4i65G:~/Descargas/transmission-2.22$ dir
aclocal.m4    configure.ac     ltmain.sh    README
AUTHORS       COPYING          m4       third-party
autogen.sh    daemon          macosx       transmission-gtk.spec.in
ChangeLog     depcomp          Makefile.am  Transmission.xcodeproj
cli         extras          Makefile.in  update-version-h.sh
config.guess  gtk          missing       utils
config.log    INSTALL          NEWS       web
config.sub    install-sh       po
configure     libtransmission  qt
armando@armando-P4i65G:~/Descargas/transmission-2.22$


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: leogtz en 28 Abril 2011, 20:24 pm
El problema es que no pasa del ./configure y no hace bien el makefile.

Otra cosa, cuando instalas Ubuntu, debes configurar adecuadamente los repositorios, sino lo haces no te va a encontrar gran cantidad de paquetes, yo creo que deberías mirar por ahí.


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:33 pm
Ya está instalado, me aparece en el menú...
 
ahora tengo que aprender a manejarlo, esto no es igual que el emule  :P
 
Muchas gracias usaré este post como guía la próxima vez, como si fuese un tuto para mí. muchisimas gracias.


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 28 Abril 2011, 20:39 pm
Ahora voy a googlear un rato a ver si puedo configurarlo, no quiero abusar de las preguntas.
 
Saludos. Armando.
 
(XDD ya está indexado el post en google)


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Songoku en 28 Abril 2011, 21:53 pm
Citar
sudo add-apt-repository ppa:transmissionbt/ppa
sudo apt-get update
sudo apt-get install transmission


Hubiera sido mas facil si te pusieras el repositorio tal y como te indicó Leo Gutiérrez en el mensaje que te cito mas arriba y tal y como yo te dije en un principio.
Saludos...

Songoku


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: Slava_TZD en 28 Abril 2011, 21:55 pm


Hubiera sido mas facil si te pusieras el repositorio tal y como te indicó Leo Gutiérrez en el mensaje que te cito mas arriba y tal y como yo te dije en un principio.
Saludos...

Songoku

Coincido, siempre que puedas instalar algo desde los repositorios, no vale la pena compilar a mano. De todas maneras Googlea un poquito, esto:

Código:
armando@armando-P4i65G:~/Descargas/transmission-2.22$ solcash:~# apt-get install openssl gcc g++

Ha marcado un antes y un después.


Título: Re: no encuentro la forma de instalar una descarga en ubuntu
Publicado por: 4rm4ndo en 29 Abril 2011, 13:49 pm
MMM  lo siento pero no entendí bien esa parte es la primera instalación que hago muchas gracias a todos.


Título: Re: no encuentro la forma de instalar una descarga en ubuntu (solucionado)
Publicado por: Foxy Rider en 30 Abril 2011, 07:18 am
Si te sale eso es que no has tecleado primero "make" a secas.

Código:
1.- 
sudo ./configure
2.-
sudo make
3.-
sudo make install

NUNCA compiles como root, el sudo solo para el make install está bien.
Adhiero al Tzhed cuando dice que instales cosas de los repositorios, es altamente probable que ubuntu lo tenga, ya que hereda el amplio repositorio de Debian, de hecho  : http://packages.ubuntu.com/maverick/transmission

Saludos.

P.S: fijate de tener universe (y multiverse, por practicidad) habilitado, aunque esto puede habilitarte para instalar software no-libre