Skip to content

Instantly share code, notes, and snippets.

@mdalvi
Last active May 1, 2018 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdalvi/62a0197d2b76fa7be9786715d8a4c540 to your computer and use it in GitHub Desktop.
Save mdalvi/62a0197d2b76fa7be9786715d8a4c540 to your computer and use it in GitHub Desktop.
Environment setup instructions (Ubuntu Linux)
@https://medium.com/@GalarnykMichael/install-python-on-ubuntu-anaconda-65623042cb5a
@https://www.anaconda.com/download/#linux
Install_Anaconda_Ubuntu_Python3.sh
cd ~
wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
bash Anaconda3-4.2.0-Linux-x86_64.sh -b -p ~/anaconda
rm Anaconda3-4.2.0-Linux-x86_64.sh
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
source .bashrc
conda update conda
------------------------------------------------------
@https://git-scm.com/download/linux
Download for Linux and Unix
apt-get install git
------------------------------------------------------
@https://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup
Installing Beautiful Soup
pip install beautifulsoup4
------------------------------------------------------
@https://askubuntu.com/questions/392885/how-can-i-view-the-contents-of-tar-gz-file-without-extracting-from-the-command-l
View tar file contents
tar -tf filename.tar.gz
------------------------------------------------------
@https://askubuntu.com/questions/262068/how-to-extract-a-tar-gz-file
Untar file
tar -xzf [filename]
------------------------------------------------------
@https://stackoverflow.com/questions/19816275/no-acceptable-c-compiler-found-in-path-when-installing-python
apt-get install build-essential
------------------------------------------------------
@http://ta-lib.org/hdr_dw.html
@https://github.com/mrjbq7/ta-lib
Linux Installation
$ untar and cd
$ ./configure --prefix=/usr
$ make
$ sudo make install
You may need this too...
sudo apt-get install python3-dev
conda install gcc_linux-64
conda install gxx_linux-64
source deactive
pip install ta-lib
source activate <env_name>
pip install ta-lib
------------------------------------------------------
@http://www.graphviz.org/Download_source.php
Download graphviz tar from source
$ untar and cd
$ ./configure --prefix=/usr
$ make
$ sudo make install
@http://blog.csdn.net/u010009169/article/details/60468220
sudo dpkg -r --force-depends libgraphviz4
sudo apt-get -f install
sudo apt-get upgrade
@https://pypi.python.org/pypi/graphviz
pip install graphviz
------------------------------------------------------
@https://aws.amazon.com/sdk-for-python/
pip install boto3
------------------------------------------------------
@https://askubuntu.com/questions/114997/how-where-do-i-check-my-ubuntu-laptopss-cpu-usage/115044
sudo apt-get install htop
------------------------------------------------------
@https://askubuntu.com/questions/386281/error-while-loading-shared-libraries-libglu-so-1
sudo apt-get install libglu1
------------------------------------------------------
@https://stackoverflow.com/questions/32754461/how-to-install-mysql-connector-via-pip
pip install --allow-external mysql-connector-python mysql-connector-python
------------------------------------------------------
@https://askubuntu.com/questions/17823/how-to-list-all-installed-packages
View installed apt packages
apt list --installed
------------------------------------------------------
@https://unix.stackexchange.com/questions/362115/how-to-keep-a-python-script-running-when-i-close-putty
tmux
tmux attach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment