Results 1 to 3 of 3

Thread: two installs of an app, one via apt, one via snap?

  1. #1
    Join Date
    Feb 2009
    Beans
    45

    two installs of an app, one via apt, one via snap?

    i'm wondering if i can use the native apt install of an app for some things and also have a snap install for others. i use ffmpeg some and the apt repository has an older version. for some things, i'd like to be able to use the newer version in the snap store. is this possible? is there any info on how to go about this? normally, i'd just uninstall the apt version but i'm using ubuntu studio and removing ffmpeg breaks a lot of things for me.

    thanks,
    babag

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: two installs of an app, one via apt, one via snap?

    You can have both the .deb ffmpeg package & snap ffmpeg installed at same time, no conflict there..
    When you have both then the .deb binary(s) will always be used over the snap binary(s) as /snap/bin is last in $PATH
    Only way to use the snap ffmpeg binary is to explicitly do so, i.e /snap/bin/ffmpeg blah, blah or snap run ffmpeg blah, blah

    If an application uses the ffmpeg binary then it'll use 1st one found in $PATH.

  3. #3
    Join Date
    Feb 2009
    Beans
    45

    Re: two installs of an app, one via apt, one via snap?

    thanks, mc4man! that's actually great. lets me keep the ubuntu studio install intact while getting the benefits of some newer conversion features. very helpful.

    thanks again,
    babag

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
  •