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

갤럭시S 프로요 업데이트후 "USB 연결 설정" 없어진다

갤럭시 안드로이드 2.2로 업뎃하고 나니 USB 연결 설정 메뉴가 없어져서 황당 했습니다. 고객센터 전화하니까 자동으로 프로요 부터 자동으로 usb메모리랑 kies랑 를 인식한다고 하던데.. adb devices 해도 잡히는 장비 하나 없어 완전 황당.. 삼성 모바일 홈피가서 kies 프로그램 다운 받아 설치 하니까 그재서야 잡히네요 그전에는 드라이버만 설치 해서 인식 했었는데...

장고 프레임워크 설치하기

# 장고프레임워크 설치 - pip 설치 (파이썬 패키지 관리자 ... 아마도) $ sudo apt-get install python-pip $ sudo easy_install pip   (apt-get 으로 받으면 옛날버전.  updated 2015.07.30 ) $ curl https://bootstrap.pypa.io/get-pip.py | sudo python (참고 : https://pip.pypa.io/en/stable/installing/ ) -- pip를 이용해서 pip 업데이트 방법: $ pip install -U pip - virtualenv 설치 $ sudo pip install virtualenv - 가상환경 만들기 $ virtualenv -p /usr/bin/python3.4 (env-name) - 가상환경 시작 $ source (env-name)/bin/activate (가상환경 종료시  : (env-name)$ deactivate  ) - 장고 설치 (env-name)$ pip install Django( == 1.7 ) - 장고 프로젝트 만들기 (env-name)$ django-admin.py startproject (proj-name)