User:Laurier Rochon/prototyping/debian party
< User:Laurier Rochon
Revision as of 23:58, 16 January 2012 by Laurier Rochon (talk | contribs)
Debian install party!
My memory sucks...some random notes taken during...
Putting file on USB stick
- unmount /dev/sdb (key drive)
- cat something.iso > /dev/sdb (whatever the drive is, usb key, of course)
- reboot, from key
Linux file structure
- /usr/bin : main install path for programs
- /usr/sbin : for superuser programs (superbin?)
- /usr/local/bin : for programs that you compile yourself (you can make a mess here!)
- /etc : config files are held in here (ex: package manager settings)
- /etc/apt/sources.list (important)
- /etc/apt/apt.conf.d -> add a file in there (80norecommends) to not install recommended software, and add this line (no brackets) [APT::Install-Recommends "false";]
About packages and installing
- dpkg - : gets a package on your disk, and unpacks it in the right folder(s) (low lovel)
- apt-get : gets the packages, calls pdkg, gets depencies, etc. (higher level)
- aptitude (higher)
- synaptic (...)
Inside aptitude
- aptitude : press u to update (must do this before anything else)
- press / to search, press N to skip to next package starting with name entered
- enter - see full description
- press g to download/install
- CTRL-T -> views -> flat list view
- press L (filter)
- press + (mark for installation)
- aptitude keep-all (keep things as is. reset the state)
Package evolution
- experimental - unstable - testing - stable
moving to unstable : change /etc/apt/sources.list
- change wheezy to sid and take out 2 last security lines
- add "contrib non-free" before main
- exit
- apt-get dist-upgrade
- reboot
installed packages
- apt-listbugs
- apt-listchanges
- lynx
- iceweasel
- trayer (system tray)
- etc.
- full package list : http://kiwi.kuri.mu/pub/Barebone_Sid
Graphical server First layer before the desktop and the window manager
- (to start) : startx or X
- Desktop manager : GNOME, LXDE, XFCE, openbox, awesome
- graphical server -> window manager -> desktop manager
- debian distro : crunchbang (with openbox window manager)
Misc
- dpkg-reconfigure tzdata (change timezone data)
- keyboard settings : change layout : setxkbmap en/it/us/etc. to have it permanent : add to .Xsession (setxbmap en)
- bashmount (needs udisks)
- thunar to automount
- ifup eth0
- dhclient eth0
- bring down other interfaces to use android phone (/etc/init.d/networking stop)
- zsh - get on git the oh-my-zsh / zshrc
- copy the main config file in ~/
To activate scrolling on the trackpad
- synclient VertEdgeScroll=1
- synclient HorizEdgeScroll=1
- synclient TapButton1=1