{"id":547,"date":"2020-05-15T10:32:37","date_gmt":"2020-05-15T17:32:37","guid":{"rendered":"http:\/\/gantovnik.com\/bio-tips\/?p=547"},"modified":"2020-10-10T01:17:59","modified_gmt":"2020-10-10T08:17:59","slug":"update-ubuntu-from-command-line","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/update-ubuntu-from-command-line\/","title":{"rendered":"Update Ubuntu from command line"},"content":{"rendered":"<p>sudo apt update &#038;&#038; sudo apt upgrade -y<\/p>\n<p>sudo apt update<br \/>\nsudo apt upgrade<br \/>\nsudo apt dist-upgrade<br \/>\nsudo apt install unattended-upgrades <\/p>\n","protected":false},"excerpt":{"rendered":"<p>sudo apt update &#038;&#038; sudo apt upgrade -y sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt install unattended-upgrades<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-547","post","type-post","status-publish","format-standard","hentry","category-linux"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-8P","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":798,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/12\/140-updating-the-windows-subsystem-for-linux\/","url_meta":{"origin":547,"position":0},"title":"#140 Updating the Windows Subsystem for Linux","author":"gantovnik","date":"2020-12-15","format":false,"excerpt":"#140 Updating the Windows Subsystem for Linux","rel":"","context":"In &quot;linux&quot;","block_context":{"text":"linux","link":"https:\/\/gantovnik.com\/bio-tips\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":930,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/06\/167-how-to-mount-new-unformatted-10tb-disk-in-ubuntu\/","url_meta":{"origin":547,"position":1},"title":"#167 How to mount new unformatted 10TB disk in Ubuntu","author":"gantovnik","date":"2021-06-22","format":false,"excerpt":"#167 How to mount new unformatted 10TB disk in Ubuntu 1) sudo gdisk \/dev\/sdc 2) lsblk 3) lsblk -f 4) sudo mkfs.ext4 \/dev\/sdc1 5) sudo mkdir \/mnt\/myName 6) sudo mount \/dev\/sdc1 \/mnt\/myName 7) sudo df -h 8) sudo fdisk -l","rel":"","context":"In &quot;linux&quot;","block_context":{"text":"linux","link":"https:\/\/gantovnik.com\/bio-tips\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":499,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/how-to-update-all-python-packages-in-windows\/","url_meta":{"origin":547,"position":2},"title":"#73 How to update all python packages in Windows?","author":"gantovnik","date":"2020-05-03","format":false,"excerpt":"How to update all python packages in Windows? 1) Open a command shell by typing powershell in the Search Box of the Task bar 2) Enter pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}","rel":"","context":"In &quot;python&quot;","block_context":{"text":"python","link":"https:\/\/gantovnik.com\/bio-tips\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1000,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/10\/179-upgrade-all-packages-in-python-using-powershell\/","url_meta":{"origin":547,"position":3},"title":"#179 Upgrade all packages in Python using PowerShell","author":"gantovnik","date":"2021-10-11","format":false,"excerpt":"#179 Upgrade all packages in Python using PowerShell Create update_python.bat file Create update_python.ps1 file","rel":"","context":"In &quot;powershell&quot;","block_context":{"text":"powershell","link":"https:\/\/gantovnik.com\/bio-tips\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":549,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/update-all-package-in-conda\/","url_meta":{"origin":547,"position":4},"title":"Update all package in conda","author":"gantovnik","date":"2020-05-25","format":false,"excerpt":"# list packages that can be updated # update all packages prompted (by asking the user yes\/no) # update all packages unprompted","rel":"","context":"In &quot;python&quot;","block_context":{"text":"python","link":"https:\/\/gantovnik.com\/bio-tips\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":611,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/08\/92-batch-bat-file-to-update-anaconda\/","url_meta":{"origin":547,"position":5},"title":"#92 Batch (bat) file to update Anaconda","author":"gantovnik","date":"2020-08-13","format":false,"excerpt":"#92 Batch (bat) file to update Anaconda:","rel":"","context":"In &quot;batch&quot;","block_context":{"text":"batch","link":"https:\/\/gantovnik.com\/bio-tips\/category\/batch\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=547"}],"version-history":[{"count":0,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/547\/revisions"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}