How to install libxml on ubuntu?

I am trying to install libxml on ubuntu.  Its not working and I don't get what I am doing wrong.


Step 1:  download
> git clone git://git.gnome.org/libxml2
> cd libxml2
result:  a libxml2 directory with lots of stuff in it.

> ./configure
result:  no such file or directory  // Huh? I thought these packages were supposed to install that way.

> make install
result:  make: *** No rule to make target `install'.  Stop.

How do I install this thing?

 
tmonteitAsked:
Who is Participating?
 
clockwatcherConnect With a Mentor Commented:
sudo apt-get install libxml2 python-libxml2
0
 
svsCommented:
That should work, unless OP requires newer version...
0
All Courses

From novice to tech pro — start learning today.