This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| if ! command -v code &> /dev/null | |
| then | |
| echo "Please install vscode manually." | |
| exit | |
| fi | |
| sudo apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| sudo apt install build-essential git libgtk2.0-dev pkg-config | |
| sudo apt install libavcodec-dev libavformat-dev libswscale-dev libgoogle-glog-dev | |
| sudo apt install cmake | |
| ROOT_PATH=$(pwd) | |
| ENABLE_PARALELLE=ON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt purge ffmpeg | |
| sudo apt purge libavcodec-dev libavformat-dev libswscale-dev | |
| sudo apt autoremove --purge | |
| sudo apt install build-essential cmake git unzip wget locate | |
| sudo apt-get install yasm libnuma1 libnuma-dev | |
| git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git | |
| cd nv-codec-headers && sudo make install && cd - |
NewerOlder