Added VirtualHere USB client
This commit is contained in:
parent
1af5247264
commit
d4ed2a86ea
18
update.sh
18
update.sh
@ -5,6 +5,24 @@ sudo apt update && sudo apt -y upgrade && \
|
|||||||
sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \
|
sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \
|
||||||
build-essential libssl-dev libffi-dev python3-dev file tmux && \
|
build-essential libssl-dev libffi-dev python3-dev file tmux && \
|
||||||
|
|
||||||
|
# Install usbip
|
||||||
|
sudo apt install linux-tools-virtual hwdata && \
|
||||||
|
sudo update-alternatives --install /usr/local/bin/usbip usbip $(command -v ls /usr/lib/linux-tools/*/usbip | tail -n1) 20 && \
|
||||||
|
|
||||||
|
# Install VirtualHere client
|
||||||
|
cd ~ && \
|
||||||
|
if [ -f ~/vhclientx86_64 ]; then rm ~/vhclientx86_64; fi && \
|
||||||
|
wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 && \
|
||||||
|
chmod +x vhclientx86_64 && \
|
||||||
|
ln -sf ~/vhclientx86_64 ~/.local/bin/vhclient && \
|
||||||
|
|
||||||
|
# Install teensy udev rules
|
||||||
|
sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules && \
|
||||||
|
wget -O /tmp/00-teensy.rules https://www.pjrc.com/teensy/00-teensy.rules && \
|
||||||
|
sudo install -o root -g root -m 0664 /tmp/00-teensy.rules /lib/udev/rules.d/00-teensy.rules && \
|
||||||
|
sudo udevadm control --reload-rules && \
|
||||||
|
sudo udevadm trigger && \
|
||||||
|
|
||||||
# Install neovim
|
# Install neovim
|
||||||
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi && \
|
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi && \
|
||||||
cd ~ && \
|
cd ~ && \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user