How to install php70-gd on Ubuntu ? Last Updated : 18 Aug, 2020 Comments Improve Suggest changes Like Article Like Report Graphics Draw or GD library is an open-source library for dynamic creation of images. It is used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM. This package for PHP 7 can be installed via the PPA by Ondrej SurĂ½. To install php7.0-gd on ubuntu, using the terminal. Follow these steps First, you need to update your system with unsupported packages from this untrusted PPA by adding ppa:ondrej/php to your system's Software Sources. This step is required only for Ubuntu 15 or less. Type the below command in your terminal and when prompted press ENTER to enable the repositorysudo add-apt-repository ppa:ondrej/phpAdding PPA repository to systems software sources-1Adding PPA repository to systems software sources-2.Next, update your repositories using the command sudo apt-get updateSample output for the update command in UbuntuNow, we are ready to install the gd library for PHP. Run the below command to install the required version of php7.x-gd, where x should be replaced by the version required for you to install.sudo apt-get install php7.x-gd for php version 7.0 replace x with 0, sudo apt-get install php7.0-gdsudo apt-get install php7.4-gd command in Ubuntu Note: PHP v7.0 is outdated and is no longer supported, so the above command to install php7.0-gd may not work. But, installing php7.4-gd will work fine. Since it is relatively newer and officially supported. Comment More infoAdvertise with us Next Article How to install php70-gd on Ubuntu ? E equbalzeeshan Follow Improve Article Tags : Web Technologies PHP PHP-Misc Similar Reads How to Install PHP on Ubuntu? If you're working with web development on Linux, knowing how to install PHP on Ubuntu is essential. PHP is a popular server-side scripting language used to build dynamic websites, and setting it up on your Ubuntu system is simple. In this guide, we'll walk you through the steps to PHP installation o 5 min read How to Install PHP Xdebug on Ubuntu? Xdebug is a debugging and profiling tool for use on development servers. Xdebug allows fatal errors to be debugged with the same clarity available during normal program execution without the limitation of the shutdown processes. Xdebug's Profiler is a powerful tool that gives you the ability to anal 2 min read How to Install php-xml in Ubuntu? Extensible Markup Language (XML) is a markup language similar to HTML, but the difference between HTML and XML is HTML has predefined tags but in XML we can create our own tags. The format of XML is standardized, if we share or transmit the XML over other systems and platform the receiver still will 2 min read How to Install Apache with PHP-FPM on Ubuntu? The Apache HTTP Server is a free, open-source, cross-platform web server software. It is developed and maintained by Apache Software Foundation. Apache is the most widely used web server around the world. The vast majority of Apache HTTP server instances run on Linux distribution, but current versio 4 min read How to Install PHP intl extension in Ubuntu? The Internationalisation (Intl) extension is a wrapper for the ICU library, a collection of C/C++ and Java libraries that provide Unicode and Globalisation support for software applications. It tends to closely follow ICU APIs so that people having experience working with ICU in either C/C++ or Java 2 min read Like