Install GD library and freetype on Linux

后端 未结 4 1029
轻奢々
轻奢々 2021-02-02 07:09

I\'m trying to use imagefttext. And I need to have GD library and/or freetype installed. I\'m new to this kind of stuffs, How can I install GD library and freetype in Li

4条回答
  •  庸人自扰
    2021-02-02 07:56

    Things are pretty much simpler unless they are made confusing.

    To Install GD library in Ubuntu

    sudo apt-get install php5-gd
    

    To Install Freetype in Ubuntu

    sudo apt-get install libfreetype6-dev:i386
    

提交回复
热议问题