GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Impossibile installare il plug-in Flash in Ubuntu?

Devo installare flashplugin in tutti i sistemi Ubuntu. Quindi ho scaricato il flashplugin tramite wget wget http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.228.orig.tar.gz . Il file è stato scaricato e ho spostato il file in /var/www/ usando wget ho scaricato questo file su tutti i sistemi client. Durante l'esecuzione ricevo l'errore seguente.. Per favore aiutami a correggere questo errore..

Errore:

[email protected]:~# ./adobe-flashplugin_11.2.202.228.orig.tar.gz
-bash: ./adobe-flashplugin_11.2.202.228.orig.tar.gz: cannot execute binary file

Aggiornamento 1:

I can see the automated install when runs "apt-get install flashplugin-installer" follows these steps..

Downloading...
--2012-07-24 01:17:13-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.228.orig.tar.gz
Resolving archive.canonical.com... 91.189.92.150, 91.189.92.191
Connecting to archive.canonical.com|91.189.92.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14133169 (13M) [application/x-gzip]
Saving to: ``./adobe-flashplugin_11.2.202.228.orig.tar.gz'

 0K ........ ........ ........ ........ ........ ........ 22%  343K 31s         

3072K ........ ........ ........ ........ ........ ........ 44% 508K 19s
6144K ........ ........ ........ ........ ........ ........ 66% 479K 11s
9216K ........ ........ ........ ........ ........ ........ 89% 400K 4s
12288K ........ ........ ....... 100% 356K=33s

2012-07-24 01:17:47 (414 KB/s) - ./adobe-flashplugin_11.2.202.228.orig.tar.gz' saved [14133169/14133169]

Download done.
Flash Plugin installed.

Risposta accettata:

Il modo migliore per installare Adobe Flash è installarlo su ogni sistema dal repository multiverso di Ubuntu. flashplugin-installer è il nome del pacchetto. Il metapacchetto ubuntu-restricted-extras dipende (indirettamente) da esso o da Adobe-Flashplugin.

Per chiarire la possibile confusione su ciò che vedi quando hai installato il pacchetto sopra, il file .deb contiene uno script di shell del programma di installazione. La maggior parte del lavoro reale viene svolto in /usr/lib/flashplugin-installer/install-plugin il pacchetto .deb installa:

 #!/bin/sh

 set -e

 flash_tarball="$1"

 FILENAME=adobe-flashplugin.tar.gz

 fp_exit_with_error() {
     echo $1
     echo "The Flash plugin is NOT installed."
     exit 1
 }

 cd /var/cache/flashplugin-installer

 echo "Installing from local file $flash_tarball"
 cp -f -p "$flash_tarball" ${FILENAME}_TEMP
 mv -f ${FILENAME}_TEMP $FILENAME

 rm -rf adobe_flashplugin*/

 # unpacking and checking the plugin
 tar xzf $FILENAME || fp_exit_with_error "cannot unpack plugin"

 install -m 644 adobe-flashplugin*/i386/libflashplayer.so /usr/lib/flashplugin-installer/
 rm -rf adobe-flashplugin*

 echo "Flash Plugin installed."

 update-alternatives --quiet --install "/usr/lib/mozilla/plugins/flashplugin-alternative.so" "mozilla-flashplugin" /usr/lib/flashplugin-installer/libflashplayer.so 50

 exit 0

Puoi vedere che il file non è impostato su tar e spostato in /usr/lib/adobe-flashplugin/i386/libflashplayer.so e quindi viene utilizzato update-alternatives per renderlo un possibile flashplugin di Mozilla.

Ancora una volta, è meglio che tutta la protezione e l'automazione dell'utilizzo del sistema di installazione del pacchetto apt facciano il lavoro piuttosto che provare a farlo da soli, se possibile.

Correlati:impostazioni nvidia vuote dopo l'installazione del driver v. 331.67 su Ubuntu 14.04?
Ubuntu
  1. Come installare Seafile su Ubuntu 14.04 (Trusty Tahr)

  2. Installa Adobe Flash Player 11 su Ubuntu 12.10

  3. Installa Pepper Flash su Ubuntu 20.04 - Come farlo?

  4. Impossibile installare alcuna applicazione in Ubuntu 14.04?

  5. Impossibile installare il plug-in Flash a causa di un proxy?

Come installare Adobe Flash Player su Ubuntu 20.04 LTS

Come installare Pepper Flash su Ubuntu 20.04

Come installare Adobe Flash Player su Ubuntu

Come installare Pepper Flash su Ubuntu

2 modi per installare Android Studio in Ubuntu 20.04/Ubuntu 18.04

Come installare Flash Payer in Ubuntu 14.04 Lts??