Skip to content

Instantly share code, notes, and snippets.

@dungam
Last active May 3, 2021 04:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dungam/22a6d449d3887fa9854767176ec97dae to your computer and use it in GitHub Desktop.
Save dungam/22a6d449d3887fa9854767176ec97dae to your computer and use it in GitHub Desktop.
#!/bin/bash
## -------------------------------
##
## IMPORTANT NOTES
##
## Don't use this script blindly. Some instructions may not be compatible with your distribution or version
##
## Run this script as root or sudo privileged account
##
## Scripts tested on Linux Mint 18
##
## --------------------------------
#-- Add some useful PPA's'
add-apt-repository -y ppa:webupd8team/java #/ Java 8 for netbeans 8
add-apt-repository -y ppa:klaus-vormweg/bluefish-rc #/ bluefish release candidate
add-apt-repository -y ppa:kubuntu-ppa/backports #/ latest kde
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - #/ nodejs 6 ppa
#-- Google chrome. Add key first
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
apt update
apt install -y aptitude ppa-purge
apt install -y g++
apt install -y python-pip
apt install -y tasksel
#-- KDE --
apt install -y kde-standard kdebase-workspace kdebase-runtime krename
#-- file management
apt install -y kupfer # gnome-do alternative
apt install -y wipe secure-delete
apt install -y okular
apt install -y dolphin konsole kdesdk-dolphin-plugins
apt install -y kio-ftps kio-locate kdemultimedia-kio-plugins klinkstatus kdocker # kde/dolphin utilities
apt install -y caja-sendto caja-image-converter caja-actions caja-gksu caja-open-terminal caja-share folder-color-caja
apt install -y gmountiso isomaster # add/extract/delete files from iso with isomaster
apt install -y exfat-utils exfat-fuse # mount xfat formated SD drives
apt install -y unetbootin extlinux
apt install -y bleachbit # history cleaner
# -- Virtualization --
# get Oracle Public Authentication Key
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
# virtualbox-nonfree has usb support
#apt install -y wine dkms virtualbox-nonfree
# Virtualbox nonfree provides support for usb and shared folders.
apt install -y dkms virtualbox-nonfree virtualbox-guestadditions virtualbox-guest-utils vagrant
apt install -y playonlinux #/ Wine frontend
# -- Android Studio works better with KVM
# install kvm
#apt install -y qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
# -- web browser --
apt install -y lynx elinks google-chrome-stable
apt install -y gnochm chmsee kchmviewer
#apt install -y acroread pdfcrack pdfcube pdfedit pdfjam pdfshuffler kpdf pdfmod pdfchain chm2pdf #check out pdfchain
# -- Node JS 4.x --
# Now available in official repo
# apt install -y nodejs npm
#
# installing version 6
apt install -y nodejs
# -- email --
apt install -y konversation
# -- Text Editors
apt install -y kwrite kate libghc6-highlighting-kate-prof highlighting-kate-doc libsyntax-highlight-engine-kate-perl
apt install -y vim vim-youcompleteme bluefish geany-plugins mousepad
# sublime like command line text editor, https://github.com/slap-editor/slap. Requires Node to run. Cli with mouse support and Sublime key mapping
npm install -g slap@latest
#-- development | IDE
#apt install -y kdevelop kdevelop-dev kdevelop-data kdevelop-php kdevelop-php-dbg kdevelop-php-docs kdevelop-php-docs-l10n kdevelop-php-l10n kdevplatform8-libs
apt install -y kdiff3 komparator meld diffuse
apt install -y node-less #/ css less
# Install Java 8
#apt install -y oracle-java8-installer
# Download and install netbeans 8.0.2
#wget http://download.netbeans.org/netbeans/8.0.2/final/bundles/netbeans-8.0.2-php-linux.sh -O /tmp/netbeans.sh
#bash /tmp/netbeans.sh --silent
# -- Version control
apt install -y git subversion
apt install -y rabbitvcs-nautilus rabbitvcs-cli rabbitvcs-gedit
#-- Disk recovery --
#apt install -y testdisk
#-- Video players / Editors
apt install -y vlc smplayer
pip install --upgrade youtube-dl #/ latest youtube-dl using python-pip
#-- Video Editing --
apt install -y handbrake-cli handbrake-gtk # DVD ripper and video transcoder - GTK GUI :: output to .avi, .ogg, mp4 - from getdeb.net
apt install -y kino avidemux kdenlive
#-- image editor / manipulation
apt install -y imagemagick graphicsmagick blender inkscape
apt install -y gimp-plugin-registry #gimp pluggins including liquid rescale (content aware in Photoshop - awesome)
#-- offline dictionary
apt install -y artha
#-- dvd/cd / Audio / Music
apt install -y rhythmbox-radio-browser remuco-rhythmbox music-applet # rhythmbox extras
apt install -y b5i2iso nrg2iso uif2iso cdi2iso cdd2iso mdf2iso pdi2iso ccd2iso
apt install -y bchunk # convert from bin/cue to iso/cdr * bin2iso *
apt install -y picard # official music brainz tag editor
apt install -y audacity
#-- SECURITY / Forensics --
apt install -y aircrack-ng wireshark # wireless cracking
apt install -y keepassx
#-- NETWORK Tools --
#apt install -y openssh-server # ssh server
apt install -y network-manager-openvpn network-manager-openvpn-gnome # also install openvpn
#-- php5-dev
# this package is required by xdebug but it uninstalls Apache, jQuery and all other PHP moduels. Installing it first before others
#apt install -y php5-dev
#apt install -y php-pear #/ installs php5-cli
#-- Database --
#apt install -y mysql-server mysql-client mysql-common
#apt install -y phpmyadmin
apt install -y sqlitebrowser sqliteman
#-- php7 --
# libraries missed in default install. Most here needed for Laravel to run
apt install -y php-mbstring phpunit php-zip php-curl
#-- php5 --
# apt install -y php5-curl curl
#apt install -y php5-common libapache2-mod-php5 php5-mysql php-apc php5-mcrypt php5-memcache php5-gd php-xml-parser
#apt install -y php5-imap # webmail support
#apt install -y php5-sqlite # embedded database
#apt install -y mcrypt # enable with: $ a2enmod mcrypt
#apt install -y php5-readline # required by php5-cli
# -- xdebug
#/ installed via pecl which needs phpize which depends on php5-dev
#pecl install -Z xdebug
# xdebug profiler - log viewer
apt install -y kcachegrind kcachegrind-converters
#-- DIARY SOFTWARE --
apt install -y cherrytree zim
# -- required for compiling a kernel
# apt install -y qt4-qmake libqt4-dev
#apt install -y libncurses5-dev
#-- Download manager
# apt install -y transmission
#-- Required for compiling software
apt install -y build-essential cmake
#-- Misc utils
apt install -y htop
## unistalling unwanted kernels
# -- list kernels
# dpkg --get-selections | grep linux-image
# -- remove kernel
# sudo apt purge -y unwanted kernel
# sudo apt purge -y linux-image-2.6.32-27-generic
#-- Other useful software --
# otrs - ticket management / change management software
# redmine - online project management system
# webmin - browser based sys-admin interface
# squid - proxy/caching system
# observium, nagios, zabbix - network monitoring tools
# powerbroker open - join linux clients to Windows AD domain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment