Last active
July 24, 2023 20:49
-
-
Save carlynorama/ffa2f11aca83a15ae8e2d37f141a32db to your computer and use it in GitHub Desktop.
Linux-VM History (Labtanza)
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 update | |
sudo apt upgrade | |
sudo apt install clang libicu-dev build-essential pkg-config | |
apt install git gh | |
apt install libpng-dev | |
## NOTE THIS WAS DELETED LATER | |
apt install cmake | |
mkdir ~/swift | |
cd ~/swift | |
# go to https://www.swift.org/download/#releases for current links | |
wget https://download.swift.org/swift-5.8-release/ubuntu2004/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu20.04.tar.gz | |
tar xzf swift-5.8-RELEASE-ubuntu20.04.tar.gz #add v (xzvf) to see all files | |
mv swift-5.8-RELEASE-ubuntu22.04 5.8 | |
# swift.org recommended choice: add a simlink to `swift` command to `/usr/bin/` | |
# instead of adding version folder to $PATH. | |
sudo ln -s ~/swift/5.8/usr/bin/swift /usr/bin/swift | |
swift --version | |
python --version #(3.10.6) | |
sudo apt install python3-pip | |
pip3 install PyOpenGL numpy Pyside6 | |
#As per warning | |
export PATH=$PATH:/home/ubuntu_admin/.local/bin; | |
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev libxt-dev | |
cd ~/Documents/GitHub | |
git clone https://github.com/PixarAnimationStudios/OpenUSD.git | |
python3 OpenUSD/build_scripts/build_usd.py ~/opb/OpenUSD_2023JUL24_default | |
# ERROR: CMake version 3.24 or later required to build USD, but version found was 3.22.1 | |
# Remove previous cmake versions | |
# Skip to apt-get if didn't install CMake already. | |
sudo apt remove cmake | |
sudo apt purge --auto-remove cmake | |
hash -r #console refresh | |
sudo apt-get install build-essential libssl-dev libssl-doc | |
wget https://github.com/Kitware/CMake/releases/download/v3.27.0/cmake-3.27.0.tar.gz | |
tar xf cmake-3.27.0.tar.gz | |
cd cmake-3.27.0 | |
./bootstrap | |
make | |
sudo make install | |
hash -r | |
cmake --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment