Linux下编译和安装软件的方法
2010-01-23 22:02
579 查看
For all those who are beginners in any linux(ubuntu) find hard to find the package files of their distro and end up in finding an source package(which is either in tar.gz or .gz).. so now people think how to install these source files…..
lets now see how would you be installing source files in ubuntu…..
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-essential
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
lets see what each one of them does…
./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.
lets now see how would you be installing source files in ubuntu…..
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-essential
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
lets see what each one of them does…
./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.
相关文章推荐
- 在Linux下软件安装的方法 rpm安装 和 编译安装
- linux 编译安装软件的方法
- linux 软件安装各种方法
- 深入理解Linux软件配置、编译及安装
- Linux下的Android电话管理软件——QtADB(安装启动方法)
- Linux下编译软件时指定安装目录的好处
- Linux软件安装常用方法
- Linux下软件的安装与卸载方法
- Linux 的Ubuntu中安装 rpm软件方法
- Linux 下软件安装方法总结
- Linux软件安装常用方法
- Linux下软件安装方法|from 永远的unix
- Linux下编译安装配置MariaDB数据库的方法
- LINUX 下安装软件方法命令方法 个人认为很实用,贴出来大家看
- linux安装软件的几种方法
- 【linux】详解linux 下安装软件tar.gz, rpm,deb的方法
- Linux安装软件的几种方法
- Linux下软件安装方法总结
- Linux下安装php加速软件Xcache的方法
- LINUX 下安装软件方法命令方法