./shutup_tips.sh
./install_suite.sh <TUNNEL_NAME> <DOMAIN_NAME>
./install_code_server_and_cloudflared.sh
./install_ffmpeg_from_deb.sh
./install_ffmpeg /usr/local
-
1、首先获取包名
dpkg -l | grep ffmpeg # 或者: dpkg -I ffmpeg7.1.deb | grep Package
2、卸载上面输出的包名
sudo dpkg -r ffmpeg-n7.1-with-gltrasition # 或者: sudo apt remove ffmpeg-n7.1-with-gltrasition
-
进入编译的目录下(带有MakeFIle的目录),需要之前的编译流程结果还保留,否则还得再运行./config 去配置, 之后运行如下卸载命令
sudo make uninstall
使用git克隆仓库时,ssh方式比https更稳定,此时需要生成ssh-key放置github设置里。
./gen_ssh-key.sh <jaysen.lin@foxmail.com>
安装NVIDIA的编码器所需的安装工具 To compile FFmpeg on Linux, do the following:
# ‣ Clone ffnvcodec
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
# ‣ Install ffnvcodec
cd nv-codec-headers && sudo make install && cd –
# ‣ Clone FFmpeg's public GIT repository.
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg/
# ‣ Install necessary packages.
sudo apt-get install build-essential yasm cmake libtool libc6 libc6-dev unzip wget
libnuma1 libnuma-dev
# ‣ Configure
./configure --enable-nonfree \
--enable-cuda-nvcc \
--enable-libnpp \
--extra-cflags=-I/usr/local/cuda/include \
--extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared
# ‣ Compile
make -j 8
# ‣ Install the libraries.
sudo make install