[FFmpeg-devel] Missing sudo on make install in INSTALL.md
Timo Rothenpieler
timo at rothenpieler.org
Thu Aug 26 15:08:09 EEST 2021
On 26.08.2021 06:34, "zhilizhao(赵志立)" wrote:
>> I tried try `make install` on my machine and I got:
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffprobe.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-all.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffprobe-all.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-utils.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-scaler.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-resampler.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-codecs.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-bitstream-filters.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-formats.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-protocols.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-devices.1': Permission denied
>> install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-filters.1': Permission denied
>> make: *** [doc/Makefile:126: install-man] Error 1
>>
>> By doing `sudo make install` it fixs the problem. User are not on root all the time.
>
> Nope. sudo is unnecessary or unavailable on some platform. You can install it to other
> directories without the need of root permission. Most importantly, sudo is a dangerous
> advice for novice. On the other hand, for anyone who already know what sudo is he/she
> doesn’t need such advice.
I'd even go so far to say that recommending sudo is outright dangerous.
Installing an incompatible version of libav* into the system can break a
whole lot of things.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210826/daef6279/attachment.bin>
More information about the ffmpeg-devel
mailing list