{"id":19655,"date":"2023-05-17T16:04:09","date_gmt":"2023-05-17T16:04:09","guid":{"rendered":"https:\/\/linux.how2shout.com\/?p=19655"},"modified":"2023-05-17T16:06:01","modified_gmt":"2023-05-17T16:06:01","slug":"how-to-install-beautifulsoup-python-module-in-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/","title":{"rendered":"How to install Beautifulsoup Python module in Ubuntu Linux"},"content":{"rendered":"\n<p><em>Learn how to install BeautifulSoup a Python library on Ubuntu 22.04, 20.04, or any other version o<\/em>f<em> this Linux that is used for web scraping and parsing HTML and XML documents.<\/em> <\/p>\n\n\n\n<p>Python&#8217;s ecosystem offers various libraries to make the job of developers easy, out of such one is BeautifulSoup. Its name may not sound geeky but it is quite useful for those who are coding in Python. It provides a convenient way to extract data from web pages or search for specific elements, and retrieve their contents or attributes; making it valuable for various data analysis and web scraping tasks.<\/p>\n\n\n\n<p>Its key features are parse HTML and XML documents; allow searching for specific elements in the parse tree;\u00a0 using it you can navigate the parse tree by traversing parents, siblings, and children; can detect the encoding of a document and convert it to Unicode, and its ability Integration with Other Libraries such as pandas or CSV libraries for storing extracted data. <\/p>\n\n\n\n<p><strong>In this article, we find out the commands to install Beautiful Soup on Ubuntu Linux.&nbsp;<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-install-python-pip-if-not-already\">Step 1: Install Python PIP, if not already<\/h2>\n\n\n\n<p>The easiest and best way to install the Python library is to use its package manager called PIP. So, if you already have that installed then you can skip this step.<\/p>\n\n\n\n<p>To check whether it is available or not, use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip -V<\/pre>\n\n\n\n<p>If the output shows the version details, then PIP is there on your system.<\/p>\n\n\n\n<p>However, if you don&#8217;t have PIP (Python package installer) already installed then here are the commands to get it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt update -y<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt install python3-pip<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"338\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/sudo-apt-install-python-pip.png\" alt=\"sudo apt install python pip\" class=\"wp-image-19658\" title=\"sudo apt install python pip\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-install-beautifulsoup-on-ubuntu\">Step 2: Install BeautifulSoup on Ubuntu<\/h2>\n\n\n\n<p>Once you have confirmed the PIP is available on your Ubuntu Linux system, we can use it to install various Python libraries including <strong>BeautifulSoup<\/strong>. So, on your Ubuntu command terminal run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip install beautifulsoup4 --user<\/code><\/pre>\n\n\n\n<p><strong>Alternatively<\/strong>, those who don&#8217;t want to use PIP, can go for the APT package manager, here is the command for that:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt install python3-bs4<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-check-beautifulsoup-version\">Step 3: Check BeautifulSoup Version<\/h2>\n\n\n\n<p>To confirm, using the previous step command, whether the BeautifulSoup is actually installed on your system to use in Python Script or not, we can use the given command. It will give us the version details of a specified library and where it has been installed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3 -m pip show beautifulsoup4<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"379\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png\" alt=\"Install BeautifulSoup on Ubuntu\" class=\"wp-image-19659\" title=\"Install BeautifulSoup on Ubuntu\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-4-run-a-simple-test-script\">Step 4: Run a simple test script<\/h2>\n\n\n\n<p>Let&#8217;s create a simple script file in which we import BeeatuifulSoup to parse a simple HTML code.<\/p>\n\n\n\n<p>Use any text editor and create a new Python file. Here we are using <strong>nano<\/strong>, for example, <strong>test_beautifulsoup.py<\/strong>. <\/p>\n\n\n\n<p>Add the following code to the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">from bs4 import BeautifulSoup\r\n\r\nhtml_doc = \"\"\"\r\n&lt;html>\r\n&lt;head>\r\n    &lt;title>Example HTML Page&lt;\/title>\r\n&lt;\/head>\r\n&lt;body>\r\n    &lt;h1>Welcome to Beautiful Soup&lt;\/h1>\r\n    &lt;p>This is an example paragraph.&lt;\/p>\r\n&lt;\/body>\r\n&lt;\/html>\r\n\"\"\"\r\n\r\nsoup = BeautifulSoup(html_doc, 'html.parser')\r\nprint(soup.prettify())\r\n<\/code><\/pre>\n\n\n\n<p><strong>Save<\/strong> the created file by pressing <strong>Ctrl+X<\/strong>, type <strong>Y<\/strong> and then hit the <strong>Enter<\/strong> key.<\/p>\n\n\n\n<p><strong>Run the created Python file:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">python test_beautifulsoup.py<\/code><\/pre>\n\n\n\n<p>You will see the parsed and prettified HTML in the output on your Ubuntu terminal.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"308\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Test-example-of-beautySoup.png\" alt=\"Test example of beautifulsoup\" class=\"wp-image-19661\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Upgrade<\/h2>\n\n\n\n<p>In the future, if there is some new update available for the Beautifulsoup library then to upgrade it use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip install --upgrade beautifulsoup4 --user<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Uninstallation (optional)<\/h2>\n\n\n\n<p>In case after some time, you won&#8217;t need the BeatuifulSoup library of Python on your Ubuntu Linux system any more than to remove it, we can again use the PIP, here is the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip uninstall beautifulsoup4<\/code><\/pre>\n\n\n\n<p><strong>Ending note:<\/strong><\/p>\n\n\n\n<p>Beautiful Soup is a very useful Python library for web scraping and you have seen the installation process of it is quite simple for Ubuntu Linux. Even you can use the PIP command given in this article on other operating systems to install the Beautiful Soup module.  <\/p>\n\n\n\n<p><strong>Other Articles:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/linux.how2shout.com\/6-best-python-ides-available-for-ubuntu-linux-for-coding\/\" target=\"_blank\" rel=\"noreferrer noopener\">6 Best Python IDEs available for Ubuntu Linux for coding<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-pip-in-linux-without-sudo\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install PIP in Linux without sudo?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-opencv-for-python-on-ubuntu-22-04-20-04-or-others\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install OpenCV for Python on Ubuntu 22.04, 20.04, or others<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/pygame-installation-on-ubuntu-22-04-or-20-04-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pygame installation on Ubuntu 22.04 or 20.04 Linux<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-eigen-c-library-on-ubuntu-22-04-or-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Eigen C++ library on Ubuntu 22.04 or 20.04<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/2-methods-to-install-eclipse-ide-on-ubuntu-22-04-or-20-04-lts\/\" target=\"_blank\" rel=\"noreferrer noopener\">2 Methods to Install Eclipse IDE on Ubuntu 22.04 or 20.04 LTS<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install BeautifulSoup a Python library on Ubuntu 22.04, 20.04, or any other version of this Linux that is used for web scraping and parsing HTML and XML documents. Python&#8217;s ecosystem offers various libraries to make the job of developers easy, out of such one is BeautifulSoup. Its name may not sound geeky [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":19659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[3],"tags":[31,29,30,3172],"class_list":{"0":"post-19655","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ubuntu","8":"tag-tutorial","9":"tag-ubuntu","10":"tag-ubuntu-20-04","11":"tag-ubuntu-22-04"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Beautifulsoup Python module in Ubuntu Linux - LinuxShout<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Beautifulsoup Python module in Ubuntu Linux\" \/>\n<meta property=\"og:description\" content=\"Learn how to install BeautifulSoup a Python library on Ubuntu 22.04, 20.04, or any other version of this Linux that is used for web scraping and parsing HTML and XML documents. Python&#8217;s ecosystem offers various libraries to make the job of developers easy, out of such one is BeautifulSoup. Its name may not sound geeky [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxShout\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/how2shout\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-17T16:04:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-17T16:06:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png\" \/>\n\t<meta property=\"og:image:width\" content=\"725\" \/>\n\t<meta property=\"og:image:height\" content=\"379\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Heyan Maurya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:site\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Heyan Maurya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/\"},\"author\":{\"name\":\"Heyan Maurya\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\"},\"headline\":\"How to install Beautifulsoup Python module in Ubuntu Linux\",\"datePublished\":\"2023-05-17T16:04:09+00:00\",\"dateModified\":\"2023-05-17T16:06:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/\"},\"wordCount\":620,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-BeautifulSoup-on-Ubuntu.png\",\"keywords\":[\"tutorial\",\"ubuntu\",\"ubuntu 20.04\",\"Ubuntu 22.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#respond\"]}],\"copyrightYear\":\"2023\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/\",\"name\":\"How to install Beautifulsoup Python module in Ubuntu Linux - LinuxShout\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-BeautifulSoup-on-Ubuntu.png\",\"datePublished\":\"2023-05-17T16:04:09+00:00\",\"dateModified\":\"2023-05-17T16:06:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-BeautifulSoup-on-Ubuntu.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-BeautifulSoup-on-Ubuntu.png\",\"width\":725,\"height\":379,\"caption\":\"Install BeautifulSoup on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linux.how2shout.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Beautifulsoup Python module in Ubuntu Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"name\":\"LinuxShout\",\"description\":\"Find the open source solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"alternateName\":\"Linux how2shout\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linux.how2shout.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\",\"name\":\"LinuxShout\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"width\":503,\"height\":349,\"caption\":\"LinuxShout\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/how2shout\",\"https:\\\/\\\/x.com\\\/h2smedia\",\"https:\\\/\\\/instagram.com\\\/h2smedia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/h2smedia\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/how2shout\",\"https:\\\/\\\/youtube.com\\\/h2smedia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\",\"name\":\"Heyan Maurya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"caption\":\"Heyan Maurya\"},\"description\":\"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...\",\"sameAs\":[\"https:\\\/\\\/www.how2shout.com\\\/\"],\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/author\\\/heyan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install Beautifulsoup Python module in Ubuntu Linux - LinuxShout","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:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to install Beautifulsoup Python module in Ubuntu Linux","og_description":"Learn how to install BeautifulSoup a Python library on Ubuntu 22.04, 20.04, or any other version of this Linux that is used for web scraping and parsing HTML and XML documents. Python&#8217;s ecosystem offers various libraries to make the job of developers easy, out of such one is BeautifulSoup. Its name may not sound geeky [&hellip;]","og_url":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/","og_site_name":"LinuxShout","article_publisher":"https:\/\/www.facebook.com\/how2shout","article_published_time":"2023-05-17T16:04:09+00:00","article_modified_time":"2023-05-17T16:06:01+00:00","og_image":[{"width":725,"height":379,"url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png","type":"image\/png"}],"author":"Heyan Maurya","twitter_card":"summary_large_image","twitter_creator":"@h2smedia","twitter_site":"@h2smedia","twitter_misc":{"Written by":"Heyan Maurya","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#article","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/"},"author":{"name":"Heyan Maurya","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72"},"headline":"How to install Beautifulsoup Python module in Ubuntu Linux","datePublished":"2023-05-17T16:04:09+00:00","dateModified":"2023-05-17T16:06:01+00:00","mainEntityOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/"},"wordCount":620,"commentCount":0,"publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png","keywords":["tutorial","ubuntu","ubuntu 20.04","Ubuntu 22.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#respond"]}],"copyrightYear":"2023","copyrightHolder":{"@id":"https:\/\/linux.how2shout.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/","url":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/","name":"How to install Beautifulsoup Python module in Ubuntu Linux - LinuxShout","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#primaryimage"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png","datePublished":"2023-05-17T16:04:09+00:00","dateModified":"2023-05-17T16:06:01+00:00","breadcrumb":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#primaryimage","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-BeautifulSoup-on-Ubuntu.png","width":725,"height":379,"caption":"Install BeautifulSoup on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/linux.how2shout.com\/how-to-install-beautifulsoup-python-module-in-ubuntu-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linux.how2shout.com\/"},{"@type":"ListItem","position":2,"name":"How to install Beautifulsoup Python module in Ubuntu Linux"}]},{"@type":"WebSite","@id":"https:\/\/linux.how2shout.com\/#website","url":"https:\/\/linux.how2shout.com\/","name":"LinuxShout","description":"Find the open source solutions","publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"alternateName":"Linux how2shout","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linux.how2shout.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linux.how2shout.com\/#organization","name":"LinuxShout","url":"https:\/\/linux.how2shout.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","width":503,"height":349,"caption":"LinuxShout"},"image":{"@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/how2shout","https:\/\/x.com\/h2smedia","https:\/\/instagram.com\/h2smedia","https:\/\/www.linkedin.com\/company\/h2smedia\/","https:\/\/www.pinterest.com\/how2shout","https:\/\/youtube.com\/h2smedia"]},{"@type":"Person","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72","name":"Heyan Maurya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","caption":"Heyan Maurya"},"description":"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...","sameAs":["https:\/\/www.how2shout.com\/"],"url":"https:\/\/linux.how2shout.com\/author\/heyan\/"}]}},"_links":{"self":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/comments?post=19655"}],"version-history":[{"count":5,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19655\/revisions"}],"predecessor-version":[{"id":19667,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19655\/revisions\/19667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media\/19659"}],"wp:attachment":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media?parent=19655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/categories?post=19655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/tags?post=19655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}