Linux下编译和安装软件的方法
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.
相关文档:
前几天制作了USB启动盘后,发现无法上网,于是就在网上找了些资料,总结如下:
一、设置本机IP地址
ifconfig eth0 192.168.1.100
二、设置网关
route delete default
oute add default gw 192.168.1.1(
添加默认网关,用的是铁通ADSL) ......
http://tech.idv2.com/2008/01/11/linux-sysinfo-cmds/
最近看了一些Linux命令行的文章,在系统信息查看方面学到不少命令。
想起以前写过的一篇其实Linux这样用更简单
,
发现这些系统信息查看命令也可以总结出一篇小小的东西来了。
另外这里
还有非常多的命令,
可以作为参考。
系统
# uname -a # ......
在linux下安装配置svn独立服务器
subversion(以下简称svn)是近年来崛起的版本管理工具,是cvs的接班人。
svn服务器有2种运行方式:独立服务器和借助apache。2种方式各有利弊。
svn存储版本数据也有2种方式:BDB和FSFS。因为BDB方式在服务器中断时,有可能锁住数据(jijian91在搞LDAP时就深受其害,没法根治),所以还是F ......
从
Linux 2.6
起引入了一套新的驱动管理和注册机制 :Platform_device
和 Platform_driver
。
Linux
中大部分的设备驱动,都可以使用这套机制 ,
设备用
Platform_device
表示,驱动用
Platform_driver
进行注册。
Linu ......