User:Laurier Rochon/prototyping/debian party
< User:Laurier Rochon
Revision as of 22:50, 4 October 2011 by Laurier Rochon (talk | contribs) (Created page with "== Debian install party! == ''Some random notes taken during...'' '''Putting file on USB stick''' * unmount /dev/sdb (key drive) * cat something.iso > /dev/sdb (whatever the d...")
Debian install party!
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)