Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: How do I install this app from this download page- ?

  1. #1
    Join Date
    Dec 2013
    Beans
    776

    How do I install this app from this download page- ?

    I'm using Ubuntu 12.04 lts. I had problems getting this app to work on multiple 14.04 lts, so I am sticking with 12.04 lts

    I've tried to download/extract the first two on this list at: http://ubuntuforums.org/showthread.php?t=2296918

    I will now try to install the 4th one and link to a video of what I'm doing and I need help to download/install/extract this and get an icon for it to place on my dock:

    Here is the movie:

    https://youtu.be/IUySNhjOkeE


  2. #2
    Join Date
    May 2015
    Beans
    5

    Re: How do I install this app from this download page- ?

    The file you have there is a pre-compiled binary executable. I am not sure about that particular application but I do not believe it is an installer. You should move it to location where it will reside and be executed from (/usr/bin is a good choice). To make a desktop entry you will need to create a unity .desktop file. Additionally, I do not believe that that file is currently executable, you need to change its permissions to executable, this can be done from terminal with:
    chmod 755 snes9x-gtk
    If you copy the file to /usr/bin, a .desktop file could be named snes9x-gtk.desktop and formatted:
    [Desktop Entry]
    Version=1.0
    Name=SNES-GTK
    Comment=A GTK compatible SNES emulator
    Exec=snes9x-gtk
    Icon=/home/michael-piziak/Documents/snes.png
    Terminal=false
    Type=Application
    Categories=Utility;Application;Game;
    You would then follow the Ubuntu Wiki's advice for adding a .desktop file to unity

    You can place your .desktop file at /usr/share/applications/ or at ~/.local/share/applications/. After moving your file there, search for it in the Dash (Windows key -> type the name of the application) and drag and drop it to the Unity Launcher. Now your launcher (.desktop file) is locked on the Unity Launcher! If your desktop file cannot be found by doing a search from the Dash, you may need to read on...

  3. #3
    Join Date
    Dec 2013
    Beans
    776

    Re: How do I install this app from this download page- ?

    ok, where is this /usr/bin folder at? I currently have the downloaded file "snes9x-1.53-src.tar.bz2" sitting on my desktop.

    See my screenshot of me searching for the hidden folder below:
    Attached Images Attached Images
    Last edited by michael-piziak; November 29th, 2015 at 10:19 AM.

  4. #4
    Join Date
    Oct 2006
    Beans
    58,286

    Re: How do I install this app from this download page- ?

    Quote Originally Posted by michael-piziak View Post
    ok, where is this /usr/bin folder at?
    Click on the "File System" option in the left hand window pane, then you'll see the /usr folder..

  5. #5
    Join Date
    Dec 2013
    Beans
    776

    Re: How do I install this app from this download page- ?

    ok howefield, thanks I found it.

    However, it won't let me move the file to that folder. See screenshot below
    Attached Images Attached Images

  6. #6
    Join Date
    Oct 2006
    Beans
    58,286

    Re: How do I install this app from this download page- ?

    Yep, you'll need elevated permissions to write to that folder.

    Either open the file manager as root or use the terminal to move the file to that folder.

    Code:
    gksudo nautilus
    or

    Code:
    sudo cp path/to/source/file /usr/bin/
    Close the file manager once you are done, and minimise the risk of doing something regrettable.

  7. #7
    Join Date
    Dec 2013
    Beans
    776

    Re: How do I install this app from this download page- ?

    ok, I did the gksudo nautilus command in terminal and was able to drag it to bin and it made a copy of it in bin. I placed the desktop copy back in the download folder for the time being.

    Now, when I type in "chmod 755 snes9x-gt" into terminal I get the following:

    michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$ chmod 755 snes9x-gtk
    chmod: cannot access `snes9x-gtk': No such file or directory
    michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$

  8. #8
    Join Date
    Oct 2006
    Beans
    58,286

    Re: How do I install this app from this download page- ?

    Is this the file that you have just moved into /usr/bin/ ?

    Try

    Code:
    sudo chmod 755 /usr/bin/snes9x-gtk

  9. #9
    Join Date
    Dec 2013
    Beans
    776

    Re: How do I install this app from this download page- ?

    Quote Originally Posted by howefield View Post
    Is this the file that you have just moved into /usr/bin/ ?

    Try

    Code:
    sudo chmod 755 /usr/bin/snes9x-gtk
    Yes, the file was moved to bin and it made an exact copy of it in there - then I moved the file still on desktop back to the download folder.


    Still can't get the command to work, I get:

    michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$ sudo chmod 755 /usr/bin/snes9x-gtk
    [sudo] password for michael:
    chmod: cannot access `/usr/bin/snes9x-gtk': No such file or directory
    michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$


    See screenshot below:
    Attached Images Attached Images

  10. #10
    Join Date
    Oct 2006
    Beans
    58,286

    Re: How do I install this app from this download page- ?

    The error is telling you what is wrong.. there is no file called snes9x-gtk in the folder.

    There is however a file called snes9x-1.53-src.tar.bz2.

    I haven't read the link you posted in the OP but suspect that you have missed a step.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •