{"id":162,"date":"2021-12-21T10:00:46","date_gmt":"2021-12-21T10:00:46","guid":{"rendered":"http:\/\/journal.copperspice.com\/?p=162"},"modified":"2025-04-01T14:57:04","modified_gmt":"2025-04-01T22:57:04","slug":"installing-copperspice","status":"publish","type":"post","link":"https:\/\/journal.copperspice.com\/?p=162","title":{"rendered":"Installing CopperSpice"},"content":{"rendered":"\n<p>CopperSpice is a collection of libraries which has classes, methods, and functions to expand the functionality of the standard C++ library. Using CopperSpice with your C++ application simply requires adding some include headers and linking with the appropriate CS library.  <br><br>The first step is to install the CopperSpice libraries on your build computer. This article will show two different approaches and mention other components which may be required. The directions are slightly different for each platform. Select the appropriate section to proceed.<\/p>\n\n\n\n<ul><li>Installing CopperSpice on <a href=\"#cs-debian\" data-type=\"URL\">Debian<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-fedora\">Fedora<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-ubuntu\">Ubuntu<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-arch\">Arch<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-freebsd\">FreeBSD<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-rocky\">Rocky<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-msvc\">Windows using MSVC<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-mingw\">Windows using MinGW<\/a><\/li><li>Installing CopperSpice on <a href=\"#cs-osx\">Mac OS X<\/a><\/li><\/ul>\n\n\n\n<h3 id=\"cs-debian\">Details to Install CS on Debian<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>. <\/p>\n\n\n\n<p>To install these packages use the &#8216;apt-get install&#8217; command as shown for <a rel=\"noreferrer noopener\" href=\"https:\/\/copperspice.com\/docs\/cs_overview\/requirements-unix.html#debian-pkg-install\" target=\"_blank\">Debian<\/a>. This page also contains information about other supported versions.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<br><br><span style=\"text-decoration: underline;\">Option 1<\/span>  (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a rel=\"noreferrer noopener\" href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\">documentation<\/a>.<br><br><span style=\"text-decoration: underline;\">Option 2<\/span>  Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-fedora\">Details to Install CS on Fedora<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>To install these packages use the &#8216;dnf install&#8217; command as shown for <a href=\"https:\/\/copperspice.com\/docs\/cs_overview\/requirements-unix.html#fedora-pkg-install\" target=\"_blank\" rel=\"noreferrer noopener\">Fedora<\/a>. This page also contains information about other supported versions.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a rel=\"noreferrer noopener\" href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-ubuntu\">Details to Install CS on Ubuntu<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>To install these packages use the &#8216;apt-get install&#8217; command as shown for <a href=\"https:\/\/copperspice.com\/docs\/cs_overview\/requirements-unix.html#ubuntu-pkg-install\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu<\/a>. This page also contains information about other supported versions.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-arch\">Details to Install CS on Arch<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html#arch-cs-dev\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html#archunix-cs-dev\" target=\"_blank\">.<\/a><\/p>\n\n\n\n<p>To install these packages use pacman, the official Arch package manager.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-freebsd\">Details to Install CS on FreeBSD<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a rel=\"noreferrer noopener\" href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html#freebsd-cs-dev\" target=\"_blank\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>To install these packages use the pkg tool.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-rocky\">Details to Install CS on Rocky<\/h3>\n\n\n\n<p>Information about the required packages can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/requirements-unix.html#rocky-cs-dev\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>To install these packages use the &#8216;apt-get install&#8217; command as shown for <a href=\"https:\/\/copperspice.com\/docs\/cs_overview\/requirements-unix.html#rocky-pkg-install\" target=\"_blank\" rel=\"noreferrer noopener\">Rocky<\/a>. This page also contains information about other supported versions.<\/p>\n\n\n\n<p>The next step is to install CopperSpice. There are two options.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-msvc\">Details to Install CS on Windows using MSVC<\/h3>\n\n\n\n<p>Information about building can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-msvc.html\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>There are two different ways to install the CopperSpice libraries.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-mingw\">Details to Install CS on Windows using MinGW<\/h3>\n\n\n\n<p>Information about installing MinGW-w64 can be found in our <a rel=\"noreferrer noopener\" href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-win.html\" target=\"_blank\">CS Overview Documentation<\/a>. You will also need to install CMake and Ninja, refer to <a rel=\"noreferrer noopener\" href=\"https:\/\/copperspice.com\/documentation-tools.html\" target=\"_blank\">Tools for Building<\/a>.<\/p>\n\n\n\n<p>There are two different ways to install the CopperSpice libraries.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n\n\n\n<h3 id=\"cs-osx\">Details to Install CS on Mac OS X<\/h3>\n\n\n\n<p>Information about building can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-mac.html\" target=\"_blank\" rel=\"noreferrer noopener\">CS Overview Documentation<\/a>.<\/p>\n\n\n\n<p>There are two different ways to install the CopperSpice libraries.<\/p>\n\n\n\n<p>Option 1 (a) Clone the repo from github. (b) Build and then install CopperSpice. Detailed directions for this can be found in our <a href=\"https:\/\/www.copperspice.com\/docs\/cs_overview\/build-overview.html\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p>Option 2 Download a <a href=\"https:\/\/download.copperspice.com\/copperspice\/binary\/cs-2.0\/\" target=\"_blank\" rel=\"noreferrer noopener\">pre-built binary<\/a> then unpack the compressed file to an install folder like &#8220;~\/cs_lib&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CopperSpice is a collection of libraries which has classes, methods, and functions to expand the functionality of the standard C++ library. Using CopperSpice with your C++ application simply requires adding some include headers and linking with the appropriate CS library.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/posts\/162"}],"collection":[{"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162"}],"version-history":[{"count":85,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":3059,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=\/wp\/v2\/posts\/162\/revisions\/3059"}],"wp:attachment":[{"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/journal.copperspice.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}