{"id":14073,"date":"2024-06-17T23:06:53","date_gmt":"2024-06-17T20:06:53","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=14073"},"modified":"2024-06-17T23:06:53","modified_gmt":"2024-06-17T20:06:53","slug":"how-to-install-python-3-12-on-almalinux-8-10-systems","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/","title":{"rendered":"How to Install Python 3.12 on AlmaLinux 8.10 Systems"},"content":{"rendered":"\n

Python, the high-level, interpreted programming language known for its readability and efficiency, has released its version 3.12. For those using AlmaLinux 8.10, upgrading to this latest version can bring several benefits, including new features and security improvements. This guide provides a step-by-step process to install Python 3.12 on AlmaLinux<\/a> 8.10 systems.<\/p>\n\n\n\n

Prerequisites<\/h3>\n\n\n\n

Before proceeding with the installation, ensure that you have access to your server as a non-root user with sudo privileges. It’s also essential to have an internet connection to download the necessary files from Python’s official website.<\/p>\n\n\n\n

Step 1: Installing Dependencies<\/h3>\n\n\n\n

The first step involves updating your system and installing the required packages and dependencies for Python 3.12. Use the following commands to update your system and install the dependencies:<\/p>\n\n\n\n

$ sudo dnf update -y\n$ sudo dnf install gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make tar -y<\/code><\/pre>\n\n\n\n

Step 2: Downloading Python 3.12<\/h3>\n\n\n\n

Next, download the latest stable Python package from the official Python website using the wget<\/code> command:<\/p>\n\n\n\n

$ sudo wget https:\/\/www.python.org\/ftp\/python\/3.12.1\/Python-3.12.1.tgz<\/code><\/pre>\n\n\n\n

After downloading, extract the file using:<\/p>\n\n\n\n

$ sudo tar -xf Python-3.12.1.tgz<\/code><\/pre>\n\n\n\n

Step 3: Building and Installing Python 3.12<\/h3>\n\n\n\n

Navigate to the Python directory and begin the installation process:<\/p>\n\n\n\n

$ cd Python-3.12.1\n$ sudo .\/configure --enable-optimizations<\/code><\/pre>\n\n\n\n

Find the number of cores in your system to optimize the build process:<\/p>\n\n\n\n

$ sudo nproc<\/code><\/pre>\n\n\n\n

With the number of cores determined, start the build process using:<\/p>\n\n\n\n

$ sudo make -j <number_of_cores><\/code><\/pre>\n\n\n\n

Replace <number_of_cores><\/code> with the actual number you obtained from the previous command. Once the build is complete, install Python 3.12 with:<\/p>\n\n\n\n

$ sudo make altinstall<\/code><\/pre>\n\n\n\n

Step 4: Verifying the Installation<\/h3>\n\n\n\n

To ensure that Python 3.12 has been installed correctly, check the version:<\/p>\n\n\n\n

$ python3.12 --version<\/code><\/pre>\n\n\n\n

If the output displays Python 3.12.x, congratulations, you have successfully installed Python 3.12 on your AlmaLinux 8.10 system.<\/p>\n\n\n\n

Conclusion<\/h3>\n\n\n\n

By following these steps, you can enjoy the latest features and improvements that Python 3.12 offers. Whether you’re developing software, building websites, or working on data analysis, Python 3.12 will provide a robust and versatile programming environment for your projects.<\/p>\n\n\n\n

For more detailed instructions and troubleshooting tips, you can refer to the comprehensive guides provided in the official AlmaLinux documentation and Python documentation.<\/p>\n","protected":false},"excerpt":{"rendered":"

Python, the high-level, interpreted programming language known for its readability and efficiency, has released its version 3.12. For those using AlmaLinux 8.10, upgrading to this latest version can bring several…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,9,27,16],"tags":[1282,193,354,424,433,475,531,573,591],"yoast_head":"\nHow to Install Python 3.12 on AlmaLinux 8.10 Systems<\/title>\n<meta name=\"description\" content=\"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Python 3.12 on AlmaLinux 8.10 Systems\" \/>\n<meta property=\"og:description\" content=\"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-17T20:06:53+00:00\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"How to Install Python 3.12 on AlmaLinux 8.10 Systems\",\"datePublished\":\"2024-06-17T20:06:53+00:00\",\"dateModified\":\"2024-06-17T20:06:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\"},\"wordCount\":305,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"keywords\":[\"Almalinux\",\"DevOps\",\"Linux\",\"Open Source\",\"Optimization\",\"Python\",\"Server\",\"Systems Administration\",\"Tools\"],\"articleSection\":[\"Articles\",\"Guides\",\"How To\",\"Programming\",\"Technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\",\"url\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\",\"name\":\"How to Install Python 3.12 on AlmaLinux 8.10 Systems\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"datePublished\":\"2024-06-17T20:06:53+00:00\",\"dateModified\":\"2024-06-17T20:06:53+00:00\",\"description\":\"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Python 3.12 on AlmaLinux 8.10 Systems\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Python 3.12 on AlmaLinux 8.10 Systems","description":"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Python 3.12 on AlmaLinux 8.10 Systems","og_description":"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration","og_url":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2024-06-17T20:06:53+00:00","author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"How to Install Python 3.12 on AlmaLinux 8.10 Systems","datePublished":"2024-06-17T20:06:53+00:00","dateModified":"2024-06-17T20:06:53+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/"},"wordCount":305,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"keywords":["Almalinux","DevOps","Linux","Open Source","Optimization","Python","Server","Systems Administration","Tools"],"articleSection":["Articles","Guides","How To","Programming","Technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/","url":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/","name":"How to Install Python 3.12 on AlmaLinux 8.10 Systems","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"datePublished":"2024-06-17T20:06:53+00:00","dateModified":"2024-06-17T20:06:53+00:00","description":"This guide provides a step-by-step process to install Python 3.12 on AlmaLinux 8.10 systems including configuration","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/how-to-install-python-3-12-on-almalinux-8-10-systems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"How to Install Python 3.12 on AlmaLinux 8.10 Systems"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/14073"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=14073"}],"version-history":[{"count":2,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/14073\/revisions"}],"predecessor-version":[{"id":14311,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/14073\/revisions\/14311"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=14073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=14073"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=14073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}