{"id":11994,"date":"2022-03-09T04:37:27","date_gmt":"2022-03-09T09:37:27","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=11994"},"modified":"2022-03-09T04:37:29","modified_gmt":"2022-03-09T09:37:29","slug":"how-to-update-composer-in-ubuntu-debian-systems","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","title":{"rendered":"How to Update Composer in Ubuntu | Debian Systems"},"content":{"rendered":"\n

Update composer Ubuntu and Debian-based systems.<\/p>\n\n\n\n

#update packages\n$sudo apt-get update\n\n#install curl if you don't have it\n$ sudo apt-get install curl\n\n#download composer installer\n$ sudo curl -s https:\/\/getcomposer.org\/installer | php\n\n#move composer.phar file\n$ sudo mv composer.phar \/usr\/local\/bin\/composer\n\n#check composer version\n$composer -v<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,25,27,15,16,18],"tags":[954,193,350,424,544,591],"yoast_head":"\nHow to Update Composer in Ubuntu | Debian Systems [Snippet]<\/title>\n<meta name=\"description\" content=\"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux systems\" \/>\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\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update Composer in Ubuntu | Debian Systems [Snippet]\" \/>\n<meta property=\"og:description\" content=\"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux systems\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-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:modified_time\" content=\"2022-03-09T09:37:29+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/\",\"url\":\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/\",\"name\":\"How to Update Composer in Ubuntu | Debian Systems [Snippet]\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"datePublished\":\"2022-03-09T09:37:27+00:00\",\"dateModified\":\"2022-03-09T09:37:29+00:00\",\"description\":\"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux systems\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snippets\",\"item\":\"http:\/\/local.brightwhiz\/snippets\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Update Composer in Ubuntu | Debian 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\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Update Composer in Ubuntu | Debian Systems [Snippet]","description":"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux 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":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","og_locale":"en_US","og_type":"article","og_title":"How to Update Composer in Ubuntu | Debian Systems [Snippet]","og_description":"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux systems","og_url":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_modified_time":"2022-03-09T09:37:29+00:00","twitter_card":"summary_large_image","twitter_site":"@brightwhizmag","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","url":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","name":"How to Update Composer in Ubuntu | Debian Systems [Snippet]","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"datePublished":"2022-03-09T09:37:27+00:00","dateModified":"2022-03-09T09:37:29+00:00","description":"Here is a code snippet for you showing how you can update Composer in Ubuntu and any other Debian-based Linux systems","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Snippets","item":"http:\/\/local.brightwhiz\/snippets\/"},{"@type":"ListItem","position":3,"name":"How to Update Composer in Ubuntu | Debian 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"]}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/snippets\/11994"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/snippets"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/snippets"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=11994"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=11994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=11994"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=11994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}