2015-02-11 202 views
0

好的,所以我上下網絡試圖弄清楚它是什麼,我做錯了什麼......然而我處於無處不在的狀態。 我基本上是試圖通過此處的說明,我CENTOS 6.6專用服務器上安裝FFmpeg的https://trac.ffmpeg.org/wiki/CompilationGuide/CentosFFmpeg -bash:ffmpeg:找不到命令

一切似乎在整個過程中去就好了。當這一切都完成後,我輸入「的ffmpeg」打進入並不斷獲取這種極其醜陋的錯誤:

-bash: -bash:: command not found

我沒有太大的外殼的傢伙,但今天一整天使用它,我可以說這意味着它沒有正確安裝。所以,我試着重新安裝它,它告訴我所有的包現在已經存在......。這裏是一個副本,如果我正在做什麼,我得到:

[email protected] [~]# ffmpeg -version 
-bash: ffmpeg: command not found 

[email protected] [~]# yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel 
Loaded plugins: fastestmirror, priorities, security 
Setting up Install Process 
Loading mirror speeds from cached hostfile 
* base: centos.mirror.ndchost.com 
* extras: centos-distro.cavecreek.net 
* updates: mirrors.easynews.com 
Package autoconf-2.63-5.1.el6.noarch already installed and latest version 
Package automake-1.11.1-4.el6.noarch already installed and latest version 
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version 
Package gcc-c++-4.4.7-11.el6.x86_64 already installed and latest version 
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version 
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version 
Package 1:make-3.81-20.el6.x86_64 already installed and latest version 
Package nasm-2.07-7.el6.x86_64 already installed and latest version 
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version 
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version 
Nothing to do 

任何想法或幫助,非常感謝!

+0

你的問題是在這裏脫離主題,但關於[SU]的主題。我已投票遷移它,所以請不要再發布它。將來,請詢問您的常規命令行問題,這些問題不是在此編程時專用的。謝謝。 – slhck 2015-02-12 08:23:20

+0

每天學習新東西......謝謝@slhck – 2015-02-16 16:51:33

回答

1

OK,更加重視後,我意識到,有一個錯誤

Unable to create and execute files in /tmp. Set the TMPDIR environment 
variable to another directory and make sure that it is not mounted noexec. 
Sanity test failed. 

所以,我剛纔提出的/ tmp目錄,並運行此:

export TMPDIR=$HOME/tmp 

然後跑到安裝命令!