{"id":11424,"date":"2024-05-22T09:21:54","date_gmt":"2024-05-22T09:21:54","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=11424"},"modified":"2024-05-22T09:47:24","modified_gmt":"2024-05-22T09:47:24","slug":"how-to-install-laravel-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/","title":{"rendered":"How to Install Laravel on Ubuntu 24.04"},"content":{"rendered":"<p><a id=\"post-11424-_heading=h.1fob9te\"><\/a><a href=\"https:\/\/laravel.com\/\">Laravel<\/a> is a PHP framework. It is widely used and known for its simplicity and efficiency in building web-based applications. It allows modern tools and features to streamline development, including database management.<\/p>\n<p>This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 system. Refer to <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\">this<\/a> article if you are using older version i-e Ubuntu 22.04.<\/p>\n<h2><strong>How to install Laravel on Ubuntu 24.04?<\/strong><\/h2>\n<p>Follow the below-guided steps to install Laravel on your Ubuntu 24.04 system.<\/p>\n<p><strong>Step 1: Update and Upgrade Your System Files<\/strong><\/p>\n<p>It is a good practice to keep your system up to date and upgrade. This will help you to run your system smoothly and efficiently:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt update<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img fetchpriority=\"high\" decoding=\"async\" width=\"889\" height=\"556\" class=\"wp-image-11425\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-1.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-1.png 889w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-1-300x188.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-1-768x480.png 768w\" sizes=\"(max-width: 889px) 100vw, 889px\" \/><\/pre>\n<p>If your system needs to install the newest files for the installed packages, you can run the upgrade command:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt upgrade -y<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img decoding=\"async\" width=\"891\" height=\"506\" class=\"wp-image-11426\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-2.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-2.png 891w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-2-300x170.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-2-768x436.png 768w\" sizes=\"(max-width: 891px) 100vw, 891px\" \/> <img decoding=\"async\" width=\"889\" height=\"510\" class=\"wp-image-11427\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-3.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-3.png 889w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-3-300x172.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-3-768x441.png 768w\" sizes=\"(max-width: 889px) 100vw, 889px\" \/><\/pre>\n<p>Once your Ubuntu 24.04 machine has been configured with the latest package files, you can proceed to the installation process.<\/p>\n<p><strong>Step 2: Install the \u201cCurl\u201d Package<\/strong><\/p>\n<p>To download the packages from the internet, you are required to install the \u201cCurl\u201d tool using the command:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt install curl -y<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"326\" class=\"wp-image-11428\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-4.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-4.png 886w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-4-300x110.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-4-768x283.png 768w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/pre>\n<p>If your system has installed the curl tool, you will see the above message on your screen.<\/p>\n<p><strong>Step 3: Install the PHP Package<\/strong><\/p>\n<p>Laravel requires PHP and associated extensions. To install these required files, run the command provided below:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt install php php-common php-gd php-mysql php-curl php-intl php-mbstring php-bcmath php-xml php-zip -y<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"554\" class=\"wp-image-11429\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-5.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-5.png 888w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-5-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-5-768x479.png 768w\" sizes=\"(max-width: 888px) 100vw, 888px\" \/><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"893\" height=\"462\" class=\"wp-image-11430\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-6.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-6.png 893w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-6-300x155.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-6-768x397.png 768w\" sizes=\"(max-width: 893px) 100vw, 893px\" \/><\/p>\n<p>The output mentioned above shows that the command executed successfully and as a result, all the required packages have been configured on your Ubuntu 24.04 system.<\/p>\n<p><strong>Step 4: Confirm PHP Installation<\/strong><\/p>\n<p>After installing the PHP packages, utilize the following code to view the installed version of PHP:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>php -v<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"881\" height=\"143\" class=\"wp-image-11431\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-7.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-7.png 881w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-7-300x49.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-7-768x125.png 768w\" sizes=\"(max-width: 881px) 100vw, 881px\" \/><\/pre>\n<p>It can be seen in the output that the currently installed version of PHP is 8.3.6 on your Ubuntu 24.04.<\/p>\n<p><strong>Step 5: Install Composer for PHP and Laravel<\/strong><\/p>\n<p>It is a necessary step for running the Laravel package on your machine. Thus, utilize the below command to download and install the composer package on your Ubuntu 24.04 machine:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo curl -sS https:\/\/getcomposer.org\/installer | sudo php -- --install-dir=\/usr\/bin --filename=composer<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"211\" class=\"wp-image-11432\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-8.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-8.png 904w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-8-300x70.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-8-768x179.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-8-900x211.png 900w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/pre>\n<p><strong>Composer 2.7.6<\/strong> is now successfully installed on your machine without encountering any errors.<\/p>\n<p><strong>Step 6: Verify Composer Installation<\/strong><\/p>\n<p>You can use the \u201ccomposer\u201d command followed by the \u201c-v\u201d option to verify the installed version of the Composer package:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>composer -v<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"506\" class=\"wp-image-11433\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-9.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-9.png 901w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-9-300x168.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-9-768x431.png 768w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/> <img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"422\" class=\"wp-image-11434\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-10.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-10.png 904w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-10-300x140.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-10-768x359.png 768w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/pre>\n<p>As you can see the \u201c-v\u201d option also displays some important commands on your terminal. These commands can be further used according to your needs.<\/p>\n<h3><strong>How to Create a Laravel Project on the Ubuntu 24.04 System?<\/strong><\/h3>\n<p>Let\u2019s follow these steps to create a Laravel project on your Ubuntu 24.04 machine.<\/p>\n<p><strong>Step 1: Create a Laravel Project<\/strong><\/p>\n<p>Through the following simple command, you can create a Laravel project on your system:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>composer create-project laravel\/laravel Proj_Green_WB<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"509\" class=\"wp-image-11435\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-11.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-11.png 888w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-11-300x172.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-11-768x440.png 768w\" sizes=\"(max-width: 888px) 100vw, 888px\" \/> <img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"503\" class=\"wp-image-11436\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-12.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-12.png 906w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-12-300x167.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-12-768x426.png 768w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/pre>\n<p>After initiating the Laravel project, such as <strong>Proj_Green_WB<\/strong>, you may encounter the above error regarding missing SQLite on your system.<\/p>\n<p><strong>Step 2: Install SQLite for PHP<\/strong><\/p>\n<p>Let\u2019s fix the above error by installing the SQLite package on your Ubuntu 24.04 machine:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>sudo apt install php8.3-sqlite3 -y<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"327\" class=\"wp-image-11437\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-13.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-13.png 885w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-13-300x111.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-13-768x284.png 768w\" sizes=\"(max-width: 885px) 100vw, 885px\" \/><\/pre>\n<p><strong>Step 3: Configure and Migrate Database<\/strong><\/p>\n<p>After installing the SQLite, utilize the following command to configure and migrate the SQLite database:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>php artisan migrate<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"304\" class=\"wp-image-11438\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-14.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-14.png 886w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-14-300x103.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-14-768x264.png 768w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/pre>\n<p>This command will set up your database schema on your Ubuntu 24.04 system.<\/p>\n<p><strong>Step 4: Initiate the Laravel Server<\/strong><\/p>\n<p>Once all the above commands are executed successfully, start the Laravel development server:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>php artisan serve<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"188\" class=\"wp-image-11439\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-15.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-15.png 885w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-15-300x64.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-15-768x163.png 768w\" sizes=\"(max-width: 885px) 100vw, 885px\" \/><\/pre>\n<p>This command will provide a server link for the Laravel application.<\/p>\n<p><strong>Step 5: Access the Laravel Application<\/strong><\/p>\n<p>Copy the provided link to the web browser to access the Laravel application:<\/p>\n<table>\n<thead>\n<tr>\n<th>\n<pre>127.0.0.1:8000<\/pre>\n<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<pre><img loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"630\" class=\"wp-image-11440\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-16.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-16.png 1226w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-16-300x154.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-16-1024x526.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/word-image-11424-16-768x395.png 768w\" sizes=\"(max-width: 1226px) 100vw, 1226px\" \/><\/pre>\n<p>Finally, you will see the Laravel development page containing documentation, Laravel News, and Laravel version (v11.8.0).<\/p>\n<h2>Conclusion<\/h2>\n<p>Install Laravel on your Ubuntu 24.04 system with a few commands. To run the Laravel development server, ensure you have installed the PHP, Composer, and SQLite on your Ubuntu machine. This technical post provided a detailed guide to installing Laravel on your Ubuntu 24.04 system.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Laravel is a PHP framework. It is widely used and known for its simplicity and efficiency in building web-based applications. It allows modern tools and features to streamline development, including database management. This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 system. Refer to this article if you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":11441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[223,230,318,317],"class_list":["post-11424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-laravel","tag-linux","tag-php","tag-ubuntu-24-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Laravel on Ubuntu 24.04 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-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 Laravel on Ubuntu 24.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-22T09:21:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-22T09:47:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\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\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Laravel on Ubuntu 24.04\",\"datePublished\":\"2024-05-22T09:21:54+00:00\",\"dateModified\":\"2024-05-22T09:47:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\"},\"wordCount\":598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg\",\"keywords\":[\"Laravel\",\"Linux\",\"PHP\",\"Ubuntu 24.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\",\"name\":\"How to Install Laravel on Ubuntu 24.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg\",\"datePublished\":\"2024-05-22T09:21:54+00:00\",\"dateModified\":\"2024-05-22T09:47:24+00:00\",\"description\":\"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg\",\"width\":1280,\"height\":720,\"caption\":\"install laravel on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Laravel on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel on Ubuntu 24.04 - Greenwebpage Community","description":"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).","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:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel on Ubuntu 24.04 - Greenwebpage Community","og_description":"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2024-05-22T09:21:54+00:00","article_modified_time":"2024-05-22T09:47:24+00:00","og_image":[{"width":1280,"height":720,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Laravel on Ubuntu 24.04","datePublished":"2024-05-22T09:21:54+00:00","dateModified":"2024-05-22T09:47:24+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/"},"wordCount":598,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg","keywords":["Laravel","Linux","PHP","Ubuntu 24.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/","name":"How to Install Laravel on Ubuntu 24.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg","datePublished":"2024-05-22T09:21:54+00:00","dateModified":"2024-05-22T09:47:24+00:00","description":"This technical guide provides essential steps on how to set up a Laravel on Ubuntu 24.04 LTS (Long Term Support).","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2024\/05\/install-laravel-on-Ubuntu.jpg","width":1280,"height":720,"caption":"install laravel on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/11424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=11424"}],"version-history":[{"count":1,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/11424\/revisions"}],"predecessor-version":[{"id":11442,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/11424\/revisions\/11442"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/11441"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=11424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=11424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=11424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}