Preliminary Updates and Installations
(http://markus.com/install-theano-on-aws/)
sudo apt-get update
sudo apt-get -y dist-upgrade
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
Preliminary Updates and Installations
(http://markus.com/install-theano-on-aws/)
sudo apt-get update
sudo apt-get -y dist-upgrade
| # Note – this is not a bash script (some of the steps require reboot) | |
| # I named it .sh just so Github does correct syntax highlighting. | |
| # | |
| # This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5 | |
| # | |
| # The CUDA part is mostly based on this excellent blog post: | |
| # http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ | |
| # Install various packages | |
| sudo apt-get update |
| wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb | |
| sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb | |
| sudo apt-get update | |
| # Note that we do upgrade and not dist-upgrade so that we don't install | |
| # new kernels; this script will install the nvidia driver in the *currently | |
| # running* kernel. | |
| # sudo apt-get upgrade -y | |
| sudo apt-get install -y git python-pip vim htop | |
| sudo apt-get clean |