Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 124 lines (95 sloc) 3.79 KB
# NOTE: this is NOT intended to be run as a script!
#
# explanation: steps I follow when installing ubuntu onto a computer
#
#### wireless ####
#if wireless isn't already working, appropriate fix will depend on your card
#fix for BCM4331 (rev 02) (tried on 2011 mbp, 2012/4 mba):
sudo apt-get install bcmwl-kernel-source
#fix for BCM4306 (rev 03) (card in MY desktop):
sudo apt-get install firmware-b43-installer
sudo modprobe -r b43 #ssb brcmfmac brcmsmac bcma
sudo modpobe b43
#### desktop environment ####
#install gnome classic then login using 'gnome classic (metacity)'
sudo apt-get install gnome-session-fallback
sudo apt-get install light-themes
#gsettings set org.gnome.desktop.interface gtk-theme Ambiance
gsettings set org.gnome.desktop.interface gtk-theme Yaru-dark
gsettings set org.gnome.desktop.interface icon-theme ubuntu-mono-dark
#change width of window borders
sudo nano /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml
# <distance name="left_width" value="3"/>
# <distance name="right_width" value="3"/>
# <distance name="bottom_height" value="3"/>
#### mac keyboard specific ####
## switching ctrl & cmd key bindings ##
#move .Xmodmap to /home/nick/.Xmodmap
# .Xmodmap should be in the Install-Guides repo
# see also https://askubuntu.com/questions/131900/how-do-i-switch-the-command-key-and-control-key-on-a-macbook-pro
#prevent switched keybindings from resetting
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
#switch bindings for current session
xmodmap /home/nick/.Xmodmap
#add startup progam "cmd ctrl switcher" "/usr/bin/xmodmap /home/nick/.Xmodmap"
#change keybindings for changing windows
sudo apt-get install dconf-editor
#nav to org/gnome/desktop/wm/keybindings
#switch-group '<Control>Above_Tab'
#switch-applications '<Control>Tab'
#######
#### back up sudoers file ####
sudo cp /etc/sudoers /etc/sudoers-backup
#### install packages ####
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install chromium-browser
sudo gedit /usr/share/applications/chromium-browser.desktop
#change Exec=chromium-browser %U
#to Exec=chromium-browser --incognito %U
sudo apt-get install pepperflashplugin-nonfree
#installing gmp properly
#download latest gmp-VERSION.tar.bz2 from https://gmplib.org/#DOWNLOAD
tar -xvf gmp-VERSION.tar.bz2
cd GMP-VERSION
./configure --prefix=/usr/local/lib/gmp
make
sudo make install
sudo apt-get install build-essential
sudo apt-get install libboost-all-dev
#sudo apt-get install libgmp3-dev libgmp10-doc libmpfr-dev
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install ktorrent
sudo apt-get install pidgin
sudo apt-get install vlc
sudo apt-get install nautilus-dropbox
sudo apt-get install pinta gimp imagemagick
sudo apt-get install libopencv-dev
sudo snap install sublime-text --classic
sudo apt-get install git
git config --global user.name "username"
git config --global user.email "email address"
mkdir /home/nick/Repositories
sudo apt-get install texlive-full #takes a few hours
sudo apt-get install texlive-latex-extra
sudo apt-get install texstudio
#### fixing bookmarks ####
sudo nano ~/.config/gtk-3.0/bookmarks
file:///home/nick/Documents
file:///home/nick/Downloads
file:///home/nick/Dropbox
file:///home/nick/Music
file:///home/nick/Pictures
file:///home/nick/Repositories
file:///home/nick/Videos
#### more information ####
#http://ubuntuguide.org/wiki/Ubuntu_Trusty
#http://www.thegeekstuff.com/2010/11/50-linux-commands/
#http://linuxcommand.org/
lsb_release -a #find version of ubuntu
uname -a #find version of kernel
sudo apt-get update #update apt package database
sudo apt-get upgrade #upgrade packages
sudo apt-get dist-upgrade #upgrade distribution
### network analysis ###
sudo apt-get install wireshark
sudo apt-get install ngrep