Terminal > Windows Registry.

  • PoolloverNathan@programming.dev
    link
    fedilink
    English
    arrow-up
    20
    ·
    7 months ago

    LiNuX uSeR iNsTaLlInG A BrOwSeR haha

    yeah uh…

    • sudo apt install firefox
    • sudo xbps-install firefox
    • sudo pacman -Syu firefox
    • nix-env -iA firefox
      • dezmd@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        7 months ago

        Yeah, totally.

        Just imagine trying to do this with Windows Powershell, without a package manager like chocolatey to make it simple like linux…

        $workdir = "c:\installer\"
        
        If (Test-Path -Path $workdir -PathType Container)
        
        { Write-Host "$workdir already exists" -ForegroundColor Red}
        
        ELSE
        
        { New-Item -Path $workdir  -ItemType directory }
        
        $source = "https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US"
        
        $destination = "$workdir\firefox.exe"
        
        if (Get-Command 'Invoke-Webrequest')
        
        {
        
             Invoke-WebRequest $source -OutFile $destination
        
        }
        
        else
        
        {
        
            $WebClient = New-Object System.Net.WebClient
        
            $webclient.DownloadFile($source, $destination)
        
        }
        
        Start-Process -FilePath "$workdir\firefox.exe" -ArgumentList "/S"
        
        Start-Sleep -s 35
        
        rm -Force $workdir/firefox*
        
    • overcast5348@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      7 months ago

      It’s been 8+ years since I last used Ubuntu on my laptop. I faced massive issues with staying on the latest version of Firefox because apt had a much older version, and installing using the gui installer wouldn’t replace the apt version etc etc. Probably a PEBKAC issue…

      But, I do want to know- is this not an issue any more? Will apt install the latest (or almost latest) version of Firefox? Can I update it from the inbuilt update tool in Firefox?

      • ulterno@lemmy.kde.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        When you choose a distro, you generally choose to follow what the maintainers give you as the “latest”.
        Or you get snap/flatpak/AppImage.

        I, personally, would go with AppImage, probably because I once made some myself and liked them.

      • alvendam@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        3
        ·
        7 months ago

        Can I update it from the inbuilt update tool in Firefox?

        Universally regarded as a bad idea on Ubuntu based distros as far as my research goes.

        Probably a PEBKAC issue…

        Staying on the OTB repos in LTS distros and then complaining about software being slow to update is like staying on the OTB mirror, and then complaining that your download speeds suck.

        I’m a Linux noob through and trough, use Glorious Mint, but like… How to get a newer version of VLC, than distributed by upstream is probably the first thing I figured out how to do.

        • overcast5348@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          I don’t know why you are being an ass to me. I literally admitted that my lack of skill was the issue right at the beginning.

          And then people wonder why noobs don’t want to bother with Linux.

        • Kühe sind toll@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          Can I update it from the inbuilt update tool in Firefox?

          Universally regarded as a bad idea on Ubuntu based distros as far as my research goes.

          Why?

          • alvendam@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            Dunno, but in every forum I’ve looked, people say not to use it, but let the updates go through the package manager. Sometimes even on threats of FUBARing your system. Could be that all these people are giving old info that’s not true, but I never tried it - don’t wanna go on the forums and start the thread with “I explicitly did what people say not to. How fix?”

            • Rustmilian@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              7 months ago

              The reason why is because of dependency hell and general packaging conflicts that could occur. You can go with the tar, snap, appimage or flatpak. If you do decide to use the system level package from a 3rd party, just be aware of the risks and be careful. The issue lay within the difference in standards, the usual target for these companies is Debian using the Debian packaging guidelines, while Ubuntu has their own, Ubuntu and Debian also have different release cycles which can lead to conflict with certain packages.
              Perhaps, if you’re needs aren’t met maybe moving to a semi-rolling or rolling distro is best.

              Edit : typos

              • alvendam@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                7 months ago

                Oh, that makes sense, thank you. I’m really happy with mint. Pretty sure switching to the nightly repos got me most of what I need, for the rest there’s PPAs. Rolling release sounds tempting sometimes, trying out Plasma on a distro that supports it is also tempting, but so far I can’t be bothered. Mint seems to just work. :D