feat(install\_software.sh): add support for TensorRT installation and remove background in OBS-studio
fix(install\_software.sh): update package list to include tensorrt-libs docs(install\_software.sh): install lf terminal file manager for better navigation during the installation process
This commit is contained in:
parent
1df80603e8
commit
fbfdde72ac
|
@ -8,6 +8,10 @@ curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dear
|
||||||
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
||||||
# obs-studio repo
|
# obs-studio repo
|
||||||
sudo add-apt-repository ppa:obsproject/obs-studio -y
|
sudo add-apt-repository ppa:obsproject/obs-studio -y
|
||||||
|
# for tensorrt (remove backgrount in obs)
|
||||||
|
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
|
||||||
|
sudo dpkg -i cuda-keyring_1.1-1_all.deb
|
||||||
|
rm -f cuda-keyring_1.1-1_all.deb
|
||||||
|
|
||||||
# apt packages
|
# apt packages
|
||||||
sudo nala update
|
sudo nala update
|
||||||
|
@ -22,7 +26,9 @@ nodejs `# for opencommit` \
|
||||||
ffmpeg `# for video` \
|
ffmpeg `# for video` \
|
||||||
v4l2loopback-dkms `# for obs-studio` \
|
v4l2loopback-dkms `# for obs-studio` \
|
||||||
obs-studio `# for screen recording` \
|
obs-studio `# for screen recording` \
|
||||||
python3-pip `# pip`
|
python3-pip `# pip` \
|
||||||
|
tensorrt-libs \
|
||||||
|
bat
|
||||||
|
|
||||||
if [ ! -f /etc/docker/daemon.json ]
|
if [ ! -f /etc/docker/daemon.json ]
|
||||||
then
|
then
|
||||||
|
@ -47,6 +53,14 @@ then
|
||||||
rm -f obs-backgroundremoval-1.1.10-x86_64-linux-gnu.deb
|
rm -f obs-backgroundremoval-1.1.10-x86_64-linux-gnu.deb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# install lf
|
||||||
|
if ! command -v lf &> /dev/null
|
||||||
|
then
|
||||||
|
wget https://github.com/gokcehan/lf/releases/download/r31/lf-linux-amd64.tar.gz
|
||||||
|
tar -xvzf lf-linux-amd64.tar.gz
|
||||||
|
sudo mv ./lf /usr/local/bin/
|
||||||
|
rm -f lf-linux-amd64.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
# install opencommit
|
# install opencommit
|
||||||
if ! command -v opencommit &> /dev/null
|
if ! command -v opencommit &> /dev/null
|
||||||
|
|
Loading…
Reference in New Issue