如何在deepin下面直接运行.run文件?
Tofloor
poster avatar
1***9@qq.com
deepin
2016-01-12 06:05
Author
请问下各位如何在deepin下面直接运行.run文件?我刚才下载了个xampp文件包,是.run文件的,如何运行?deepin下面好像不能识别!!
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
不避风云
deepin
2016-01-12 06:23
#1
sudo u+x /path/to/xampp.run
Reply View the author
avatar
不避风云
deepin
2016-01-12 06:23
#2
sudo /path/to/xampp.run
Reply View the author
avatar
不避风云
deepin
2016-01-12 06:24
#3
就可以安装了。
Reply View the author
avatar
不避风云
deepin
2016-01-12 06:25
#4
手机发的,不支持回车,回车就发送消息了。我也在学习php,有机会可以互相交流交流。http://my.oschina.net/bubifengyun
Reply View the author
avatar
macaiyun0629
deepin
2016-01-12 08:17
#5
我直接双击
Reply View the author
avatar
cybo0o
deepin
2016-01-13 17:29
#6
https://bbs.deepin.org/post/35918
手机发的,不支持回车,回车就发送消息了。我也在学习php,有机会可以互相交流交流。http://my.oschina.net ...

不行啊
试过了
Reply View the author
avatar
chenk
deepin
2016-01-13 18:00
#7

sudo ./path/xampp.run  就可以了,我都装好了。装了装好记得,看下文件的权限跟所属的用户组

可以 通过 chown -R user:group 就可以了,不然会报一些错误。
Reply View the author
avatar
136******54
deepin
2016-01-13 18:27
#8
本帖最后由 diyiliaoya 于 2016-1-13 10:28 编辑

两个方法:
第一个方法: 右键run文件,选“属性”,然后选“权限”,在“允许作为程序执行文件”前面打钩,之后再双击这个run文件,选择运行就可以了
第二个方法:终端,chmod +x ./***.run,然后./***.run
Reply View the author
avatar
不避风云
deepin
2016-01-13 18:49
#9
cybo0o 发表于 2016-1-13 09:29
不行啊
试过了

/path/to/xampp.run的意思是到这个执行文件的目录,是绝对路径的意思,不是直接输入代码的意思。
Reply View the author
avatar
cybo0o
deepin
2016-01-14 17:00
#10
https://bbs.deepin.org/post/35918
/path/to/xampp.run的意思是到这个执行文件的目录,是绝对路径的意思,不是直接输入代码的意思。 ...

bash: ./xampp.run: cannot execute binary file: 可执行文件格式错误
Reply View the author
avatar
大雨醉步
deepin
2016-01-14 17:28
#11
https://bbs.deepin.org/post/35918
两个方法:
第一个方法: 右键run文件,选“属性”,然后选“权限”,在“允许作为程序执行文件”前面打钩 ...

这是最简单的方法
Reply View the author
avatar
不避风云
deepin
2016-01-14 20:56
#12
cybo0o 发表于 2016-1-14 09:00
bash: ./xampp.run: cannot execute binary file: 可执行文件格式错误

可能你下载的文件不完整,尝试重新下载一个。我现在在学习yii2框架,打算做点笔记,有机会可以共同学习。https://github.com/bubifengyun/book-yii2-dev-process
Reply View the author
avatar
ydz196422577
deepin
2016-01-14 21:24
#13
希望深度把这个run等执行文件做成双击执行,省略用户的那些操作{:4_89:}主要是不会,不会就意味着用不了那个run,然后问题就来了
Reply View the author
avatar
136******54
deepin
2016-01-14 21:36
#14
https://bbs.deepin.org/post/35918
希望深度把这个run等执行文件做成双击执行,省略用户的那些操作主要是不会,不会就意味着用不了那 ...

可执行文件本来就可以双击运行,不能运行的是因为没把它设成可执行文件
Reply View the author
avatar
cybo0o
deepin
2016-01-16 02:09
#15
https://bbs.deepin.org/post/35918
可能你下载的文件不完整,尝试重新下载一个。我现在在学习yii2框架,打算做点笔记,有机会可以共同学习。 ...

谢谢 知道这个问题了 是因为我的是32位的系统  下载的64的包 在wampp官方下的包 点32的也是64的
Reply View the author
avatar
Experience
deepin
2016-01-16 03:10
#16
我的是 sh /....(文件位置)
Reply View the author
avatar
178******23
deepin
2016-01-16 05:56
#17
https://bbs.deepin.org/post/35918
两个方法:
第一个方法: 右键run文件,选“属性”,然后选“权限”,在“允许作为程序执行文件”前面打钩 ...

嗯,我一般也是这样安装软件的
Reply View the author
avatar
1***9@qq.com
deepin
2016-01-16 05:59
#18
https://bbs.deepin.org/post/35918
sudo u+x /path/to/xampp.run

谢谢,可以了,需要修改权限就可以
Reply View the author
avatar
1***9@qq.com
deepin
2016-01-16 06:00
#19
https://bbs.deepin.org/post/35918
右击他,属性,权限那里勾可执行,然后双击试试。如果双击不行,就在该文件夹打开终端。输入
./xxx.run ...

谢谢                        
Reply View the author
avatar
1***9@qq.com
deepin
2016-01-16 06:00
#20
https://bbs.deepin.org/post/35918
两个方法:
第一个方法: 右键run文件,选“属性”,然后选“权限”,在“允许作为程序执行文件”前面打钩 ...

对,就是这样,谢谢
Reply View the author
1 / 2
To page