Installing Linphone for Ubuntu
As is always the case with Linphone, there are many steps not written in the README that one needs do.
First get linphone:
git clone git://git.linphone.org/linphone.git --recursive
And then, do the following (I'm on Ubuntu. If your on other distros the lib name might be different!)
sudo apt-get install libgtk2.0-dev
sudo apt-get install intltool
sudo apt-get install libosip2-dev
sudo apt-get install libexosip2-dev
sudo apt-get install libspeex-dev
sudo apt-get install libspeexdsp-dev
sudo apt-get install ffmpeg
sudo apt-get install libavcodec-dev
sudo apt-get install libswscale-dev
sudo apt-get install libxv-dev
sudo apt-get install libv4l-dev
Lib name is case sensitive and differ from platform to platform. To know the exact lib name, you can go to http://pkgs.org/search and enter the common lib name (as is mentioned in the README) in the search field in the top right corner. The site will then list the exact library name for your distro and how to install it. Very convenient!
After all the above directories are installed, enter the directory where you git pulled linphone and do:
./autogen.sh
./configure
make
sudo make install
Last step, you need to have the shared dynamic library generated during linphone compilation into your path. I added the following line to my ~/.profile
And then I restarted my machine to make the changes in profile takes permanent effect.
Now linphone is installed in /usr/local/bin and just type:
linphone
from terminal to execute it.
First get linphone:
git clone git://git.linphone.org/linphone.git --recursive
And then, do the following (I'm on Ubuntu. If your on other distros the lib name might be different!)
sudo apt-get install libgtk2.0-dev
sudo apt-get install intltool
sudo apt-get install libosip2-dev
sudo apt-get install libexosip2-dev
sudo apt-get install libspeex-dev
sudo apt-get install libspeexdsp-dev
sudo apt-get install ffmpeg
sudo apt-get install libavcodec-dev
sudo apt-get install libswscale-dev
sudo apt-get install libxv-dev
sudo apt-get install libv4l-dev
Lib name is case sensitive and differ from platform to platform. To know the exact lib name, you can go to http://pkgs.org/search and enter the common lib name (as is mentioned in the README) in the search field in the top right corner. The site will then list the exact library name for your distro and how to install it. Very convenient!
After all the above directories are installed, enter the directory where you git pulled linphone and do:
./autogen.sh
./configure
make
sudo make install
Last step, you need to have the shared dynamic library generated during linphone compilation into your path. I added the following line to my ~/.profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
And then I restarted my machine to make the changes in profile takes permanent effect.
Now linphone is installed in /usr/local/bin and just type:
linphone
from terminal to execute it.
0 komentar:
Posting Komentar