this post was submitted on 04 May 2024
237 points (84.5% liked)

linuxmemes

21355 readers
2068 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] MonkderDritte@feddit.de 4 points 6 months ago* (last edited 6 months ago) (1 children)

    So they have somewhere a dpkg hook but still install it if you toggle that option?

    [–] boredsquirrel 9 points 6 months ago* (last edited 6 months ago) (1 children)

    It is the same thing. Just that base Ubuntu supposedly doesnt have snap, but sudo apt install firefox installs snap and then snap firefox.

    So not sure why the base install doesnt have snap, but it mailny lacks FF and TB which are only available as snap and will automatically pull snap in.

    [–] zecg@lemmy.world 1 points 6 months ago (2 children)

    You should add a PPA before installing so it has a source for non-snap Firefox

    [–] jnk@sh.itjust.works 4 points 6 months ago

    Either that or stop babysitting canonical and use debian instead

    [–] boredsquirrel 1 points 6 months ago

    Mozilla has the instructions. but it is more than just adding the repo.

    # create dir for apt keyrings
    sudo install -d -m 0755 /etc/apt/keyrings
    
    # add apt repo key
    wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
    
    # verify the apt repo
    gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\n"}'
    
    # add apt repo
    echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
    
    # change apt preferences to ACTUALLY USE THIS REPO
    echo '
    Package: *
    Pin: origin packages.mozilla.org
    Pin-Priority: 1000
    ' | sudo tee /etc/apt/preferences.d/mozilla 
    
    # install
    sudo apt update && sudo apt install firefox