Cant install .bin program

Asked by randy hernandez villegas

i dowload a program called packet tracer from cisco web for linux in .bin but when i try to install i cant open it

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

mark it as executable then run it prefixed with sudo, it's probably a script or installer binary.

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#2

i market as exucutable
randy@randy-Aspire-5100:~$ sudo chmod +x PacketTracer52_*.bin
chmod: cannot access `PacketTracer52_*.bin': No such file or directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Why did you use sudo for the chmod, the file is YOURS so you don't need extra access to change the access on your own files, not EVERY command in terminal needs sudo and using sudo when not needed can break permissions.

If you can give the full name and location of the file (case sensitive in every way), I can advise.

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#4

Home/Dowloads/PacketTracer533_i386_installer-deb.bin

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#5

You ran the command in /home/randy and not in /home/randyDownloads

you cannot expect to just fire commands in random paths and expect the OS to know what you mean. If the folder you run the command in does not contain the file you name, then it wil rightfully tell you the file doesn't exist. If you use absolute paths to the file then you can run it from anywhere. This will work:

chmod +x ~/Downloads/PacketTracer533_i386_installer-deb.bin
sudo ~/Downloads/PacketTracer533_i386_installer-deb.bin

The ~ character is just a shorthand for $HOME or /home/$USER and makes things easier to read :)

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#6

thanks i can extract the file and terminal screen display the packt tracer agreement and appears
Setting up packettracer (5.3.3) ...
Installed files. Please wait for post-install operations to finish..
gtk-update-icon-cache: Cache file created successfully.
Writing PT5HOME environment variable to /etc/profile
Processing triggers for man-db ...
Processing triggers for gnome-icon-theme ...
randy@randy-Aspire-5100:~$

this mean i can install the program?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

looks fine, no errors or warning

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#8

but i try to open it and still have problems , i select the file wt double click and said i cant open because is unknow file , how i can install ?
thanks i m new customer , i been tried ubuntu for 3 days ago , i really dont know how it works

Revision history for this message
Anton Kanishchev (ak12-deactivatedaccount) said :
#9

You have installed the program--now simply find it by searching packet tracer using the super key (windows key)...

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#10

thanks now i can run

Revision history for this message
randy hernandez villegas (hernandezvillegas) said :
#11

Thanks actionparsnip, that solved my question.