[问题]怎么装软件(软件包已经下载)
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
[问题]怎么装软件(软件包已经下载)
如题,我的软件已经下载在桌面上,怎么用终端安装,需要敲什么命令,假设文件为qq.deb
安装vbox时提示需要root怎么办?
安装vbox时提示需要root怎么办?
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
- yang_hui1986527
- 帖子: 911
- 注册时间: 2006-03-04 23:10
- 来自: 江西高安
- 联系:
Re: [问题]怎么装软件(软件包已经下载)
gg117 写了:如题,我的软件已经下载在桌面上,怎么用终端安装,需要敲什么命令,假设文件为qq.deb
安装vbox时提示需要root怎么办?
如果提示需要root,那就提升权限罗。sudo dpkg -i **.deb
微信:sn0wdr1am86
QQ: 3217680847
QQ 群:82695646
网站:https://www.itcoder.tech/
网站:http://www.snowdream.tech/
QQ: 3217680847
QQ 群:82695646
网站:https://www.itcoder.tech/
网站:http://www.snowdream.tech/
-
- 帖子: 40
- 注册时间: 2007-08-01 16:51
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
Re: [问题]怎么装软件(软件包已经下载)
怎么提升权限?yang_hui1986527 写了:gg117 写了:如题,我的软件已经下载在桌面上,怎么用终端安装,需要敲什么命令,假设文件为qq.deb
安装vbox时提示需要root怎么办?如果提示需要root,那就提升权限罗。sudo dpkg -i **.deb
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
-
- 帖子: 40
- 注册时间: 2007-08-01 16:51
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系:
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系:
你装的系统是7.04 ?VirtualBox_1.3.8_Ubuntu_feristy_i386.deb
终端中当前目录是桌面吗?文件名是你敲进去的还是自动补全的?无法访问打包文件: 没有该文件或目录
在处理时有错误发生:
VirtualBox_1.3.8_Ubuntu_feristy_i386.deb
PS:我软件是放在桌面上的
另外,你不是都装上了吗?为什么在命令行下还装?
代码: 全选
按照你的方法结果如下:
sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module vboxdrv [ OK ]
* Recompiling VirtualBox kernel module vboxdrv
* Look at /var/lib/vbox-install.log to find out what went wrong
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
看了,不懂,请高手帮忙分析下:dbzhang800 写了:你装的系统是7.04 ?VirtualBox_1.3.8_Ubuntu_feristy_i386.deb
终端中当前目录是桌面吗?文件名是你敲进去的还是自动补全的?无法访问打包文件: 没有该文件或目录
在处理时有错误发生:
VirtualBox_1.3.8_Ubuntu_feristy_i386.deb
PS:我软件是放在桌面上的
另外,你不是都装上了吗?为什么在命令行下还装?打开这个文件看看到底哪儿出错了代码: 全选
按照你的方法结果如下: sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel module vboxdrv [ OK ] * Recompiling VirtualBox kernel module vboxdrv * Look at /var/lib/vbox-install.log to find out what went wrong
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-17-generic/build SUBDIRS=/tmp/vbox.5 SRCROOT=/tmp/vbox.5 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-17-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.5/.tmp_versions ; rm -f /tmp/vbox.5/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.5
gcc -m32 -Wp,-MD,/tmp/vbox.5/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.24-17-generic/build/include -I/tmp/vbox.5/ -I/tmp/vbox.5/include -I/tmp/vbox.5/r0drv/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -D__X86__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.5/linux/.tmp_SUPDrv-linux.o /tmp/vbox.5/linux/SUPDrv-linux.c
In file included from /tmp/vbox.5/include/iprt/types.h:55,
from /tmp/vbox.5/include/VBox/types.h:25,
from /tmp/vbox.5/SUPDRV.h:31,
from /tmp/vbox.5/linux/SUPDrv-linux.c:24:
include/linux/types.h:40: 错误: typedef‘uintptr_t’重定义
/tmp/vbox.5/include/iprt/stdint.h:119: 错误: ‘uintptr_t’的上一个声明在此
在包含自 include/linux/thread_info.h:33 的文件中,
从 include/linux/preempt.h:9,
从 include/linux/spinlock.h:49,
从 /tmp/vbox.5/SUPDRV.h:82,
从 /tmp/vbox.5/linux/SUPDrv-linux.c:24:
include/linux/bitops.h:6:1: 警告: “BIT”重定义
在包含自 /tmp/vbox.5/include/VBox/cdefs.h:24 的文件中,
从 /tmp/vbox.5/SUPDRV.h:30,
从 /tmp/vbox.5/linux/SUPDrv-linux.c:24:
/tmp/vbox.5/include/iprt/cdefs.h:959:1: 警告: 这是先前定义的位置
make[2]: *** wait: 没有子进程。 停止。
make[2]: *** 正在等待未完成的任务....
make[2]: *** wait: 没有子进程。 停止。
make[1]: *** wait: 没有子进程。 停止。
make[1]: *** 正在等待未完成的任务....
make[1]: *** wait: 没有子进程。 停止。
make: *** wait: 没有子进程。 停止。
make: *** 正在等待未完成的任务....
make: *** wait: 没有子进程。 停止。
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中