删除之前的软链接并重新创建软链接
[root@thatsit FFmpeg-n3.1.2]# which ffmpeg
/usr/local/bin/ffmpeg
[root@thatsit FFmpeg-n3.1.2]# cd /usr/local/bin/
[root@thatsit bin]# ll|grep ff
lrwxrwxrwx 1 root root 28 Oct 22 2015 ffmpeg -> /usr/local/ffmpeg/bin/ffmpeg
[root@thatsit bin]# rm -f ffmpeg
[root@thatsit bin]# ln -s /usr/local/ffmpeg_3.1.2/bin/ffmpeg .
[root@thatsit bin]# ln -s /usr/local/ffmpeg_3.1.2/bin/ffprobe .
[root@thatsit bin]# ll|grep ff
lrwxrwxrwx 1 root root 34 Mar 1 23:17 ffmpeg -> /usr/local/ffmpeg_3.1.2/bin/ffmpeg
lrwxrwxrwx 1 root root 35 Mar 1 23:17 ffprobe -> /usr/local/ffmpeg_3.1.2/bin/ffprobe
Created
February 14, 2019 09:55
-
-
Save Roger8/b15b782a22ea81b9a43dbff7b55cc9e7 to your computer and use it in GitHub Desktop.
linux 安装程序后软链接
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment