{"id":548,"date":"2018-05-16T02:02:49","date_gmt":"2018-05-16T07:02:49","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=548"},"modified":"2020-08-02T11:50:34","modified_gmt":"2020-08-02T16:50:34","slug":"how-to-install-virtual-environment-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/","title":{"rendered":"How to Install Virtual Environment on Ubuntu 16.04"},"content":{"rendered":"<div id=\"linux-451174350\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In today&#8217;s tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers certain versions of Python and its packages, when we actually need newer versions. We can install new versions of Python on the server, of course, but this will be more complex because we will have some dependency issues when trying to compile everything we need. Virtual environment make this very easy to manage and set up, we can have different versions of Python in each environment, and it will be isolated from the main system. Installing Virtual Environment on Ubuntu 16.04 is fairly easy task and it shouldn&#8217;t take more than 10 minutes to finish.<\/p>\n<p><!--more--><\/p>\n<h2>1. Install dependencies<\/h2>\n<pre>:~$ sudo apt install python-pip<\/pre>\n<h2>2. Create virtual environment directory<\/h2>\n<pre>:~$ mkdir \/home\/rosehosting\/python<\/pre>\n<p>Now go to the directory you just created<\/p>\n<pre>:~$ cd \/home\/rosehosting\/python<\/pre>\n<h2>3. Install virtualenv<\/h2>\n<pre>:~\/python$ sudo pip install virtualenv<\/pre>\n<h2>4. Create a virtual environment<\/h2>\n<pre>:~\/python$ virtualenv rose<\/pre>\n<p>&#8220;rose&#8221; is the name of the virtual environment. We can see some sub directories inside &#8220;rose&#8221;. We will want to focus on the bin directory. The bin directory contains local copy of python binary and the pip installer.<br \/>\nFor example, we want to install &#8220;requests&#8221; package there, we can invoke:<\/p>\n<pre>:~\/python\/rose$ bin\/pip install requests\r\n<code>Collecting requests\r\nDownloading requests-2.18.4-py2.py3-none-any.whl (88kB)\r\n100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 92kB 2.0MB\/s\r\nCollecting certifi&gt;=2017.4.17 (from requests)\r\nDownloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)\r\n100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 153kB 2.5MB\/s\r\nCollecting chardet&lt;3.1.0,&gt;=3.0.2 (from requests)\r\nDownloading chardet-3.0.4-py2.py3-none-any.whl (133kB)\r\n100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 143kB 2.6MB\/s\r\nCollecting idna&lt;2.7,&gt;=2.5 (from requests)\r\nDownloading idna-2.6-py2.py3-none-any.whl (56kB)\r\n100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 61kB 3.0MB\/s\r\nCollecting urllib3&lt;1.23,&gt;=1.21.1 (from requests)\r\nDownloading urllib3-1.22-py2.py3-none-any.whl (132kB)\r\n100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 133kB 2.7MB\/s\r\nInstalling collected packages: certifi, chardet, idna, urllib3, requests\r\nSuccessfully installed certifi-2018.1.18 chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22<\/code><\/pre>\n<p>As you can see, we don&#8217;t use sudo, because we install it on a virtual environment, not server wide.<\/p>\n<h2>5. Run python shell inside the virtual environment<\/h2>\n<p>Now, to run python shell inside the virtual environment, we can do this:<\/p>\n<pre>:~\/python\/rose$ bin\/python\r\n<code>Python 2.7.12 (default, Dec 4 2017, 14:50:18)\r\n[GCC 5.4.0 20160609] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n&gt;&gt;&gt; import requests\r\n&gt;&gt;&gt; requests.get('https:\/\/rosehosting.com')\r\n\r\n&gt;&gt;&gt; quit()<\/code><\/pre>\n<p>To make the work even easier, we can go into the virtual environment to use pip and python command without typing bin\/pyton and bin\/pip<\/p>\n<p>We have to activate the new virtual environment to be able to do works there<\/p>\n<pre>:~\/python$ source rose\/bin\/activate<\/pre>\n<p>Now we can install a python app\/package<\/p>\n<pre>(rose):~\/python$ pip install requests<\/pre>\n<p>The command above is a command to install &#8220;requests&#8221;. This is the same with the one we previously installed. But, if you install it in a virtual environment, you only need to type pip install requests instead of bin\/pip install requests<\/p>\n<p>When you finished working on the virtual environment or wanted to switch to another one, you can deactivate the environment you are working on by invoking this command:<\/p>\n<pre>(rose):~\/python$ deactivate<\/pre>\n<hr \/>\n<p>Of course, you don\u2019t have to install and configure virtual environment on Ubuntu 16.04, if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install and configure virtual environment on Ubuntu 16.04 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on how to install virtual environment on Ubuntu 16.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p><div id=\"linux-2685483733\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers certain versions of Python and its packages, when we actually need newer versions. We can install new versions of Python on the server, of course, but this will be more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":549,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[20,98],"class_list":["post-548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-ubuntu","tag-virtual-environment"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In today&#039;s tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In today&#039;s tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-16T07:02:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-02T16:50:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Virtual Environment on Ubuntu 16.04\",\"datePublished\":\"2018-05-16T07:02:49+00:00\",\"dateModified\":\"2020-08-02T16:50:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/\"},\"wordCount\":448,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg\",\"keywords\":[\"ubuntu\",\"virtual environment\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/\",\"name\":\"How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg\",\"datePublished\":\"2018-05-16T07:02:49+00:00\",\"dateModified\":\"2020-08-02T16:50:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In today's tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg\",\"width\":750,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-virtual-environment-on-ubuntu-16-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Virtual Environment on Ubuntu 16.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport","description":"In today's tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers","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:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport","og_description":"In today's tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2018-05-16T07:02:49+00:00","article_modified_time":"2020-08-02T16:50:34+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Virtual Environment on Ubuntu 16.04","datePublished":"2018-05-16T07:02:49+00:00","dateModified":"2020-08-02T16:50:34+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/"},"wordCount":448,"commentCount":1,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg","keywords":["ubuntu","virtual environment"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/","name":"How to Install Virtual Environment on Ubuntu 16.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg","datePublished":"2018-05-16T07:02:49+00:00","dateModified":"2020-08-02T16:50:34+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In today's tutorial we will show you, how to install Virtual Environment on Ubuntu 16.04. We may face issues when our Linux distribution only offers","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Install-Virtual-Environment-on-Ubuntu-16.04.jpg","width":750,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-virtual-environment-on-ubuntu-16-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Virtual Environment on Ubuntu 16.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=548"}],"version-history":[{"count":2,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/548\/revisions"}],"predecessor-version":[{"id":1231,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/548\/revisions\/1231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/549"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}