{"id":63,"date":"2025-02-06T18:09:13","date_gmt":"2025-02-06T18:09:13","guid":{"rendered":"https:\/\/www.bgptrace.com\/blog\/?p=63"},"modified":"2025-02-06T18:13:15","modified_gmt":"2025-02-06T18:13:15","slug":"install-and-run-ollama-at-linux-machine","status":"publish","type":"post","link":"https:\/\/www.bgptrace.com\/blog\/?p=63","title":{"rendered":"Install and Run OLLAMA on Linux Machine"},"content":{"rendered":"\n<p>So many tech guys already share how to install the OLLAM.  I wont say too details.  Just a brief step for you.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Prepare a Machine with good GPU, CPU and > 16G RAM. (Raspberry Pi can run with the Deepseek 1.5B, other&#8230;&#8230;&#8230;. Please chec my last post)<br><\/li>\n\n\n\n<li>Install update your linux repos.<br><kbd>sudo apt-get update -y<br>sudo apt-get upgrade -y<\/kbd><br><\/li>\n\n\n\n<li>Install Ollam by the follow command<br><kbd>curl -fsSL https:\/\/ollama.com\/install.sh | sh<\/kbd><br><\/li>\n\n\n\n<li>Run the LLM model, if you wont have the model at your machine, it will be download automatically.<br><kbd>ollama run &lt;model><br>e.g.: ollama run deepseek-r1:8b<\/kbd><br><\/li>\n\n\n\n<li>The model will be downloaded to \/usr\/share\/ollama\/.ollama\/models\/<br><\/li>\n\n\n\n<li>what model you can run? Check here<br><a href=\"https:\/\/ollama.com\/search\">https:\/\/ollama.com\/search<\/a><br><\/li>\n\n\n\n<li>OLLAMA command line is a little bit similar with Docker,  check this.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1195\" height=\"773\" src=\"https:\/\/www.bgptrace.com\/blog\/wp-content\/uploads\/2025\/02\/image-8.png\" alt=\"\" class=\"wp-image-65\"\/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>PS: You also can install OLLAMA at WINDOWS, please also check OLLAMA website.<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Lets try your own AI locally!<\/mark><\/strong><\/p>\n\n\n\n<p>#OLLAMA #Model #AI #CPU #GPU #CUDB #RAM #RaspberryPI #Docker<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So many tech guys already share how to install the OLLAM. I wont say too details. Just a brief step for you. PS: You also can install OLLAMA at WINDOWS, please also check OLLAMA website. Lets try your own AI locally! #OLLAMA #Model #AI #CPU #GPU #CUDB #RAM #RaspberryPI #Docker<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[36,52,56,71,51,55,57,44,43,42],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-ai","tag-ai","tag-cpu","tag-cudb","tag-docker","tag-gpu","tag-model","tag-ollama","tag-ram","tag-raspberry-pi","tag-raspberrypi"],"_links":{"self":[{"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63"}],"version-history":[{"count":7,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bgptrace.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}