File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
<# . SYNOPSIS
2
2
Initialize Linux machine.#>
3
- sudo apt update
4
- # ! https://askubuntu.com/questions/900285/libegl-so-1-is-not-a-symbolic-link
5
- # ! https://askubuntu.com/a/1460390
6
- # ! https://github.com/mccdaq/uldaq
7
- sudo apt install ' libegl1-mesa-dev' ' libxkbcommon0' ' libxcb-cursor0' ' libxcb-xinerama0' ' libqt5x11extras5' ' gcc' ' g++' ' make' ' bzip2' ' gzip' ' libusb-1.0-0-dev'
8
- curl - L - O ' https://github.com/mccdaq/uldaq/releases/download/v1.2.1/libuldaq-1.2.1.tar.bz2'
3
+ if ($IsLinux ) {
4
+ sudo apt update
5
+ # ! https://askubuntu.com/questions/900285/libegl-so-1-is-not-a-symbolic-link
6
+ # ! https://askubuntu.com/a/1460390
7
+ # ! https://github.com/mccdaq/uldaq
8
+ sudo apt install ' libegl1-mesa-dev' ' libxkbcommon0' ' libxcb-cursor0' ' libxcb-xinerama0' ' libqt5x11extras5' ' gcc' ' g++' ' make' ' bzip2' ' gzip' ' libusb-1.0-0-dev'
9
+ curl - L - O ' https://github.com/mccdaq/uldaq/releases/download/v1.2.1/libuldaq-1.2.1.tar.bz2'
10
+ }
9
11
$Archive = ' libuldaq-1.2.1.tar.bz2'
10
12
tar - xvjf $Archive
11
13
Remove-Item $Archive
You can’t perform that action at this time.
0 commit comments