Originally posted by: MBrown
How do I open it with the text editor? What file is it exactly? flashplayer-installer? Like n0cmonkey said clean up the instructions and post them so everyone else can see them.
My mistake I appologize for that.
Here are the detailed step by step of of the whole process, some of them you already have completed but for others to see we will mention all of them :
1 - Download flash from
macromedia' s download section.
Note that I have firefox configured to save any file I download to My home directory whihc is in my case if we conidre that my OS user name is linuxator my home directory would be in : /home/linuxator, and I assume you have the same configuration if not then read step b and then apply a and then carry on. If you have firefox configured to download files to your homw directory then skip step b.
a - Click on the "Download Now" link, then firefox will download it to your home directory in the form of a tar file ( a compressed file ).
b - Open the firefox web browser then go to edit--> Prefrences --> click on downloads---> select the save all files to this folder radio button, then select from the list that is enabled now your home directory in this case it's /home/linuxator.
2 - Go to your home directory once the download is complete, then you should see a file called
install_flash_player_7_linux right click this file then hover the mouse pointer over the extract option then select extract here.
3 - An extracted file called
install_flash_player_7_linux should show up and it uses a folder icon instead of the tar icon the compressed file uses. double click the
install_flash_player_7_linux folder.
4 - Now you will see a file called
flashplayer-installer right click it , a menu should appear .
5 -
a - From the the menu hover the mouse pointer over the
open with selection and another menu should appear from that menu select
text editor
now the code will appear in a text editor window.
b - If for some reason the text editor doesn't appear in the second menu, then run text editor selecting it from the KDE or Gnome menu or whatever GUI menu you might have, then after text editor opens click on the
File menu that shows on top , and click
open from their you should see a list of folders you have click on
Home then click on the
install_flash_player_7_linux icon, then click on the
flashplayer-installer icon and the code will appear in the text editor.
6 - After the code appears in the text editor, go to the
Search menu on top, then select find .
7- in the find window that will open, there is a text box paste in it the following
# the architecture is not supported and then click the find icon.
8 - the text editor will take you to the exact line of code in question here which should look like this :
# the architecture is not supported
exit_cpu () {
echo ""
echo "ERROR: Your architecture, \'$1\', is not supported by the"
echo " $PRODUCT installer."
echo ""
exit 1
The above section I am going to refer to it as code A
9 - Some info on this code you might want to know , it's a subroutine ( a case) that the program will recall in if it detects that the system is actually not a 32-bit system and the
exit 1 indicates that the program will exit . after knowing this we need to modify this line so here is what we do.
I for kicks and giggles am going to modify it as follows below :
# the architecture is not supported
exit_cpu () {
echo "Hey now this architecture is supported yeppy"
The above section I am going to refrence as Code B
10 - All you have to do is replace Code A with Code B in the text editor, and then click
File in the top menu then
save which will save this work that we have done.
11 - Now to test our changes , we are going to run the installer go to the terminal and type :
a-
cd install_flash_player_7_linux press enter . then
b-
./flashplayer-installer press enter and the setup should start. follow the setup instructions in the terminal.
12 - At the end of the setup it might inform you about a file called
xpti.dat and tells you that the root should delete it,
13 - Close everything and logout , then login as root , that can be done by typing root at the login screen in the usernmae textbox, and then you type the root's password in the password textbox which you should know you are screwed and have to reinstall your Linux OS.
14 - After you login as root , navigate to the following directory
/usr/lib/mozilla/components there you will find a file called
xpti.dat delete this xpti.dat file.
15 - Logout then login as the usual user in my case I type linuxator in the username textbox , then I type my password in the password textbox, then I press enter.
17 - Launch firefox , then navigate to
www.anandtech.com if firefox doesn't give you a note that a missing flash plugin needs to be installed, and you can see those flash ads at the top then congrats :beer:
You have installed flash and it's working properly.
If not then give Macromedia a call and tell them there Linux support sucks and you want a 64-bit version of flash or else :| .
I hope my instructions above are organised enough.