- Run the following commands
-$ sudo apt install $(cat cv2_requirements_apt.txt)
-$ sudo ldconfig
-$ sudo dpkg -i opencv_3.1.0_armhf.deb
This file contains 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 | |
sudo dd if=/dev/zero of=/swap bs=10M count=100 #Creates a file of size 1000M | |
sudo losetup /dev/loop0 /swap | |
sudo mkswap /dev/loop0 | |
sudo swapon /dev/loop0 |
NewerOlder