Skip to main content

How to Install Source Files in linux

source files contain the programs and hence before the installation you need to compile them… so you need to install the build-essentials from the synaptic package manager…. else this build-essentials is already present in the cd.. and so you can install it…..else you can install it typing it in the terminal by sudo aptitude install build-essentials

suppose you have a source file name src.tar.gz, what you do initially is that you need to extract the source files and then in the terminal….
navigate to the folder where the source file is extracted using the cd commands….. and then
type the following…

./configure
make
sudo make install
clean install


./configure….. checks whether the required dependencies are available on your system or not….. if not an error is reported….

make compiles the source code and make install is used to install the program in to the location
if it asks for an installation location it is recommended to install all the source to /usr/src


clean install removes any temporary files created in the installation process of the source
and thats it your source file in installed in your system.

Comments

Popular posts from this blog

rm 대신에 trash 를 사용합니다

리눅스에서 GUI환경에서는 삭제하면 휴지통으로 들어가는데... 콘솔에서 rm 명령으로 삭제하면 휴지통에 들어가지 않고 바로 삭제 됩니다. 실수로 삭제할 경우 복구 하기도 힘들고 해서 rm 명령어 대신에 trash 명령으로 휴지통으로 보내 버리도록 합니다. -------------------------------------------- apt-get install trash-cli -------------------------------------------- 로 trash 설치후 .profile 이나 .bashrc 파일을 열어 alias 를 추가합니다. -------------------------------------------- alias rm='trash' -------------------------------------------- 끝.

안드로이드 프로그램 개발: [Android(안드로이드) 앱 개발 응용] Location GPS 위치 가져오기 및 최적...

안드로이드 프로그램 개발: [Android(안드로이드) 앱 개발 응용] Location GPS 위치 가져오기 및 최적... :  * 이번에는 Location Manager를 이용해서 현재 사용자의 위치를 측정하는 방법을 공부해보자. * Location 측정 방법 : 현재 안드로이드 상에서는 다양한 방법으로 사용자의 위치를 측정하고 있다. GPS는 가장 정확하지만 실외에서만 제대로 작동하고, 배터리 소모가 심각하고, 사용자가 원하는만큼 빠르게 위치를 계산하지 못한다. 또 다른 방법으로는 안드로이드의 네트워크 위치 프로바이더를 이용하는 것인데, 통신사의 cell tower와 와이파이 신호의 위치를 통해서 실내와 실외 모두에서 측정가능한 방법인데다 응답고 빠르고 베터리 소모가 심하지 않지만, 정확성이 조금 떨어지는 단점이 있다. 따라서 사용자의 위치를 구할 때에는 GPS를 사용하거나 네트워크 위치 플바이더를 사용하거나 둘다 사용할수도 있다. .....