Portable apps

Discussion in 'all things UNIX' started by firefox2008, Nov 28, 2012.

Thread Status:
Not open for further replies.
  1. firefox2008

    firefox2008 Registered Member

    Joined:
    May 17, 2007
    Posts:
    125
    How come there isn't a really easy way to use portable apps for Linux? With Windows I can stick them on a USB flash drive.
     
  2. Wild Hunter

    Wild Hunter Former Poster

    Joined:
    Oct 13, 2012
    Posts:
    1,375
    This is a rampant disadvantage of "Linux". Worst than all, the cheerleaders will surely come to this thread with trolling talk about live distros, as if live distros and portable apps were the same thing - they aren't.
     
  3. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,697
    The simple reason is, apps aren't statically compiled.
    You can do that - they will increase in size.
    And then you will end up with Windows size installs and such.

    You can create portable apps easily:

    ldd <binary>
    Copy all listed shared libs + binary to some folder.
    export LD_LIBRARY_PATH=some folder.
    Run binary from said folder.
    Portable.

    Mrk
     
Loading...
Thread Status:
Not open for further replies.