1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{4469:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/installation/linux",function(){return t(3959)}])},9913:function(e,n,t){"use strict";function a(e,n,t,a,i,o,s){try{var l=e[o](s),r=l.value}catch(c){return void t(c)}l.done?n(r):Promise.resolve(r).then(a,i)}t.d(n,{n:function(){return d}});var i=t(1799),o=t(7582),s=t(5893),l=t(3805),r=t(818);function c(e,n,t,s){return{id:e,getDownload:function(){return fetch("https://librewolf.dev/api/v1/repos/".concat(n,"/releases/latest")).then((function(e){return e.json()})).then(function(){var l,r=(l=function(a){var l;return(0,o.__generator)(this,(function(o){if(!(l=a.assets.find((function(e){return e.name.endsWith(t)&&(!s||!e.name.endsWith(s))}))))throw new Error("Can't find any release asset for Codeberg repo ".concat(n," with filter *").concat(t));return[2,{id:e,name:l.name,url:l.browser_download_url,otherDownloadsUrl:"https://librewolf.dev/".concat(n,"/releases"),otherDownloadsString:"View all versions and release notes",data:(0,i.Z)({repo:n,endsWith:t},s?{doesntEndWith:s}:{})}]}))},function(){var e=this,n=arguments;return new Promise((function(t,i){var o=l.apply(e,n);function s(e){a(o,t,i,s,r,"next",e)}function r(e){a(o,t,i,s,r,"throw",e)}s(void 0)}))});return function(e){return r.apply(this,arguments)}}())}}}function d(e){var n=e.id,t=e.secondaryId,a=(0,l.useSSG)().initialDownloads,i=a[n],o=a[t];return(0,s.jsx)(r.o,{downloadPromise:c(n,i.data.repo,i.data.endsWith,i.data.doesntEndWith),secondaryDownloadPromise:t&&c(t,o.data.repo,o.data.endsWith,o.data.doesntEndWith)})}},818:function(e,n,t){"use strict";t.d(n,{o:function(){return c}});var a=t(5893),i=t(357),o=t.n(i),s=t(3805),l=t(7294),r=t(2072);function c(e){var n=e.downloadPromise,t=e.secondaryDownloadPromise,i=(0,s.useSSG)().initialDownloads,c=(0,l.useState)(i[n.id]),d=c[0],u=c[1],h=(0,l.useState)(i[null===t||void 0===t?void 0:t.id]),p=h[0],m=h[1];return(0,l.useEffect)((function(){n.getDownload().then(u).catch((function(){}))}),[n]),(0,l.useEffect)((function(){null===t||void 0===t||t.getDownload().then(m).catch((function(){}))}),[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"jsx-7b6871bab412b2b5",children:[(0,a.jsxs)(r.Z,{primary:!0,href:d.url,margin:0,children:["Download ",(0,a.jsx)("small",{className:"jsx-7b6871bab412b2b5",children:d.name})]}),p&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{className:"jsx-7b6871bab412b2b5"}),(0,a.jsxs)("a",{href:p.url,className:"jsx-7b6871bab412b2b5",children:["Download ",(0,a.jsx)("small",{className:"jsx-7b6871bab412b2b5",children:p.name})]}),(0,a.jsx)("br",{className:"jsx-7b6871bab412b2b5"})]}),d.otherDownloadsUrl&&(0,a.jsx)("a",{href:d.otherDownloadsUrl,className:"jsx-7b6871bab412b2b5",children:d.otherDownloadsString||"View all versions"}),(0,a.jsx)(o(),{id:"7b6871bab412b2b5",children:"p.jsx-7b6871bab412b2b5 .button{white-space:nowrap;max-width:-webkit-calc(100vw - 100px);max-width:-moz-calc(100vw - 100px);max-width:calc(100vw - 100px);overflow:hidden;margin-right:15px}a.jsx-7b6871bab412b2b5{margin-top:7px;display:inline-block;vertical-align:top}"})]}),d.sha256&&(0,a.jsxs)("small",{children:["SHA256: ",(0,a.jsx)("code",{children:d.sha256})]})]})}},2608:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var a=t(5893),i=t(357),o=t.n(i),s=t(1163),l=t(7294),r=t(7782),c=t(8310);function d(){var e=(0,s.useRouter)(),n=(0,l.useMemo)((function(){return e.asPath.split("/")[2]||""}),[e]),t=(0,l.useState)(n),i=t[0],d=t[1],u=(0,l.useMemo)((function(){return r.Z.find((function(e){return e.slug===i}))}),[i]);return(0,l.useEffect)((function(){d((function(e){return e}))}),[]),(0,l.useEffect)((function(){i!==n&&e.push("/installation/".concat(i))}),[n,i,e]),(0,a.jsxs)("div",{className:"jsx-19f75ca33c119a63 header",children:[(0,a.jsxs)("h1",{className:"jsx-19f75ca33c119a63 select",children:["Installation instructions for"," ",(0,a.jsxs)("div",{className:"jsx-19f75ca33c119a63 repo",children:[u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z,{src:u.logo,alt:"".concat(u.name," Logo"),className:"hide-dark"}),(0,a.jsx)(c.Z,{src:u.logoDark||u.logo,alt:"".concat(u.name," Logo"),className:"hide-light"})]}),(0,a.jsxs)("select",{value:i,onChange:function(e){return d(e.target.value)},className:"jsx-19f75ca33c119a63 focus:ring",children:[(0,a.jsx)("option",{value:"",disabled:!0,hidden:!0,className:"jsx-19f75ca33c119a63",children:"..."}),r.Z.filter((function(e){return!e.hidden||e.slug===i})).map((function(e){return(0,a.jsx)("option",{value:e.slug,className:"jsx-19f75ca33c119a63",children:e.name},e.slug)}))]})]})]}),(0,a.jsx)(o(),{id:"19f75ca33c119a63",children:".header.jsx-19f75ca33c119a63{margin-bottom:50px}h1.jsx-19f75ca33c119a63{line-height:1.4em}.repo.jsx-19f75ca33c119a63{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateY(4px);-moz-transform:translateY(4px);-ms-transform:translateY(4px);-o-transform:translateY(4px);transform:translateY(4px)}.repo.jsx-19f75ca33c119a63 img{width:1em;height:1em;display:inline;margin-left:10px;margin-right:5px}select.jsx-19f75ca33c119a63{font-weight:600;-webkit-border-radius:.25rem;-moz-border-radius:.25rem;border-radius:.25rem;background:transparent}"})]})}}
1,7782:function(e,n){"use strict";n.Z=[{name:"Windows",slug:"windows",logo:"/icons/windows.svg"},{name:"Arch Linux",slug:"arch",logo:"/icons/archlinux.svg"},{name:"Debian based",subtitle:"(Debian, Ubuntu, Mint, etc.)",slug:"debian",logo:"/icons/debian.svg"},{name:"Gentoo",slug:"gentoo",logo:"/icons/gentoo.svg"},{name:"RHEL distros",subtitle:"(Fedora, AlmaLinux, Rocky Linux, etc.)",slug:"rhel",logo:"/icons/rhel.svg"},{name:"openSUSE",subtitle:"(Leap, Tumbleweed, Slowroll)",slug:"opensuse",logo:"/icons/opensuse.svg",logoDark:"/icons/opensuse.svg"},{name:"Other Linux",slug:"linux",logo:"/icons/tux.png"},{name:"macOS",slug:"macos",logo:"/icons/apple.svg",logoDark:"/icons/apple-white.svg"},{name:"OpenBSD",slug:"openbsd",logo:"/icons/openbsd.png"}]},3959:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return x},default:function(){return b}});var a=t(1799),i=t(9396),o=t(5893),s=t(5173),l=t(3805),r=t(1177),c=t(1151),d=t(2608),u=(t(2072),t(9913)),h=[{name:"community-art",route:"/community-art",frontMatter:{title:"Community Art"}},{name:"debian-migration",route:"/debian-migration",frontMatter:{title:"Debian Migration Guide"}},{name:"docs",children:[{name:"addons",route:"/docs/addons"},{name:"faq",route:"/docs/faq"},{name:"features",route:"/docs/features"},{name:"installation",route:"/docs/installation"},{name:"meta.json",meta:{installation:{},features:{},faq:{title:"FAQ"},settings:{title:"Settings and Overrides"},support:{},addons:{title:"Recommended Addons"},security:{title:"Report a Security Issue"},testing:{title:"Browser Tests"}}},{name:"security",route:"/docs/security"},{name:"settings",route:"/docs/settings"},{name:"testing",route:"/docs/testing"}],route:"/docs"},{name:"index",route:"/",frontMatter:{title:"About"}},{name:"installation",children:[{name:"arch",route:"/installation/arch",frontMatter:{title:"Arch Linux Installation"}},{name:"debian",route:"/installation/debian",frontMatter:{title:"Installation on Debian based systems"}},{name:"gentoo",route:"/installation/gentoo",frontMatter:{title:"Gentoo Installation"}},{name:"index",route:"/installation",frontMatter:{title:"Installation"}},{name:"linux",route:"/installation/linux",frontMatter:{title:"Other Linux Installation"}},{name:"macos",route:"/installation/macos",frontMatter:{title:"macOS Installation"}},{name:"meta.json",meta:{windows:"Windows",arch:"Arch Linux",debian:"Debian based",gentoo:"Gentoo",rhel:"RHEL distros",opensuse:"openSUSE",linux:"Other Linux",macos:"macOS",openbsd:"OpenBSD",index:{type:"nav",hidden:!0}}},{name:"openbsd",route:"/installation/openbsd",frontMatter:{title:"Installation on OpenBSD"}},{name:"opensuse",route:"/installation/opensuse",frontMatter:{title:"openSUSE Installation"}},{name:"rhel",route:"/installation/rhel",frontMatter:{title:"RHEL Installation (for Fedora 41+ or RHEL compatible distros)"}},{name:"windows",route:"/installation/windows",frontMatter:{title:"Windows Installation"}}],route:"/installation"},{name:"license-disclaimers",route:"/license-disclaimers",frontMatter:{title:"License and Disclaimers"}},{name:"meta.json",meta:{index:{title:"About",type:"nav",hidden:!0},installation:{type:"nav"},docs:{type:"nav"},"community-art":{title:"Community Art",type:"nav"},"license-disclaimers":{title:"License and Disclaimers",type:"nav",hidden:!0},"privacy-policy":{title:"Privacy Policy",type:"nav",hidden:!0},"debian-migration":{title:"Debian Migration Guide",type:"nav"}}},{name:"privacy-policy",route:"/privacy-policy"}];globalThis.__nextra_internal__={pageMap:h,route:"/installation/linux"};var p=(0,o.jsx)(g,{}),m=(0,l.withSSG)((0,s.Z)({filename:"linux.mdx",route:"/installation/linux",meta:{title:"Other Linux Installation"},pageMap:h,titleText:void 0,headings:[{type:"heading",depth:2,children:[{type:"text",value:"Flatpak",position:{start:{line:18,column:4,offset:554},end:{line:18,column:11,offset:561}}}],position:{start:{line:18,column:1,offset:551},end:{line:18,column:11,offset:561}},value:"Flatpak"},{type:"heading",depth:3,children:[{type:"text",value:"Security",position:{start:{line:59,column:5,offset:1736},end:{line:59,column:13,offset:1744}}}],position:{start:{line:59,column:1,offset:1732},end:{line:59,column:13,offset:1744}},value:"Security"},{type:"heading",depth:2,children:[{type:"text",value:"AppImage",position:{start:{line:75,column:4,offset:2404},end:{line:75,column:12,offset:2412}}}],position:{start:{line:75,column:1,offset:2401},end:{line:75,column:12,offset:2412}},value:"AppImage"},{type:"heading",depth:3,children:[{type:"text",value:"Installing",position:{start:{line:79,column:5,offset:2468},end:{line:79,column:15,offset:2478}}}],position:{start:{line:79,column:1,offset:2464},end:{line:79,column:15,offset:2478}},value:"Installing"},{type:"heading",depth:3,children:[{type:"text",value:"Updating or Uninstalling",position:{start:{line:92,column:5,offset:2959},end:{line:92,column:29,offset:2983}}}],position:{start:{line:92,column:1,offset:2955},end:{line:92,column:29,offset:2983}},value:"Updating or Uninstalling"},{type:"heading",depth:2,children:[{type:"text",value:"Compiling from source",position:{start:{line:105,column:4,offset:3423},end:{line:105,column:25,offset:3444}}}],position:{start:{line:105,column:1,offset:3420},end:{line:105,column:25,offset:3444}},value:"Compiling from source"}],hasH1:!1},r.Z));function f(e){var n=Object.assign({p:"p",h2:"h2",a:"a",pre:"pre",code:"code",strong:"strong",em:"em",div:"div",span:"span",h3:"h3",img:"img"},(0,c.ah)(),e.components);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(d.Z,{}),"\n",(0,o.jsx)(n.p,{children:"To install LibreWolf on any other Linux Distribution, you have three options"}),"\n",(0,o.jsx)(n.h2,{id:"flatpak",children:"Flatpak"}),"\n",(0,o.jsxs)(n.p,{children:["If your distribution doesn't include it by default, check out\n",(0,o.jsx)(n.a,{href:"https://www.flatpak.org/setup/",children:"Set up Flatpak"})," to find out how to install it."]}),"\n",(0,o.jsxs)(n.p,{children:["To add the ",(0,o.jsx)(n.a,{href:"https://flathub.org",children:"Flathub repository"}),", use:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\n"})}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:(0,o.jsx)(n.em,{children:"NOTE"})}),': You can also restrict the repository, for example "only free libre\nopen source" or "only verified apps". The Librewolf Flatpak is verified, so you\ncan use the subset:']}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"flatpak remote-add --subset=verified flathub https://dl.flathub.org/repo/flathub.flatpakrepo\n\n# or when already added, check if all your apps are verified, or they don't get updates!\nflatpak remote-modify --subset=verified flathub\n\n# to remove the subset:\nflatpak remote-modify --subset= flathub\n"})}),"\n",(0,o.jsxs)(n.p,{children:["To install\n",(0,o.jsx)(n.a,{href:"https://flathub.org/apps/details/io.gitlab.librewolf-community",children:"from Flathub"}),":"]}),"\n",(0,o.jsx)(n.div,{"data-rehype-pretty-code-fragment":"","data-nextra-code":"",children:(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{"data-language":"bash","data-theme":"default",children:(0,o.jsx)(n.span,{className:"line",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:"flatpak install flathub io.gitlab.librewolf-community"})})})})}),"\n",(0,o.jsx)(n.p,{children:"For running it, you can find it in the app menu, or use"}),"\n",(0,o.jsx)(n.div,{"data-rehype-pretty-code-fragment":"","data-nextra-code":"",children:(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{"data-language":"bash","data-theme":"default",children:(0,o.jsx)(n.span,{className:"line",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:"flatpak run io.gitlab.librewolf-community"})})})})}),"\n",(0,o.jsx)(n.p,{children:"Make sure to set it as default browser in the system settings, as the Flatpak is\nnot allowed to access them."}),"\n",(0,o.jsx)(n.h3,{id:"security",children:"Security"}),"\n",(0,o.jsxs)(n.p,{children:["Flatpak apps run sandboxed from the system via bubblewrap, which adds a layer of\nprotection. But this\n",(0,o.jsx)(n.a,{href:"https://bugzilla.mozilla.org/show_bug.cgi?id=1756236",children:"prevents the browser from using its usual sandbox"}),"\nfor process isolation."]}),"\n",(0,o.jsx)(n.p,{children:"Processes are still isolated through nested seccomp filters."}),"\n",(0,o.jsxs)(n.p,{children:["Flatpak supports process isolation via ",(0,o.jsx)(n.code,{children:"flatpak-spawn"}),", which\n",(0,o.jsx)(n.a,{href:"https://github.com/refi64/zypak",children:"zypak"})," and the\n",(0,o.jsx)(n.a,{href:"https://flathub.org/apps/org.chromium.Chromium",children:"unofficial Chromium Flatpak"}),"\nuse. This would cause a\n",(0,o.jsx)(n.a,{href:"https://bugzilla.mozilla.org/show_bug.cgi?id=1756236#c7",children:"big increase in memory use"}),"\nin Firefox/Librewolf though, so it is not a viable solution."]}),"\n",(0,o.jsx)(n.h2,{id:"appimage",children:"AppImage"}),"\n",(0,o.jsx)(u.n,{id:"appimageDownload"}),"\n",(0,o.jsx)(n.h3,{id:"installing",children:"Installing"}),"\n",(0,o.jsxs)(n.p,{children:["To install LibreWolf permanently via an AppImage, we recommend\n",(0,o.jsx)(n.a,{href:"https://github.com/TheAssassin/AppImageLauncher",children:"AppImageLauncher"}),"."]}),"\n",(0,o.jsxs)(n.p,{children:["With AppImageLauncher installed, you just need to open the AppImage with\nAppImageLauncher and click ",(0,o.jsx)(n.code,{children:"Integrate and run"}),". LibreWolf should then be\npermanently installed on your system and launchable via the application menu."]}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"/screenshots/open-with-appimagelauncher.png",alt:""})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"/screenshots/appimagelauncher-desktop-integration-dialog.png",alt:""})}),"\n",(0,o.jsx)(n.h3,{id:"updating-or-uninstalling",children:"Updating or Uninstalling"}),"\n",(0,o.jsxs)(n.p,{children:["To update or uninstall LibreWolf from your system, you can just right click the\nLibreWolf application menu entry and click either ",(0,o.jsx)(n.code,{children:"Remove AppImage from system"}),"\nor ",(0,o.jsx)(n.code,{children:"Update AppImage"}),"."]}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"/screenshots/appimagelauncher-librewolf-context-menu.png",alt:""})}),"\n",(0,o.jsx)(n.p,{children:"After pressing the update button, the whole update process will be completely\nautomatic and you don't have to do anything else."}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"/screenshots/appimagelauncher-update-found-dialog.png",alt:""})}),"\n",(0,o.jsx)(n.h2,{id:"compiling-from-source",children:"Compiling from source"}),"\n",(0,o.jsxs)(n.p,{children:["To compile LibreWolf from source, you can take a look at the ",(0,o.jsx)(n.code,{children:"README.md"})," in the\n",(0,o.jsx)(n.a,{href:"https://librewolf.dev/librewolf/source",children:"source repository"}),"."]})]})}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,c.ah)(),e.components),t=n.wrapper;return t?(0,o.jsx)(t,(0,i.Z)((0,a.Z)({},e),{children:(0,o.jsx)(f,(0,a.Z)({},e))})):f(e)}var x=!0;function b(e){return(0,o.jsx)(m,(0,i.Z)((0,a.Z)({},e),{children:p}))}b.getLayout=m.getLayout}},function(e){e.O(0,[468,379,774,888,179],(function(){return n=4469,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.