Last active
January 23, 2021 23:00
-
-
Save hmen97/8b74573d1977d2a922ecdd0163c39462 to your computer and use it in GitHub Desktop.
ubuntu_setup.sh
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
#virtual environment for jupyter notebook | |
$ python -m venv projectname | |
$ source projectname/bin/activate | |
(venv) $ pip install ipykernel | |
(venv) $ ipython kernel install --user --name=projectname | |
#install sublime text | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
sudo apt-get update | |
sudo apt-get install sublime-text -y | |
#Installing cmake for dlib(it takes time) | |
sudo apt-get install build-essential cmake pkg-config | |
sudo apt-get install libx11-dev libatlas-base-dev | |
sudo apt-get install libgtk-3-dev libboost-python-dev | |
#only cpu | |
pip install -v --install-option="--no" --install-option="DLIB_USE_CUDA" dlib | |
#install vlc | |
sudo apt install vlc -y | |
#github-desktop | |
sudo snap install github-desktop --edge --classic | |
#install postman | |
sudo snap install postman | |
#sqlite-browser | |
sudo apt-get install sqlitebrowser -y | |
#install typora | |
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE | |
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add - | |
sudo add-apt-repository 'deb https://typora.io/linux ./' | |
sudo apt-get update | |
sudo apt-get install typora -y | |
#install gnome-tweaks | |
sudo apt-get install gnome-tweak-tool | |
#mc-mojave | |
git clone https://github.com/vinceliuice/Mojave-gtk-theme.git | |
cd Mojave-gtk-theme/ | |
./install.sh | |
#uninstall libreoffice | |
#sudo apt-get remove --purge libreoffice* | |
#sudo apt clean | |
#sudo apt-get autoremove -y | |
#onedrive | |
sudo apt install onedrive | |
#variety | |
sudo apt install variety -y | |
#pip3 | |
sudo apt install python3-pip | |
#virtualenv and virtualenvwrapper | |
pip3 install virtualenv | |
mkdir ~/.virtualenvs | |
pip3 install virtualenvwrapper | |
echo "#for virtualenvwrapper" >> ~/.bashrc | |
echo "export WORKON_HOME=~/.virtualenvs" >> ~/.bashrc | |
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc | |
echo "export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3" >> ~/.bashrc | |
source ~/.bashrc | |
echo "export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.6" >> ~/.bashrc | |
echo "export VIRTUALENVWRAPPER_VIRTUALENV=/home/azureuser/.local/bin/virtualenv" >> ~/.bashrc | |
echo "export WORKON_HOME=~/.virtualenvs" >> ~/.bashrc | |
echo "source /home/azureuser/.local/bin/virtualenvwrapper.sh" >> ~/.bashrc | |
source ~/.bashrc | |
sudo apt install --reinstall vitualenv | |
#install git LFS | |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | |
sudo apt-get install git-lfs | |
git lfs install | |
#psql | |
sudo apt install postgresql-client-common | |
sudo apt update | |
sudo apt install postgresql postgresql-contrib | |
#pgadmin | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install postgresql-9.3 pgadmin3 -y | |
#curl | |
sudo apt install curl | |
#install ffmpeg | |
cd | |
sudo add-apt-repository ppa:jonathonf/ffmpeg-4 | |
sudo apt-get update | |
sudo apt-get install ffmpeg | |
#configure tmux | |
cd | |
git clone https://github.com/gpakosz/.tmux.git | |
ln -s -f .tmux/.tmux.conf | |
cp .tmux/.tmux.conf.local . | |
echo 'SUCCESS! Please verify the installations, and setup the ones that need doing so.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment