Skip to content

Instantly share code, notes, and snippets.

@aliaksandr-master
Last active May 3, 2018 08:56
Show Gist options
  • Save aliaksandr-master/48fb3765c5fe1e50368277842c808495 to your computer and use it in GitHub Desktop.
Save aliaksandr-master/48fb3765c5fe1e50368277842c808495 to your computer and use it in GitHub Desktop.
#full update
apt-get install -f && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoclean -y && apt-get autoremove -y
#basic
apt-get install -y gksu unrar cpufrequtils cputool hardinfo partitionmanager guake xubuntu-restricted-extras apt-transport-https ca-certificates curl software-properties-common
# firmware-linux firmware-linux-free firmware-linux-nonfree unrar
#media & office
apt-get install -y variety vlc vlc-* ttf-* audacity libreoffice libreoffice-l10n-ru shutter filezilla gimp ntp florence gedit
#virtualbox
apt-get install -y virtualbox virtualbox-guest-additions-iso virtualbox-ext-pack
# add your user to "vboxusers" group
nano /etc/group
# DEV
apt-get install -y httpie curl gcc git ssh gitk kdiff3 imagemagick nginx
git config --global user.name "user"
git config --global user.email [email protected]
git config --global core.editor gedit
git config --global merge.tool kdiff3
git config --global push.default simple
# python
apt-get install -y python2.7 python-pip python-setuptools python-virtualenv autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev
pip install --upgrade pip
pip install --upgrade virtualenv
sudo -y apt-get install spyder
# docker
#https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
# ruby
apt-get install -y ruby ruby-full gem
# mongo
apt-get install -y mongodb mongodb-clients mongodb-server mongodb
# nodejs
apt-get install -y npm
sudo chown -R `whoami` /usr/local/
sudo chown -R `whoami` ~/.npm
npm i -g n
n lts
apt-get purge npm nodejs -y
ln -s /usr/local/n/versions/node/8.10.0/bin/npm /usr/bin/npm
ln -s /usr/local/n/versions/node/8.10.0/bin/node /usr/bin/node
ln -s /usr/local/n/versions/node/8.10.0/bin/npx /usr/bin/npx
n lts
npm update -g npm node-gyp npm-check-updates webpack gulp yo pm2 static-server eslint less
node-gyp --python /usr/bin/python2.7
npm config set python /usr/bin/python2.7
# enable hibernate
sudo -s
nano /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
#> Look for
#> [Disable hibernate by default in upower]
#> [Disable hibernate by default in logind]
#> Change the value of "ResultActive=no" to "ResultActive=yes" in both, and then restart your system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment