{"id":4242,"date":"2024-12-16T11:05:59","date_gmt":"2024-12-16T10:05:59","guid":{"rendered":"https:\/\/tech.lobobrothers.com\/?p=4242"},"modified":"2025-02-06T13:26:41","modified_gmt":"2025-02-06T12:26:41","slug":"installing-packages-in-proxmox-8-in-bulk","status":"publish","type":"post","link":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/","title":{"rendered":"Installing packages in Proxmox 8 in bulk"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"4242\" class=\"elementor elementor-4242 elementor-4213\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7acec73c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7acec73c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5d293a67\" data-id=\"5d293a67\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6361bdb8 elementor-widget elementor-widget-text-editor\" data-id=\"6361bdb8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>INSTALLING PACKAGES IN PROXMOX 8 IN BULK<\/strong><\/h2>\n<p>This is a Christmas gift for all those Proxmox enthusiasts or those who are recently getting to know it because it is the best alternative after VMware was purchased by Broadcom. We have been a Proxmox partner for many years and we encourage you to take the step if you have not done so yet.<\/p>\n<p>With this script you can install the packages you need in your cluster or on independent nodes as long as they have the same password without having to go node by node.<\/p>\n<p>The operation is simple, on our machine or machine where we run the script we need 3 things:<\/p>\n<p style=\"padding-left: 40px;\">Install sshpass<\/p>\n<p style=\"padding-left: 80px;\">apt-get install sshpass<\/p>\n<p style=\"padding-left: 40px;\">A text file with the name and IP of the nodes one by line<\/p>\n<p style=\"padding-left: 80px;\">PVE1 192.168.1.250<\/p>\n<p style=\"padding-left: 80px;\">PVE2 192.168.1.251<\/p>\n<p style=\"padding-left: 80px;\">PVE3 192.168.1.252<\/p>\n<p style=\"padding-left: 40px;\">A text file with the packages to install, one per line<\/p>\n<p style=\"padding-left: 80px;\">telnet<\/p>\n<p style=\"padding-left: 80px;\">net-tools<\/p>\n<p>With this we create our install-packets.sh script by pasting the following code:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ecc948e elementor-widget elementor-widget-code-highlight\" data-id=\"ecc948e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>#!\/bin\/bash\n\n# Files\nwhile true; do\n    read -p \"Enter the path to the hosts file: \" NODES_FILE\n    if [[ -f \"$NODES_FILE\" ]]; then\n        echo \"Hosts file found: $NODES_FILE\"\n        break\n    else\n        echo \"Error: The file does not exist at the specified path. Please enter a valid path.\"\n    fi\ndone\n\n\nwhile true; do\n    read -p \"Enter the path to the package file: \" PACKAGES_FILE\n    if [[ -f \"$PACKAGES_FILE\" ]]; then\n        echo \"Package file found: $PACKAGES_FILE\"\n        break\n    else\n        echo \"Error: The file does not exist at the specified path. Please enter a valid path.\"\n    fi\ndone\n\n# User SSH root\nUSER=\"root\"\nread -sp \"Enter the root password for the hosts: \" ROOT_PASS\necho\n\n# Repositories PVE\necho \"Do you want to use the Enterprise or No-Subscription repositories for Proxmox?\"\necho \"1) Enterprise\"\necho \"2) No-Subscription\"\nread -p \"Choose an option (1 or 2): \" REPO_OPTION\n\n# Repositories CEPH\necho \"Which version of Ceph do you want to use?\"\necho \"1) Ceph Reef\"\necho \"2) Ceph Quincy\"\nread -p \"Choose an option (1 or 2): \" CEPH_VERSION\n\n# Definici\u00f3n de repositorios Proxmox para Bookworm\nNOSUB_REPO=\"deb http:\/\/download.proxmox.com\/debian\/pve bookworm pve-no-subscription\"\nENTERPRISE_REPO=\"deb https:\/\/enterprise.proxmox.com\/debian\/pve bookworm pve-enterprise\"\n\n# Definir repositorios para Bookworm en funci\u00f3n de la versi\u00f3n seleccionada\nif [[ \"$CEPH_VERSION\" -eq 1 ]]; then\n    if [[ \"$REPO_OPTION\" -eq 1 ]]; then\n        CEPH_REPO=\"deb https:\/\/enterprise.proxmox.com\/debian\/ceph-reef bookworm enterprise\"\n    else\n        CEPH_REPO=\"deb http:\/\/download.proxmox.com\/debian\/ceph-reef bookworm no-subscription\"\n    fi\nelif [[ \"$CEPH_VERSION\" -eq 2 ]]; then\n    if [[ \"$REPO_OPTION\" -eq 1 ]]; then\n        CEPH_REPO=\"deb https:\/\/enterprise.proxmox.com\/debian\/ceph-quincy bookworm enterprise\"\n    else\n        CEPH_REPO=\"deb http:\/\/download.proxmox.com\/debian\/ceph-quincy bookworm no-subscription\"\n    fi\nelse\n    echo \"Invalid Ceph version option. Exiting...\"\n    exit 1\nfi\n\n# Read the list of packages from the provided file\nPACKAGES=()\nwhile IFS= read -r package; do\n  PACKAGES+=(\"$package\")\ndone < \"$PACKAGES_FILE\"\n\n# Command to install packages\nINSTALL_CMD=\"apt-get update && apt-get install -y expect ${PACKAGES[@]}\"\n\n# Function to process each node\nprocess_node() {\n    local hostname=$1\n    local ip=$2\n\n    echo \"Connecting to $hostname ($ip)...\"\n\n    if [[ \"$REPO_OPTION\" -eq 1 ]]; then\n        echo \"Switching to Enterprise Repositories in $hostname ($ip)...\"\n        sshpass -p \"$ROOT_PASS\" ssh -o StrictHostKeyChecking=no \"$USER@$ip\" \"\\\n            rm -f \/etc\/apt\/sources.list.d\/pve-no-subscription.list; \\\n            rm -f \/etc\/apt\/sources.list.d\/ceph.list; \\\n            echo '$ENTERPRISE_REPO' > \/etc\/apt\/sources.list.d\/pve-enterprise.list; \\\n            echo '$CEPH_REPO' > \/etc\/apt\/sources.list.d\/ceph.list; \\\n            apt-get update\" &\n    else\n        echo \"Switching to No-Subscription Repositories and $hostname ($ip)...\"\n        sshpass -p \"$ROOT_PASS\" ssh -o StrictHostKeyChecking=no \"$USER@$ip\" \"\\\n            rm -f \/etc\/apt\/sources.list.d\/pve-enterprise.list; \\\n            rm -f \/etc\/apt\/sources.list.d\/ceph.list; \\\n            echo '$NOSUB_REPO' > \/etc\/apt\/sources.list.d\/pve-no-subscription.list; \\\n            echo '$CEPH_REPO' > \/etc\/apt\/sources.list.d\/ceph.list; \\\n            apt-get update\" &\n    fi\n\n    # Wait a few seconds to make sure the changes are applied.\n    sleep 5\n\n    # Installing the packages\n    echo \"Installing packages on $hostname ($ip)...\"\n    sshpass -p \"$ROOT_PASS\" ssh -o StrictHostKeyChecking=no \"$USER@$ip\" \"$INSTALL_CMD\"\n}\n\n# Read the node file and process each node in parallel\nwhile IFS=' ' read -r hostname ip; do\n    [[ -z \"$hostname\" || -z \"$ip\" ]] && continue  # Skip empty lines\n    process_node \"$hostname\" \"$ip\" &\ndone < \"$NODES_FILE\"\n\n# Wait for all background processes to finish\nwait\n\necho \"Completion of the process.\"\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-238c5ec elementor-widget elementor-widget-text-editor\" data-id=\"238c5ec\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We give it permissions with chmod +x install-packets.sh and run it .\/install-packets.sh obtaining the following output<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4233 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/install-packets-proxmox.png\" alt=\"instalar paquetes proxmox de forma masiva\" width=\"736\" height=\"782\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/install-packets-proxmox.png 736w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/install-packets-proxmox-282x300.png 282w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/install-packets-proxmox-700x744.png 700w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>It is a very versatile script that you can adapt to other versions of Proxmox or other systems.<\/p>\n<p>Test it in a lab first to understand how it works.<\/p>\n<p>Happy holidays.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-622ebec elementor-widget elementor-widget-heading\" data-id=\"622ebec\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">FAQS<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e6e7db elementor-widget elementor-widget-toggle\" data-id=\"0e6e7db\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1511\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1511\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Is Proxmox free or paid?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1511\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1511\"><p>Proxmox is free and open source, but offers four types of subscription (Community, Basic, Standard and Premium) for access to stable repositories and official technical support. Without a subscription you have everything Proxmox offers, there is no limitation and you can use the &#8220;no-subscription&#8221; or &#8220;test&#8221; repositories.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1512\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-1512\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">How do I update Proxmox without a subscription?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1512\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-1512\"><p>If you don&#8217;t have a subscription, you can switch your repositories to use the &#8220;no-subscription&#8221; channel. You can do this from the Proxmox web interface or via the console as on any Debian system.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1513\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-1513\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Does Proxmox support cluster with only 2 nodes?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1513\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-1513\"><p>It is not recommended for production environments, but we can use 2 nodes by adding a qdevice that can even be on a raspberry.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1514\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-1514\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">What is a Qdevice?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1514\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-1514\"><p>A <strong>QDevice (<\/strong>Quorum Device) is a witness installed on a virtual machine or physical device that is used in a <strong>Proxmox VE cluster<\/strong> to help avoid quorum issues when you have <strong>only two nodes<\/strong>. It is necessary to install <strong>corosync-qnetd<\/strong> on the device and on all two nodes in the cluster. Once installed from any node we run <strong>pvecm qdevice ip_qdevice<\/strong>.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Is Proxmox free or paid?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Proxmox is free and open source, but offers four types of subscription (Community, Basic, Standard and Premium) for access to stable repositories and official technical support. Without a subscription you have everything Proxmox offers, there is no limitation and you can use the &#8220;no-subscription&#8221; or &#8220;test&#8221; repositories.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"How do I update Proxmox without a subscription?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>If you don&#8217;t have a subscription, you can switch your repositories to use the &#8220;no-subscription&#8221; channel. You can do this from the Proxmox web interface or via the console as on any Debian system.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"Does Proxmox support cluster with only 2 nodes?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>It is not recommended for production environments, but we can use 2 nodes by adding a qdevice that can even be on a raspberry.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"What is a Qdevice?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>A <strong>QDevice (<\\\/strong>Quorum Device) is a witness installed on a virtual machine or physical device that is used in a <strong>Proxmox VE cluster<\\\/strong> to help avoid quorum issues when you have <strong>only two nodes<\\\/strong>. It is necessary to install <strong>corosync-qnetd<\\\/strong> on the device and on all two nodes in the cluster. Once installed from any node we run <strong>pvecm qdevice ip_qdevice<\\\/strong>.<\\\/p>\\n\"}}]}<\/script>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>INSTALLING PACKAGES IN PROXMOX 8 IN BULK This is a Christmas gift for all those Proxmox enthusiasts or those who are recently getting to know it because it is the best alternative after VMware was purchased by Broadcom. We have been a Proxmox partner for many years and we encourage you to take the step [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,50],"tags":[],"class_list":["post-4242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-world","category-open-source"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing packages in Proxmox 8 in bulk - LBT<\/title>\n<meta name=\"description\" content=\"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing packages in Proxmox 8 in bulk - LBT\" \/>\n<meta property=\"og:description\" content=\"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog sobre linux y el mundo opensource\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LoboBrothers\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-16T10:05:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-06T12:26:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1365\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\"},\"author\":{\"name\":\"TL\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\"},\"headline\":\"Installing packages in Proxmox 8 in bulk\",\"datePublished\":\"2024-12-16T10:05:59+00:00\",\"dateModified\":\"2025-02-06T12:26:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\"},\"wordCount\":405,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp\",\"articleSection\":[\"Linux World\",\"Open Source\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\",\"name\":\"Installing packages in Proxmox 8 in bulk - LBT\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp\",\"datePublished\":\"2024-12-16T10:05:59+00:00\",\"dateModified\":\"2025-02-06T12:26:41+00:00\",\"description\":\"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems\",\"breadcrumb\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp\",\"width\":2048,\"height\":1365,\"caption\":\"Dangerous software script running on multiple monitors, personal information stealing, database hacking at night. Committing cyberterrorism, online server password cracking, causing malware.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/tech.lobobrothers.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing packages in Proxmox 8 in bulk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"name\":\"Tech LBT\",\"description\":\"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad\",\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\",\"name\":\"Lobo Brothers Technology\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"width\":110,\"height\":50,\"caption\":\"Lobo Brothers Technology\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LoboBrothers\/\",\"https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\",\"name\":\"TL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"caption\":\"TL\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing packages in Proxmox 8 in bulk - LBT","description":"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems","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":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/","og_locale":"en_US","og_type":"article","og_title":"Installing packages in Proxmox 8 in bulk - LBT","og_description":"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems","og_url":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/","og_site_name":"Blog sobre linux y el mundo opensource","article_publisher":"https:\/\/www.facebook.com\/LoboBrothers\/","article_published_time":"2024-12-16T10:05:59+00:00","article_modified_time":"2025-02-06T12:26:41+00:00","og_image":[{"width":2048,"height":1365,"url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp","type":"image\/jpeg"}],"author":"TL","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TL","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#article","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/"},"author":{"name":"TL","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb"},"headline":"Installing packages in Proxmox 8 in bulk","datePublished":"2024-12-16T10:05:59+00:00","dateModified":"2025-02-06T12:26:41+00:00","mainEntityOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/"},"wordCount":405,"commentCount":0,"publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp","articleSection":["Linux World","Open Source"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/","url":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/","name":"Installing packages in Proxmox 8 in bulk - LBT","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp","datePublished":"2024-12-16T10:05:59+00:00","dateModified":"2025-02-06T12:26:41+00:00","description":"Install packages in Proxmox in bulk via scripts. A versatile script that you can modify for other systems","breadcrumb":{"@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#primaryimage","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/script-proxmox-scaled.jpg.webp","width":2048,"height":1365,"caption":"Dangerous software script running on multiple monitors, personal information stealing, database hacking at night. Committing cyberterrorism, online server password cracking, causing malware."},{"@type":"BreadcrumbList","@id":"https:\/\/tech.lobobrothers.com\/en\/installing-packages-in-proxmox-8-in-bulk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/tech.lobobrothers.com\/en\/"},{"@type":"ListItem","position":2,"name":"Installing packages in Proxmox 8 in bulk"}]},{"@type":"WebSite","@id":"https:\/\/tech.lobobrothers.com\/en\/#website","url":"https:\/\/tech.lobobrothers.com\/en\/","name":"Tech LBT","description":"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad","publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tech.lobobrothers.com\/en\/#organization","name":"Lobo Brothers Technology","url":"https:\/\/tech.lobobrothers.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","width":110,"height":50,"caption":"Lobo Brothers Technology"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LoboBrothers\/","https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true"]},{"@type":"Person","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb","name":"TL","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","caption":"TL"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/comments?post=4242"}],"version-history":[{"count":3,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4242\/revisions"}],"predecessor-version":[{"id":8105,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4242\/revisions\/8105"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media\/4241"}],"wp:attachment":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media?parent=4242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/categories?post=4242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/tags?post=4242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}