go-ethereum/downloads-cbdcb5f2a012f7c1.js.download
2025-05-19 19:50:10 -04:00

1 line
No EOL
12 KiB
Text

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[526],{6771:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/downloads",function(){return t(7778)}])},7778:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return g},default:function(){return f}});var s=t(5893),l=t(7927),i=t(7294);let n=e=>{let{os:r}=e;return(0,s.jsx)(l.Kq,{p:4,children:(0,s.jsxs)(l.xv,{textAlign:"center",bg:"code-bg",p:3,children:[(0,s.jsxs)("strong",{children:["Geth no longer releases builds for ",r,"."]})," ",r," builds on this page are archival and are not consistent with current Geth."]})})};var o=t(7741),a=t(1664),d=t.n(a),c=t(6886),x=t(1525);let h=e=>{let{currentBuild:r,currentBuildVersion:t,linuxBuildURL:i,releaseNotesURL:n,sourceCodeURL:a,windowsBuildURL:h}=e;return x.O6.linuxBuild.buildURL=i,x.O6.windowsBuild.buildURL=h,x.O6.sourceCode.buildURL=a,(0,s.jsxs)(l.rj,{border:"2px solid",borderColor:"primary",p:4,templateColumns:{base:"repeat(1, 1fr)",lg:"1fr 430px"},gap:4,children:[(0,s.jsxs)(l.Kq,{children:[(0,s.jsxs)(l.rj,{mb:4,templateColumns:{base:"repeat(1, 1fr)",md:"1fr 300px",lg:"1fr"},gap:4,py:4,children:[(0,s.jsxs)(l.Kq,{children:[(0,s.jsx)(l.xu,{as:"h1",textStyle:"h1",children:"Download go-ethereum"}),(0,s.jsx)(l.xv,{fontFamily:'"JetBrains Mono", monospace',lineHeight:"21px",mb:{base:"4 !important",md:"8 !important"},color:"body",children:r}),(0,s.jsx)(l.xv,{mb:4,color:"body",children:"You can download the latest 64-bit stable release of Geth for our primary platforms below. Packages for all supported platforms, as well as develop builds, can be found further down the page. If you're looking to install Geth and/or associated tools via your favorite package manager, please check our installation guide."})]}),(0,s.jsx)(l.M5,{p:{base:0,md:8},flex:{base:"none"},display:{base:"block",lg:"none"},order:{base:-1,md:1},children:(0,s.jsx)(c.A8,{"aria-label":"Gopher plugged in",w:{base:"100%"}})})]}),(0,s.jsx)(l.rj,{templateColumns:{base:"repeat(1, 1fr)",md:"repeat(2, 1fr)"},gap:4,children:Object.keys(x.O6).map(e=>{let{name:r,buildURL:i,Svg:n,ariaLabel:a}=x.O6[e];return(0,s.jsx)(d(),{href:i,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(o.zx,{as:"a",variant:"primary",width:{base:"100%"},h:16,"data-group":!0,children:(0,s.jsxs)(l.Ug,{spacing:4,children:[(0,s.jsx)(l.Kq,{alignItems:"center",children:(0,s.jsx)(n,{"aria-label":a,maxH:"44px",_groupHover:{color:"yellow.50"},_groupFocus:{color:"yellow.50"},_groupActive:{color:"yellow.50"}})}),(0,s.jsxs)(l.xu,{children:[(0,s.jsxs)(l.xv,{textStyle:"downloads-button-label",children:["For ",r]}),(0,s.jsxs)(l.xv,{textStyle:"downloads-button-sublabel",children:["geth ",t]})]})]})})},e)})}),(0,s.jsx)(l.xu,{textAlign:"center",pt:1,pb:2,children:(0,s.jsxs)(l.rU,{href:n,isExternal:!0,variant:"light",children:["Release notes for ",r]})})]}),(0,s.jsx)(l.M5,{display:{base:"none",lg:"flex"},children:(0,s.jsx)(c.A8,{"aria-label":"Gopher plugged in",w:96})})]})},p=e=>{let{id:r,sectionTitle:t,sectionDescription:i,children:n,Svg:o,ariaLabel:a}=e;return(0,s.jsxs)(l.Kq,{border:"2px solid",borderColor:"primary",id:r,children:[o&&(0,s.jsx)(l.Kq,{alignItems:"center",p:4,borderBottom:"2px solid",borderColor:"primary",children:(0,s.jsx)(o,{"aria-label":a})}),(0,s.jsxs)(l.kC,{borderBottom:"2px solid",borderColor:"primary",flexDirection:{base:"column",md:"row"},children:[(0,s.jsx)(l.kC,{p:4,sx:{mt:"0 !important"},flex:"none",children:(0,s.jsx)(l.M5,{children:(0,s.jsx)(l.xv,{as:"h2",textStyle:"h2",children:t})})}),i&&(0,s.jsx)(l.M5,{p:4,borderLeft:{base:"none",md:"2px"},borderTop:{base:"2px",md:"none"},borderColor:"primary !important",children:i})]}),(0,s.jsx)(l.Kq,{spacing:4,sx:{mt:"0 !important"},children:n})]})};var u=t(4199),m=t(5805);let b=e=>{let{linuxData:r,windowsData:t,iOSData:o,androidData:a,totalReleasesNumber:d,amountOfReleasesToShow:c,setTotalReleases:h}=e,p=[r.length,t.length,o.length,a.length],b=c+12,j=(0,i.useMemo)(()=>{let e=window.navigator.platform,r=window.navigator.userAgent;return/Win/i.test(e)?2:/iPhone/i.test(e)?3:/Android/i.test(r)?4:0},[]);return(0,s.jsx)(l.Kq,{sx:{mt:"0 !important"},borderBottom:c<d?"2px solid var(--chakra-colors-primary)":"none",children:(0,s.jsxs)(u.mQ,{variant:"unstyled",onChange:e=>h(p[e]),defaultIndex:j,children:[(0,s.jsx)(u.td,{color:"primary",bg:"button-bg",children:x.sI.map((e,r)=>(0,s.jsx)(u.OK,{w:"20%",p:4,_selected:{bg:"primary",color:"bg"},borderBottom:"2px solid",borderRight:r===x.sI.length-1?"none":"2px solid",borderColor:"primary",children:(0,s.jsx)(l.xv,{textStyle:"download-tab-label",children:e})},e))}),(0,s.jsxs)(u.nP,{children:[(0,s.jsx)(u.x4,{p:0,children:(0,s.jsx)(m.wQ,{columnHeaders:x.Bq,data:r.slice(0,b)})}),(0,s.jsx)(u.x4,{p:0,children:(0,s.jsx)(l.Kq,{p:4,children:(0,s.jsxs)(l.xv,{textAlign:"center",bg:"code-bg",p:3,children:["Mac users should get their builds from"," ",(0,s.jsx)(l.rU,{href:"https://formulae.brew.sh/formula/ethereum",variant:"light",children:"Homebrew"})," ","or compile themselves."]})})}),(0,s.jsx)(u.x4,{p:0,children:(0,s.jsx)(m.wQ,{columnHeaders:x.Bq,data:t.slice(0,c)})}),(0,s.jsxs)(u.x4,{p:0,children:[(0,s.jsx)(n,{os:"iOS"}),(0,s.jsx)(m.wQ,{columnHeaders:x.Bq,data:o.slice(0,c)})]}),(0,s.jsxs)(u.x4,{p:0,children:[(0,s.jsx)(n,{os:"Android"}),(0,s.jsx)(m.wQ,{columnHeaders:x.Bq,data:a.slice(0,c)})]})]})]})})},j=e=>{let{children:r}=e;return(0,s.jsxs)(l.rj,{id:"specificversions",templateColumns:{base:"1fr",md:"300px 1fr"},gap:{base:4,lg:8},children:[(0,s.jsx)(l.P4,{w:"auto",children:(0,s.jsx)(l.xu,{h:"100%",children:(0,s.jsx)(l.Kq,{justifyContent:"center",alignItems:"center",p:4,border:"2px solid",borderColor:"primary",h:"100%",children:(0,s.jsx)(c.F3,{})})})}),(0,s.jsx)(l.P4,{children:(0,s.jsxs)(l.kC,{flexDir:"column",border:"2px solid",borderColor:"primary",pb:6,children:[(0,s.jsx)(l.Kq,{p:4,borderBottom:"2px",borderColor:"primary",sx:{mt:"0 !important"},children:(0,s.jsx)(l.xu,{as:"h2",textStyle:"h2",children:"Specific Versions"})}),r]})})]})};var g=!0,f=e=>{let{data:r}=e,{LATEST_RELEASES_DATA:t,ALL_LINUX_STABLE_RELEASES:n,ALL_LINUX_DEV_BUILDS:o,ALL_WINDOWS_STABLE_RELEASES:a,ALL_WINDOWS_DEV_BUILDS:d,ALL_ANDROID_STABLE_RELEASES:c,ALL_ANDROID_DEV_BUILDS:u,ALL_IOS_STABLE_RELEASES:g,ALL_IOS_DEV_BUILDS:f}=r,[y,w]=(0,i.useState)(x.RJ),[v,k]=(0,i.useState)(x.RJ),[S,C]=(0,i.useState)(n.length),[q,D]=(0,i.useState)(o.length);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.d,{title:x.IS.DOWNLOADS_TITLE,description:x.IS.DOWNLOADS_DESCRIPTION}),(0,s.jsx)("main",{id:"main-content",children:(0,s.jsxs)(l.Kq,{spacing:{base:4,lg:8},children:[(0,s.jsx)(h,{currentBuild:t.releaseName,currentBuildVersion:t.versionNumber,linuxBuildURL:t.urls.LATEST_LINUX_BINARY_URL,windowsBuildURL:t.urls.LATEST_WINDOWS_BINARY_URL,sourceCodeURL:t.urls.LATEST_SOURCES_URL,releaseNotesURL:t.urls.RELEASE_NOTES_URL}),(0,s.jsx)(j,{children:(0,s.jsxs)(l.Kq,{p:4,children:[(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"If you're looking for a specific release, operating system or architecture, below you will find:"}),(0,s.jsxs)(l.QI,{px:4,children:[(0,s.jsx)(l.HC,{children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"All stable and develop builds of Geth and tools"})}),(0,s.jsx)(l.HC,{children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"Archives for non-primary processor architectures"})}),(0,s.jsx)(l.HC,{children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"Android library archives and iOS XCode frameworks"})})]}),(0,s.jsxs)(l.xv,{textStyle:"quick-link-text",children:["Please select your desired platform from the lists below and download your bundle of choice. Please be aware that the MD5 checksums are provided by our binary hosting platform (Azure Blobstore) to help check for download errors. For security guarantees please verify any downloads via the attached PGP signature files (see"," ",(0,s.jsx)(l.rU,{href:"#pgpsignatures",variant:"light",children:"OpenPGP"})," ","Signatures for details)."]})]})}),(0,s.jsxs)(p,{id:"stablereleases",sectionDescription:(0,s.jsxs)(l.xv,{textStyle:"quick-link-text",children:["These are the current and previous stable releases of go-ethereum, updated automatically when a new version is tagged in our"," ",(0,s.jsx)(l.rU,{href:x.L9,isExternal:!0,variant:"light",children:"GitHub repository."})]}),sectionTitle:"Stable releases",children:[(0,s.jsx)(b,{linuxData:n,windowsData:a,iOSData:g,androidData:c,totalReleasesNumber:S,amountOfReleasesToShow:y,setTotalReleases:C}),(0,s.jsx)(l.kC,{sx:{mt:"0 !important"},flexDirection:{base:"column",md:"row"},justifyContent:"flex-end",alignItems:"center",children:S>y&&(0,s.jsx)(l.Kq,{sx:{mt:"0 !important"},borderLeft:{base:"none",md:"2px solid var(--chakra-colors-primary)"},w:{base:"100%",md:"auto"},children:(0,s.jsx)(l.rU,{as:"button",variant:"button-link-secondary",onClick:()=>{w(y+12)},children:(0,s.jsx)(l.xv,{fontFamily:'"JetBrains Mono", monospace',fontWeight:700,textTransform:"uppercase",textAlign:"center",p:4,children:"Show older releases"})})})})]}),(0,s.jsxs)(p,{id:"developbuilds",sectionDescription:(0,s.jsxs)(l.xv,{textStyle:"quick-link-text",children:["These are the develop snapshots of go-ethereum, updated automatically when a new commit is pushed into our"," ",(0,s.jsx)(l.rU,{href:x.L9,isExternal:!0,variant:"light",children:"GitHub repository."})]}),sectionTitle:"Develop builds",children:[(0,s.jsx)(b,{linuxData:o,windowsData:d,iOSData:f,androidData:u,totalReleasesNumber:q,amountOfReleasesToShow:v,setTotalReleases:D}),(0,s.jsx)(l.kC,{sx:{mt:"0 !important"},flexDirection:{base:"column",md:"row"},justifyContent:"flex-end",alignItems:"center",children:q>v&&(0,s.jsx)(l.Kq,{sx:{mt:"0 !important"},borderLeft:{base:"none",md:"2px solid var(--chakra-colors-primary)"},w:{base:"100%",md:"auto"},children:(0,s.jsx)(l.rU,{as:"button",variant:"button-link-secondary",onClick:()=>{k(v+12)},children:(0,s.jsx)(l.xv,{fontFamily:'"JetBrains Mono", monospace',fontWeight:700,textTransform:"uppercase",textAlign:"center",p:4,children:"Show older releases"})})})})]}),(0,s.jsxs)(p,{id:"pgpsignatures",sectionDescription:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"All the binaries available from this page are signed via our build server PGP keys:"}),sectionTitle:"OpenPGP Signatures",children:[(0,s.jsx)(l.Kq,{borderBottom:"2px solid",borderColor:"primary",children:(0,s.jsx)(m.wQ,{columnHeaders:x.hj,data:x.$M})}),(0,s.jsx)(l.Kq,{children:(0,s.jsx)(m.wQ,{columnHeaders:x.ej,data:x.qu})})]}),(0,s.jsxs)(p,{id:"importingkeys",sectionTitle:"Importing keys and verifying builds",children:[(0,s.jsxs)(l.kC,{p:4,borderBottom:"2px",borderColor:"primary",gap:4,flexDirection:{base:"column",md:"row"},alignItems:"center",children:[(0,s.jsx)(l.Kq,{flex:1,children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"You can import the build server public keys by grabbing the individual keys directly from the keyserver network:"})}),(0,s.jsx)(l.Kq,{flex:1,w:"100%",children:(0,s.jsx)(l.EK,{p:4,bg:"code-bg",children:"gpg --recv-keys F9585DE6 C2FF8BBF 9BA28146 7B9E2481 D2A67EAC"})})]}),(0,s.jsxs)(l.kC,{p:4,borderBottom:"2px",borderColor:"primary",gap:4,flexDirection:{base:"column",md:"row"},alignItems:"center",sx:{mt:"0 !important"},children:[(0,s.jsx)(l.Kq,{flex:1,children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"Similarly you can import all the developer public keys by grabbing them directly from the keyserver network:"})}),(0,s.jsx)(l.Kq,{flex:1,w:"100%",children:(0,s.jsx)(l.EK,{p:4,bg:"code-bg",children:"gpg --recv-keys E058A81C 05A5DDF0 1CCB7DD2"})})]}),(0,s.jsxs)(l.kC,{p:4,borderColor:"primary",gap:4,flexDirection:{base:"column",md:"row"},alignItems:"center",sx:{mt:"0 !important"},children:[(0,s.jsx)(l.Kq,{flex:1,children:(0,s.jsx)(l.xv,{textStyle:"quick-link-text",children:"From the download listings above you should see a link both to the downloadable archives as well as detached signature files. To verify the authenticity of any downloaded data, grab both files and then run:"})}),(0,s.jsx)(l.Kq,{flex:1,w:"100%",children:(0,s.jsx)(l.EK,{p:4,bg:"code-bg",children:"gpg --verify geth-linux-amd64-1.5.0-d0c820ac.tar.gz.asc"})})]})]})]})})]})}}},function(e){e.O(0,[106,886,888,774,179],function(){return e(e.s=6771)}),_N_E=e.O()}]);