PageSourceSearch

https://dune-copasi.netlify.app/assets/js/a0eb3c09.470db464.js

js dune-copasi.netlify.app collected 2026-10-03 10:40:37 UTC 12,012 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdune_copasi_docusaurus=self.webpackChunkdune_copasi_docusaurus||[]).push([[642],{7548:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>u,default:()=>m,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=a(4848),r=a(8453),i=a(1470),s=a(9365),l=(a(1302),a(1543));const o={id:"install_package",title:"Install Package",description:"How to install the binary package",sidebar_label:"Install from Package Manager",tags:["Debian","CLI"]},u=void 0,c={id:"install_package",title:"Install Package",description:"How to install the binary package",source:"@site/versioned_docs/version-v2.1.0/install_package.mdx",sourceDirName:".",slug:"/install_package",permalink:"/docs/install_package",draft:!1,unlisted:!1,editUrl:"https://gitlab.dune-project.org/copasi/dune-copasi/-/edit/master/doc/docusaurus/versioned_docs/version-v2.1.0/install_package.mdx",tags:[{inline:!0,label:"Debian",permalink:"/docs/tags/debian"},{inline:!0,label:"CLI",permalink:"/docs/tags/cli"}],version:"v2.1.0",lastUpdatedBy:"Santiago Ospina De Los R\xedos",lastUpdatedAt:1732559211e3,frontMatter:{id:"install_package",title:"Install Package",description:"How to install the binary package",sidebar_label:"Install from Package Manager",tags:["Debian","CLI"]},sidebar:"docs",previous:{title:"Install from Docker",permalink:"/docs/install_docker"},next:{title:"Install from Source",permalink:"/docs/install_source"}},d={},p=[{value:"Install",id:"install",level:3},{value:"Uninstall",id:"uninstall",level:3}];function h(e){const t={a:"a",admonition:"admonition",code:"code",h3:"h3",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Debian 11 users who want to use DuneCopasi with its ",(0,n.jsx)(t.a,{href:"use_cli",children:"Command-Line-Interface"})," can install it through the package manager:"]}),"\n",(0,n.jsx)(t.h3,{id:"install",children:"Install"}),"\n",(0,n.jsx)(i.A,{groupId:"package-manager",defaultValue:"apt",values:[{label:"Debian 11 (apt)",value:"apt"}],children:(0,n.jsx)(s.A,{value:"apt",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"curl -fsSL https://gitlab.dune-project.org/api/v4/projects/819/packages/generic/dune-copasi/2.1.0/dune-copasi-runtime.deb -o dune-copasi-runtime.deb\napt install ./dune-copasi-runtime.deb\n"})})})}),"\n",(0,n.jsxs)(t.p,{children:["Once installed, the program ",(0,n.jsx)(t.code,{children:"dune-copasi"})," will be available on the command line:"]}),"\n",(0,n.jsx)(l.A,{}),"\n",(0,n.jsx)(t.admonition,{title:"Configuration Options",type:"tip",children:(0,n.jsxs)(t.p,{children:["For more information on the possible options to successfully run a simulation, make sure to visit the ",(0,n.jsx)(t.a,{href:"use_cli",children:"Command Line Interface"}),", the ",(0,n.jsx)(t.a,{href:"param_tree",children:"Configuration Options"}),", and the ",(0,n.jsx)(t.a,{href:"/tutorials",children:"Tutorials"})," documentations!"]})}),"\n",(0,n.jsx)(t.h3,{id:"uninstall",children:"Uninstall"}),"\n",(0,n.jsxs)(t.p,{children:["To remove the package, remove the ",(0,n.jsx)(t.code,{children:"dune-copasi-runtime"})," with the package manager:"]}),"\n",(0,n.jsx)(i.A,{groupId:"package-manager",defaultValue:"apt",values:[{label:"Debian 11 (apt)",value:"apt"}],children:(0,n.jsx)(s.A,{value:"apt",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"apt remove dune-copasi-runtime\n"})})})})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},9365:(e,t,a)=>{a.d(t,{A:()=>s});a(6540);var n=a(8215);const r={tabItem:"tabItem_Ymn6"};var i=a(4848);function s(e){let{children:t,hidden:a,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,n.A)(r.tabItem,s),hidden:a,children:t})}},1470:(e,t,a)=>{a.d(t,{A:()=>y});var n=a(6540),r=a(8215),i=a(3104),s=a(6347),l=a(205),o=a(7485),u=a(1682),c=a(679);function d(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs>
1 child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:a}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:a,attributes:n,default:r}}=e;return{value:t,label:a,attributes:n,default:r}}))}(a);return function(e){const t=(0,u.XI)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,a])}function h(e){let{value:t,tabValues:a}=e;return a.some((e=>e.value===t))}function m(e){let{queryString:t=!1,groupId:a}=e;const r=(0,s.W6)(),i=function(e){let{queryString:t=!1,groupId:a}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!a)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return a??null}({queryString:t,groupId:a});return[(0,o.aZ)(i),(0,n.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(r.location.search);t.set(i,e),r.replace({...r.location,search:t.toString()})}),[i,r])]}function b(e){const{defaultValue:t,queryString:a=!1,groupId:r}=e,i=p(e),[s,o]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:a}=e;if(0===a.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:a}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${a.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=a.find((e=>e.default))??a[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:i}))),[u,d]=m({queryString:a,groupId:r}),[b,g]=function(e){let{groupId:t}=e;const a=function(e){return e?`docusaurus.tab.${e}`:null}(t),[r,i]=(0,c.Dv)(a);return[r,(0,n.useCallback)((e=>{a&&i.set(e)}),[a,i])]}({groupId:r}),f=(()=>{const e=u??b;return h({value:e,tabValues:i})?e:null})();(0,l.A)((()=>{f&&o(f)}),[f]);return{selectedValue:s,selectValue:(0,n.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);o(e),d(e),g(e)}),[d,g,i]),tabValues:i}}var g=a(2303);const f={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var x=a(4848);function v(e){let{className:t,block:a,selectedValue:n,selectValue:s,tabValues:l}=e;const o=[],{blockElementScrollPositionUntilNextRender:u}=(0,i.a_)(),c=e=>{const t=e.currentTarget,a=o.indexOf(t),r=l[a].value;r!==n&&(u(t),s(r))},d=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const a=o.indexOf(e.currentTarget)+1;t=o[a]??o[0];break}case"ArrowLeft":{const a=o.indexOf(e.currentTarget)-1;t=o[a]??o[o.length-1];break}}t?.focus()};return(0,x.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,r.A)("tabs",{"tabs--block":a},t),children:l.map((e=>{let{value:t,label:a,attributes:i}=e;return(0,x.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>o.push(e),onKeyDown:d,onClick:c,...i,className:(0,r.A)("tabs__item",f.tabItem,i?.className,{"tabs__item--active":n===t}),children:a??t},t)}))})}function j(e){let{lazy:t,children:a,selectedValue:i}=e;const s=(Array.isArray(a)?a:[a]).filter(Boolean);if(t){const e=s.find((e=>e.props.value===i));return e?(0,n.cloneElement)(e,{className:(0,r.A)("margin-top--md",e.props.className)}):null}return(0,x.jsx)("div",{className:"margin-top--md",children:s.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==i})))})}function k(e){const t=b(e);return(0,x.jsxs)("div",{className:(0,r.A)("tabs-container",f.tabList),children:[(0,x.jsx)(v,{...t,...e}),(0,x.jsx)(j,{...t,...e})]})}function y(e){const t=(0,g.A)();return(0,x.jsx)(k,{...e,children:d(e.children)},String(t))}},2826:(e,t,a)=>{a.d(t,{A:()=>i});a(6540);var n=a(1308),r=a(4848);function i(e){let{children:t,prompt:a,title:i}=e;a=a||"~$";const s={custom:{themeBGColor:"rgb(41, 45, 62)",themeToolbarColor:"#ffffff1a",themeColor:"rgb(191, 199, 213)",themePromptColor:"rgb(130, 170, 255)"}},l=e=>(0,r.jsx)("span",{style:{color:s.custom.themePromptColor,WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},children:e}),o=(0,r.jsx)("span",{style:{whiteSpace:"pre-wrap"},children:t.map(((e,t)=>(0,r.jsxs)("span",{children:[l(e.prompt?e.prompt:a)," ",(0,r.jsx)("span",{children:Array.isArray(e.input)?e.input.map(((e,t)=>(0,r.jsxs)("span",{children:[e," ",(0,r.jsx)("br",{})]},t))):(0,r.jsxs)("span",{children:[" ",e.input," ",(0,r.jsx)("br",{})]})}),e.output&&e.output.map(((e,t)=>(0,r.jsxs)("span",{children:[e," ",(0,r.jsx)("br",{})]},t)))]},t)))}),u={display:"inline-block",width:"10px",float:"left",height:"10px",background:"#f9f9f9",borderRadius:"50%",margin:"8px 4px 0 0"};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{width:"100%",borderRadius:"7px 7px 7px 7px",WebkitBoxShadow:"rgba(0, 0, 0, 0.3) 0 1px 3px",MozBoxShadow:"rgba(0,0,0,0.3) 0 1px 3px",BoxShadow:"rgba(0, 0, 0, 0.3) 0 1px 3px",WebkitFontSmoothing:"antialiased",textRendering:"optimizelegibility"},children:(0,r.jsx)("div",{style:{width:"100%",position:"relative",WebkitBoxSizing:"border-box",borderRadius:"7px 7px 7px 7px"},children:(0,r.jsxs)("div",{style:{background:"rgb(244,244,239)",width:"100%",borderRadius:"7px 7px 7px 7px"},children:[(0,r.jsxs)("div",{style:{height:"25px",padding:"0px 10px",color:"#4d494d",textAlign:"center",fontFamily:"HelveticaNeue, 'Helvetica Neue', 'Lucida Grande', Arial, sans-serif"},children:[(0,r.jsx)("div",{style:{...u,background:"#FF6057",border:"1px solid #E14640"}}),(0,r.jsx)("div",{style:{...u,background:"#FFBD2E",border:"1px solid #DFA123"}}),(0,r.jsx)("div",{style:{...u,background:"rgba(218, 218, 213)",border:"1px solid rgba(203, 203, 196)"}}),(0,r.jsx)("div",{style:{height:"10px",textAlign:"center",fontSize:14,opacity:.75,WebkitFontSmoothing:"antialiased",textRendering:"optimizelegibility"},children:i&&(0,r.jsx)(r.Fragment,{children:i})})]}),(0,r.jsx)("div",{style:{width:"100%",background:"rgb(41,45,62)",margin:"0px auto",borderRadius:"0px 0px 7px 7px",padding:"7px 7px 7px",position:"relative",WebkitBoxSizing:"border-box",boxSizing:"border-box"},children:(0,r.jsx)(n.XL,{children:(0,r.jsx)(n.e,{prompt:a,theme:"custom",themes:s,showControlButtons:!1,welcomeMessage:o,enableInput:!1,showControlBar:!1})})})]})})}),(0,r.jsx)("br",{})]})}},1543:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(2826),r=a(4848);function i(e){let{prefix:t}=e;return t=t||"",(0,r.jsx)(n.A,{title:"Command Line Interface of DuneCopasi",children:[{input:`${t}
1dune-copasi --help`,output:["USAGE: dune-copasi [options]","","Numerical simulator for diffusion-reaction systems on single or multiple compartments","","Website: <https://dune-copasi.netlify.app>","","OPTIONS:","","  -h / --help          - Display this help.","  --help-full          - Display this help with long descriptions.","  --version            - Display the version of this program.","  --parser-default     - Display the default parser.","  --parser-list        - Display the parsers available for this program.","  --dimension-list     - Display the grid dimensions available for this program.","  --dump-config        - Dumps configuration in the INI format to stdout.","  --config=<string>    - Specifies a config file in INI format. See Configuration Options.","  --{key}={value}      - Overrides key=value sections of the config file. See Configuration Options.","","..."]}]})}}}]);

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.