suse linux笔记(关机、查看版本、安装gcc)
来源:互联网 发布:淘宝直通车竞价设置 编辑:程序博客网 时间:2024/05/28 19:23
安装包下载网站:http://213.174.32.130/sles/distribution/11.0-SP1/repo/disk1/suse/x86_64/
rpm包:http://rpm.pbone.net/
shutdown关机命令
格式: shutdown 选项 时间
如:重启 shutdown -r now
关机 shutdown now
===========================================================================================================================
1、如何查看linux版本。
linux:~ # cat /etc/issue
Welcome to SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel \r (\l).
2、如何查看linux内核。
linux:~ # cat /proc/version
Linux version 2.6.32.12-0.7-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP 2010-05-20 11:14:20 +0200
===========================================================================================================================
3、安装gcc
所需包:三、gcc43-4.3.4_20091019-0.7.35.x86_64.rpm
二、glibc-devel-2.11.1-0.17.4.x86_64.rpm
一、 linux-kernel-headers-2.6.27-3.2.src.rpm
(将上面3个包安一二三安装:rpm -ivh linux-kernel-headers-2.6.27-3.2.src.rpm 即可。有些可能还需要装 cpp43-4.3.4_20091019-0.7.35.x86_64.rpm
linux-glibc-devel-2.6.36-3.1.noarch.rpm)
错误语句分析(安装之前需要linux-kernel-headers包):
linux:~/Downloads/cgh # rpm -ivh glibc-devel-2.11.1-0.17.4.x86_64.rpm
error: Failed dependencies:
linux-kernel-headers is needed by glibc-devel-2.11.1-0.17.4.x86_64
===========================================================================================================================
4、安装ntfs-3g
错误1(没有安装gcc编译器,无法编译configure文件)、
linux:~/Downloads/ntfs-3g # ./configure
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking target system type... x86_64-suse-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable C compiler found in $PATH
- suse linux笔记(关机、查看版本、安装gcc)
- 查看SUSE LINUX版本
- 查看SUSE LINUX版本
- 查看SUSE LINUX版本
- 查看SUSE LINUX版本
- Linux-- 查看SUSE 版本
- SUSE(linux)下安装GCC
- linux查看GCC版本
- SUSE Linux Enterprise Server 11安装gcc
- SUSE Linux Enterprise Server 11安装gcc
- NS2安装笔记---SUSE Linux
- 查看SUSE版本
- 查看suse版本
- 查看Linux内核版本,和suse版本的命令
- SUSE Linux Enterprise Server 12 (x86_64) rpm方式 安装gcc
- linux 查看gcc版本,支持C++11
- linux查看ubuntu版本,内核版本,系统位数,gcc版本
- Open SUSE 安装gcc,make
- 在Ubuntu下安装bakefile和wxwidgets
- QT的stylesheet属性
- QT实现窗口圆角
- QT arcTo函数简析
- QT 中shot(槽)的个人理解和一点笔记
- suse linux笔记(关机、查看版本、安装gcc)
- relatedTarget, fromElement, toElement
- 浅谈phpwind的header.htm模板
- ubuntu下/bin/sh的指向
- 【PHP】免费建站程序小总结
- 记录一点东西,jquery的相册,很漂亮。代码的诱惑。
- 在win7上搭建android sdk小笔记
- 生活随笔-满足
- 记录几个网址,JQUERY的酷炫代码。