Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My friend has a computer with Ubuntu 12.04 32 bit, but he has no internet connection. He'd like to install the Adobe Flash Player on his computer. How to do that?

share|improve this question
    
Duplicate of askubuntu.com/questions/974/… –  harisibrahimkv May 24 '12 at 17:02
add comment

2 Answers

You can download it from the Adobe website. So download it from a computer with an usb drive and use a usb drive to copy it to the offline computer.

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

Pick the tar.gz file archive as download option to download the offline installation for ubuntu. The tar.gz archive contains instructions how you can install it for the default browser firefox or how you can run the flash player itself.

share|improve this answer
    
Currently there are two tar.gz files. You should choose the first/upper one. –  Jakob May 24 '12 at 15:33
add comment

He needs to install the package adobe-flashplugin.

Step 1: Get the download URLs in a file:

Execute the following command on your friend's PC:

apt-get -y install --print-uris adobe-flashplugin | cut -d\' -f2 | grep http:// > apturls

Step 2: Copy this file (apturls, in his home folder) to a machine with Internet access, and execute the following command to download the packages:

wget -i path-to-apturls-file 

Step 3: Now get those downloaded packages to your machine, and install them using :

cd path-to-the-downloaded-packages-directory

sudo dpkg -i *.deb

Done!

share|improve this answer
    
I'm sorry. I left a \ before ('). Thanks for pointing it out. :) –  harisibrahimkv May 24 '12 at 15:55
    
Did you try running that command with a package that is already installed on your system? Then it won't produce anything in the 'apturls' file. Let me know if you tried with a non-existing package and still the file turned out to be blank. –  harisibrahimkv May 24 '12 at 16:17
    
The first command is run on the computer that has no internet connection. That means Siraj's friend's computer. That will populate the apturls file. Transfer that file to the system that has the internet connection. It doesn't matter if this system has that package installed or not. The second command fetches the necessary deb files and puts them in a folder. Copy that folder to the first computer and run the third command. I hope that clears your doubts. :) –  harisibrahimkv May 24 '12 at 16:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.