linux 下安装软件的那点事儿
Understanding software Installation (configure, make, make install)
This
tutorial is aimed at those who have just started using Linux.
Generally when users from the Windows background enter the Linux
scene,they are totally stumped by the software installation method.
They were used to the luxury of double clicking on a single file
and getting their software installed. But now they have to type
cryptic commands to do the same.
Though the installation instructions tell them what to do, they
have no idea what those steps actually do
. This article
shall explain the basics of software installation. After reading
this article you would feel more at home when installing your
next software.
Generally beginners tend to search desperately for RPMs since
installing RPMs is a real simple task. But this article doesn't
talk about RPMs. It deals with the softwares that you generally
get in the zipped formats as tarballs.
Details :
Generally you would get Linux software in the tarball format
(.tgz) This file has to be uncompressed into any directory using
tar command. In case you download a new tarball by the name game.tgz,
then you would have to type the following command
$ tar xfvz game.tgz
This would create a directory within the current directory
and unzip all the files within that new directory. Once this is
complete the installation instructions ask you to execute the
3 (now famous) commands : configure, make
相关文档:
1. cd -> 返回进入此目录之前所在的目录:cd -
2. 上一条命令 ->
!! 全部的上一条命令
!* 上一条命令的全部参数
& ......
随着Linux2.6的发布,由于2.6内核做了教的改动,各个设备的驱动程序在不同程度上要
进行改写。为了方便各位Linux爱好者我把自己整
理的这分文档share出来。该文当列举
了2.6内核同以前版本的绝大多数变化,可惜的是由于时间和精力有限没有详细列出各个
函数的用
法。
特别声明:该文档中的内容来自http://lwn.net,该 ......
提示符通过变量PS1来设置,可以用以下命令来显示当前设置:
echo $PS1
提示符的系统范围(对系统里所有用户有效)的设定在文件 /etc/bashrc里,可能包含以下的行:
PS=“[\u@\h \W]\$"
要定制提示符,我们可以编辑文件 /etc/bashrc (root用户)然后在两个引号之内输入任何你想要的文本。
将[\u@\h \W]\\$修改为[ ......
linux 下c 程序 段错误 分析
(2008-12-31 16:50:57)
var $tag='it';
var $tag_code='2cec03ae0a5b0d224bb35c9b79dd54c7';
标签:it
分类:C/C++
fopen("/var/spool/cron/tmp","w+");
/////////////////////////////////////////
#include <sys/types.h>
......
Linux 下常用的 SVN 命令
1、将文件checkout到本地目录
svn checkout path(path是服务器上的目录)
例如:svn checkout svn://192.168.1.1/pro/domain
简写:svn co
2、往版本库中添加新的文件
svn add file
例如:svn add test.php(添加test.php)
svn add *.php(添加当前目录下所有的php文件)
3 ......