• SoftestSapphic@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    4
    ·
    edit-2
    2 days ago

    Me: Hey Linux can you open my .exe for me? Windows just makes me doubleclick the file so it should be easy.

    Linux:

    Executes Under Windows

    If the file is a windows file, it will not run under Linux on it’s own. So if that’s the case, you could try running it under a windows emulator (WINE). If it’s not compatible with wine, then you won’t be able to execute it under Linux.

    Before you can start, you will need to install wine. The steps you need to install wine will vary on the linux platform you are on. You can probably google “Ubuntu install wine”, if for example, you’re installing ubuntu.

    Once you have wine installed, then you’d be able to execute these commands.

    cd abc/ wine info.exe

    Execute Under Linux

    if you know this file to run under linux, then you’ll want to execute these commands:

    Change to your abc directory

    cd abc/

    Then you’ll want to change permissions to allow all users to execute this file (a+x). you could also allow just the user to execute (u+x)

    chmod a+x info.exe

    Launch the program, the ./ tells the command line to look in the current path for the file to execute (if the ‘current’ directory isn’t in the $PATH environment variable.

    ./info.exe

    • Dicska@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 days ago

      While it does feel like that from a Windows user’s perspective, you’re comparing running Windows executables on Windows with running Windows executables on Linux - no wonder it’s not as simple on Linux. Do you know what else is not that simple? Running Linux executables on Windows. In order to do that, you have to…

      • SoftestSapphic@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 day ago

        I understand all of that.

        It doesn’t change the fact that to execute a file you can’t double click the executable file.

        • Dicska@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          1 day ago

          You mean a Windows executable file. There are executable (Linux) files on Linux that start with a double click.

          • SoftestSapphic@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 day ago

            Which OS has more executable files written for it that a regular user would regularly click on to open and not have to do an hr of troubleshooting?

            I use Mint and jump through hoops daily to do things that don’t require reading documentation on Windows.

            These are unfortunately the kind of things that prevents people from changing OSs

            • Dicska@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              1 day ago

              Which OS has more executable files written for it

              Windows, of course, that’s out of the question. And yes, the problem wouldn’t be as annoying if proper corporate solutions were developed for Linux, as well - which is an investment, and they look at the proportions between the two, and choose the one with the larger user base. Which sucks as well, because the Linux user base is small exactly for the above reason (among others).

              Again, I’m not debating the whole issue at all - I just didn’t find the initial comparison fair, that’s all.

        • 3laws@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 day ago

          HELP HELP MY iPHONE APP DOESNT JUST MAGICALLY OPEN IN ANDROID TV AS A REGULAR APP HELP HELP