Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Dec 21, 2011 5:28 am 
Offline
Newbie

Joined: Fri Dec 16, 2011 4:27 am
Posts: 2
Hi!
I'm new here but I was able to finally install wordpress on my linode!
I run a ubuntu 10.4 with the lamp stack script.

I need to install gd and freetype library, and I don't know how to do it.

I found this tutorial: http://www.lampdocs.com/blog/2008/04/fr ... -and-easy/

But putty doesn't recognize the "yum" command.

Can you help me?
Thanks!


Top
   
 Post subject:
PostPosted: Wed Dec 21, 2011 8:28 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
The "yum" program is mainly used on Red Hat, Fedora and CentOS systems, although an implementation of it is also available for Debian and Ubuntu. To install yum for Ubuntu, use the command apt-get install yum.

On the other hand, the php5-gd package in Ubuntu and Debian should include support (via dependencies) for Freetype as well. In that case, use apt-get install php5-gd to install Freetype and GD libraries (along with support for them in PHP5) in a single action.


Top
   
 Post subject:
PostPosted: Thu Dec 22, 2011 4:55 am 
Offline
Newbie

Joined: Fri Dec 16, 2011 4:27 am
Posts: 2
Many thanks! apt-get install php5-gd (and then apache reload) worked ;)

By the way, where do you find all these commands?


Top
   
 Post subject:
PostPosted: Thu Dec 22, 2011 5:04 am 
Offline
Newbie

Joined: Sun Dec 18, 2011 5:49 am
Posts: 2
Jgas,

This commands are pretty common and everyone that worked with linux at some time knows them.

As a quick tip on how to find them via google, try to always use your distro (aka CentOs, Ubuntu, Fedora, RedHat, Debian etc) in the search. So in your case (you use a debian based distro) I think it's Ubuntu, so you should try something like "how to install gd and freetype on Ubuntu".

The web is full of resources you just have to know where to look :P


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group