Skip to content

Instantly share code, notes, and snippets.

@mazzma12
Last active September 26, 2021 17:34
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 mazzma12/bb6d58e3f55b6f019dfd58df8ae85bf9 to your computer and use it in GitHub Desktop.
Save mazzma12/bb6d58e3f55b6f019dfd58df8ae85bf9 to your computer and use it in GitHub Desktop.
Setup new Ubuntu server with libraries for work (Python, GIS, others...)
#!/usr/bin/env bash
# Pyenv https://github.com/pyenv/pyenv/wiki#suggested-build-environment
PYENV_PACKAGE="\
build-essential libssl-dev zlib1g-dev make \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev \
"
GIS_PACKAGE="\
libproj-dev proj-data proj-bin libgeos-dev \
libspatialindex-dev \
"
MISC_PACKAGE="\
htop\
jq\
git\
tmux\
"
GNOME_ENV="\
gnome-tweak-tool\
rclone\
xclip\
xfce4-terminal\
"
sudo apt update && \
sudo apt install $PYENV_PACKAGE $GIS_PACKAGE $MISC_PACKAGE
@mazzma12
Copy link
Author

Short cut : xfce4-terminal --maximize --drop-down --fullscreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment