Difference between revisions of "LMDE"

From YobiWiki
Jump to navigation Jump to search
 
(39 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
* continue installation
 
* continue installation
 
* inject proper config in /etc/crypttab and /etc/fstab <br>First I mount /home in /home.old (mkdir /home.old) so I can access both fresh user homedir and old one, then move content of /home into /home.old and change fstab to mount on /home next time
 
* inject proper config in /etc/crypttab and /etc/fstab <br>First I mount /home in /home.old (mkdir /home.old) so I can access both fresh user homedir and old one, then move content of /home into /home.old and change fstab to mount on /home next time
==Add Debian repos==
+
==Add Debian repositories==
 
LMDE is based on Debian testing but with some delay and I had quickly the issue that my chromium profile was saved by a chroimum version newer than the one in LMDE repos.
 
LMDE is based on Debian testing but with some delay and I had quickly the issue that my chromium profile was saved by a chroimum version newer than the one in LMDE repos.
   
 
/etc/apt/sources.list.d/debian.list :
 
/etc/apt/sources.list.d/debian.list :
 
deb http://ftp.be.debian.org/debian/ jessie main contrib non-free
 
deb http://ftp.be.debian.org/debian/ jessie main contrib non-free
  +
deb-src http://ftp.be.debian.org/debian/ jessie main contrib non-free
 
We need some pinning to avoid jessie taking over the LMDE repositories. The problem is that they have both the exact same keywords:
 
We need some pinning to avoid jessie taking over the LMDE repositories. The problem is that they have both the exact same keywords:
 
$ apt-cache policy
 
$ apt-cache policy
Line 32: Line 33:
 
Pin: origin ftp.be.debian.org
 
Pin: origin ftp.be.debian.org
 
Pin-Priority: 400
 
Pin-Priority: 400
  +
  +
apt-get update
 
And to use Jessie repo e.g.:
 
And to use Jessie repo e.g.:
 
apt-get install chromium/jessie
 
apt-get install chromium/jessie
  +
 
==Tuning==
 
==Tuning==
 
To be able to use encfs & sshfs:
 
To be able to use encfs & sshfs:
adduser <user> fuse
+
adduser <myuser> fuse
 
Cinnamon tuning:
 
Cinnamon tuning:
 
* pin progs to panel: drag & drop from menu
 
* pin progs to panel: drag & drop from menu
Line 42: Line 46:
 
* Hide Icons on the Desktop: Settings / Desktop
 
* Hide Icons on the Desktop: Settings / Desktop
 
* Add a Program Shortcut to the Mint Menu: Right-click the Mint Menu, select "Configure" then "Open the menu editor", Click a software category / "New Item".
 
* Add a Program Shortcut to the Mint Menu: Right-click the Mint Menu, select "Configure" then "Open the menu editor", Click a software category / "New Item".
  +
  +
applet Multicode System Monitor: see http://cinnamon-spices.linuxmint.com/applets/view/79
  +
apt-get install gir1.2-gtop-2.0
  +
Settings / Applets / Get more / search network -> NMulticode System Monitor
  +
<br>Right click on bar / add applets
   
 
==Install software==
 
==Install software==
  +
<!--
  +
for i in a b c; do apt-cache search $i|grep "^$i "|awk '{n=$1;$1="";printf ("%-30s%s\n",n,$0)}';done|sort
  +
-->
 
===First ones===
 
===First ones===
 
First ones are:
 
First ones are:
  +
<pre>
etckeeper : store /etc in git, mercurial, bzr or darcs
 
  +
etckeeper - store /etc in git, mercurial, bzr or darcs
  +
</pre>
 
to save /etc with git
 
to save /etc with git
  +
<pre>
intel-microcode : Processor microcode firmware for Intel CPUs
 
  +
intel-microcode - Processor microcode firmware for Intel CPUs
  +
</pre>
 
to fix some warnings at boot time about some missing ucode:
 
to fix some warnings at boot time about some missing ucode:
platform microcode: firmware: agent aborted loading intel-ucode/06-2a-07 (not found?)
+
<br>''platform microcode: firmware: agent aborted loading intel-ucode/06-2a-07 (not found?)''
  +
 
===debian===
 
===debian===
  +
<pre>
apt-listchanges : package change history notification tool
 
apt-rdepends : Recursively lists package dependencies
+
apt-listchanges - package change history notification tool
dlocate : fast alternative to dpkg -L and dpkg -S
+
apt-rdepends - Recursively lists package dependencies
equivs : Circumvent Debian package dependencies
+
dlocate - fast alternative to dpkg -L and dpkg -S
  +
equivs - Circumvent Debian package dependencies
  +
</pre>
   
 
===system tools===
 
===system tools===
  +
<pre>
bridge-utils : Utilities for configuring the Linux Ethernet bridge
 
extlinux : collection of boot loaders (ext2/3/4 and btrfs bootloader)
+
bridge-utils - Utilities for configuring the Linux Ethernet bridge
memtest86+ : thorough real-mode memory tester
+
extlinux - collection of boot loaders (ext2/3/4 and btrfs bootloader)
openssh-server : secure shell (SSH) server, for secure access from remote machines
+
memtest86+ - thorough real-mode memory tester
openvpn : virtual private network daemon
+
openssh-server - secure shell (SSH) server, for secure access from remote machines
pcscd : Middleware to access a smart card using PC/SC (daemon side)
+
openvpn - virtual private network daemon
pcsc-tools : Some tools to use with smart cards and PC/SC
+
pcscd - Middleware to access a smart card using PC/SC (daemon side)
smartmontools : control and monitor storage systems using S.M.A.R.T.
+
pcsc-tools - Some tools to use with smart cards and PC/SC
usbview : USB device viewer
+
smartmontools - control and monitor storage systems using S.M.A.R.T.
uuid : the Universally Unique Identifier Command-Line Tool
+
usbview - USB device viewer
wfrench : French dictionary words for /usr/share/dict
+
uuid - the Universally Unique Identifier Command-Line Tool
wine : Windows API implementation - standard suite
+
wfrench - French dictionary words for /usr/share/dict
  +
wine - Windows API implementation - standard suite
  +
</pre>
 
 
 
===utils===
 
===utils===
  +
<pre>
an : very fast anagram generator
 
baobab : GNOME disk usage analyzer
+
an - very fast anagram generator
bleachbit : delete unnecessary files from the system
+
baobab - GNOME disk usage analyzer
calibre : e-book converter and library management
+
bleachbit - delete unnecessary files from the system
comix : GTK Comic Book Viewer
+
calibre - e-book converter and library management
gnumeric : spreadsheet application for GNOME - main program
+
comix - GTK Comic Book Viewer
gt5 : shell program to display visual disk usage with navigation
+
gnumeric - spreadsheet application for GNOME - main program
htop : interactive processes viewer
+
gt5 - shell program to display visual disk usage with navigation
impressive : PDF presentation tool with eye candies
+
htop - interactive processes viewer
iotop : simple top-like I/O monitor
+
impressive - PDF presentation tool with eye candies
link-grammar : Carnegie Mellon University's link grammar parser
+
iotop - simple top-like I/O monitor
mc : Midnight Commander - a powerful file manager
+
link-grammar - Carnegie Mellon University's link grammar parser
mosh : Mobile shell that supports roaming and intelligent local echo
+
mc - Midnight Commander - a powerful file manager
polygen : generator of random sentences from grammar definitions
+
mosh - Mobile shell that supports roaming and intelligent local echo
powertop : diagnose issues with power consumption and management
+
polygen - generator of random sentences from grammar definitions
psutils : PostScript document handling utilities
+
powertop - diagnose issues with power consumption and management
pv : Shell pipeline element to meter data passing through
+
psutils - PostScript document handling utilities
pyp : sed/awk-like tool with Python language
+
pv - Shell pipeline element to meter data passing through
screen : terminal multiplexer with VT100/ANSI terminal emulation
+
pyp - sed/awk-like tool with Python language
  +
screen - terminal multiplexer with VT100/ANSI terminal emulation
signing-party : Various OpenPGP related tools
 
  +
signing-party - Various OpenPGP related tools
synergy : Share mouse, keyboard and clipboard over the network
 
transgui : Front-end to remotely control Transmission
+
synergy - Share mouse, keyboard and clipboard over the network
unetbootin : installer of Linux/BSD distributions to a partition or USB drive
+
transgui - Front-end to remotely control Transmission
unison : file-synchronization tool for Unix and Windows
+
unetbootin - installer of Linux/BSD distributions to a partition or USB drive
wodim : command line CD/DVD writing tool
+
unison - file-synchronization tool for Unix and Windows
  +
wodim - command line CD/DVD writing tool
  +
</pre>
   
 
===devel===
 
===devel===
  +
<pre>
colormake : simple wrapper around make to colorize output
 
ddd : The Data Display Debugger, a graphical debugger frontend
+
ddd - The Data Display Debugger, a graphical debugger frontend
dissy : graphical frontend for objdump
+
dissy - graphical frontend for objdump
git-annex : manage files with git, without checking their contents into git
+
git-annex - manage files with git, without checking their contents into git
gitk : fast, scalable, distributed revision control system (revision tree visualizer)
+
gitk - fast, scalable, distributed revision control system (revision tree visualizer)
git-svn : fast, scalable, distributed revision control system (svn interoperability)
+
git-svn - fast, scalable, distributed revision control system (svn interoperability)
gperf : Perfect hash function generator
+
gperf - Perfect hash function generator
hexedit : view and edit files in hexadecimal or in ASCII
+
hexedit - view and edit files in hexadecimal or in ASCII
indent : C language source code formatting program
+
indent - C language source code formatting program
lua5.1 : Simple, extensible, embeddable programming language
+
lua5.1 - Simple, extensible, embeddable programming language
meld : graphical tool to diff and merge files
+
meld - graphical tool to diff and merge files
nasm : General-purpose x86 assembler
+
nasm - General-purpose x86 assembler
uncrustify : C, C++, C#, D, Java and Pawn source code beautifier
+
uncrustify - C, C++, C#, D, Java and Pawn source code beautifier
wdiff : Compares two files word by word
+
wdiff - Compares two files word by word
  +
</pre>
   
  +
<pre>
  +
ipython - enhanced interactive Python shell
  +
python-tk - Tkinter - Writing Tk applications with Python
  +
python-setuptools - Python Distutils Enhancements (setuptools compatibility)
  +
libpython2.7-dev - Header files and a static library for Python (v2.7)
  +
</pre>
  +
  +
<pre>
  +
autoconf - automatic configure script builder
  +
automake - Tool for generating GNU Standards-compliant Makefiles
  +
colormake - simple wrapper around make to colorize output
  +
libpcsclite-dev - Middleware to access a smart card using PC/SC (development files)
  +
libssl-dev - Secure Sockets Layer toolkit - development files
  +
libtool - Generic library support script
  +
libusb-1.0-0-dev - userspace USB programming library development files
  +
libusb-dev - userspace USB programming library development files
  +
</pre>
 
===elec/embedded===
 
===elec/embedded===
  +
<pre>
android-tools-adb : Android Debug Bridge CLI tool
 
android-tools-fastboot : Android Fastboot protocol CLI tool
+
android-tools-adb - Android Debug Bridge CLI tool
  +
android-tools-fastboot - Android Fastboot protocol CLI tool
arduino : AVR development board IDE and built-in libraries
 
gerbv : Gerber file viewer for PCB design
+
arduino - AVR development board IDE and built-in libraries
multimon : Linux Radio Transmission Decoder
+
gerbv - Gerber file viewer for PCB design
opensc : Smart card utilities with support for PKCS#15 compatible cards
+
opensc - Smart card utilities with support for PKCS#15 compatible cards
  +
</pre>
rtl-sdr : Software defined radio receiver for Realtek RTL2832U (tools)
 
   
===security===
 
====network====
 
arping : sends IP and/or ARP pings (to the MAC address)
 
dsniff : Various tools to sniff network traffic for cleartext insecurities
 
etherwake : tool to send magic Wake-on-LAN packets
 
iodine : tool for tunneling IPv4 data through a DNS server
 
kismet : wireless sniffer and monitor - core
 
kismet-plugins : wireless sniffer and monitor - plugins
 
ndisc6 : IPv6 diagnostic tools
 
netcat : TCP/IP swiss army knife -- transitional package
 
netsniff-ng : packet sniffing beast
 
nmap : The Network Mapper
 
socat : multipurpose relay for bidirectional data transfer
 
sshfs : filesystem client based on SSH File Transfer Protocol
 
themole : automatic SQL injection exploitation tool
 
====forensics====
 
autopsy : graphical interface to SleuthKit
 
chkrootkit : rootkit detector
 
cruft : program that finds any cruft built up on your system
 
dc3dd : patched version of GNU dd with forensic features
 
dcfldd : enhanced version of dd for forensics and security
 
ext4magic : recover deleted files from ext3 or ext4 partitions
 
foremost : forensic program to recover lost files
 
gpart : Guess PC disk partition table, find lost partitions
 
logkeys : keylogger for GNU/Linux systems
 
mac-robber : collects data about allocated files in mounted filesystems
 
memdump : utility to dump memory contents to standard output
 
pdfresurrect : tool for extracting/scrubbing versioning data from PDF documents
 
recover : Undelete files on ext2 partitions
 
recoverdm : recover files/disks with damaged sectors
 
recoverjpeg : tool to recover JPEG images from a filesystem image
 
rkhunter : rootkit, backdoor, sniffer and exploit scanner
 
tiger : Report system security vulnerabilities
 
unhide.rb : Forensic tool to find processes hidden by rootkits
 
vinetto : A forensics tool to examine Thumbs.db files
 
wipe : Secure file deletion
 
vbindiff : visual binary diff, visually compare binary files
 
====stegano====
 
outguess : Universal Steganographic tool
 
steghide : A steganography hiding tool
 
 
===data===
 
===data===
  +
<pre>
antiword : Converts MS Word files to text, PS and PDF
 
cabextract : Microsoft Cabinet file unpacker
+
antiword - Converts MS Word files to text, PS and PDF
catdoc : MS-Word to TeX or plain text converter
+
cabextract - Microsoft Cabinet file unpacker
dos2unix : convert text file line endings between CRLF and LF
+
catdoc - MS-Word to TeX or plain text converter
furiusisomount : ISO, IMG, BIN, MDF and NRG image management utility
+
dos2unix - convert text file line endings between CRLF and LF
gpsprune : visualize, edit, convert and prune GPS data
+
furiusisomount - ISO, IMG, BIN, MDF and NRG image management utility
lsdvd : read the content info of a DVD
+
gpsprune - visualize, edit, convert and prune GPS data
mtd-utils : Memory Technology Device Utilities
+
lsdvd - read the content info of a DVD
mtp-tools : Media Transfer Protocol (MTP) library tools
+
mtd-utils - Memory Technology Device Utilities
page-crunch : PDF and PS manipulation for printing needs
+
mtp-tools - Media Transfer Protocol (MTP) library tools
pdfchain : graphical user interface for the PDF Tool Kit
+
page-crunch - PDF and PS manipulation for printing needs
pdftk : tool for manipulating PDF documents
+
pdfchain - graphical user interface for the PDF Tool Kit
pgpdump : PGP packet visualizer
+
pdftk - tool for manipulating PDF documents
pst-utils : tools for reading Microsoft Outlook PST files
+
pgpdump - PGP packet visualizer
qprint : encoder and decoder for quoted-printable encoding
+
pst-utils - tools for reading Microsoft Outlook PST files
recode : Character set conversion utility
+
qprint - encoder and decoder for quoted-printable encoding
rotix : A program to generate rotational obfuscations
+
recode - Character set conversion utility
  +
</pre>
===crypto===
 
fcrackzip : password cracker for zip archives
 
john : active password cracking tool
 
password-gorilla : cross-platform password manager
 
pdfcrack : PDF files password cracker
 
ssss : Shamir's secret sharing scheme implementation
 
===reverse-engineering===
 
flasm : assembler and disassembler for Flash (SWF) bytecode
 
====coding====
 
ckport : portability analysis and security checking tool
 
cppcheck : tool for static C/C++ code analysis
 
flawfinder : examines source code and looks for security weaknesses
 
pychecker : tool to find common bugs in Python source code
 
pylint : python code static checker and UML diagram generator
 
   
 
===audio===
 
===audio===
  +
<pre>
id3v2 : A command line id3v2 tag editor
 
mp3blaster : Full-screen console mp3 and Ogg Vorbis player
+
id3v2 - A command line id3v2 tag editor
musescore : Full featured WYSIWYG score editor
+
mp3blaster - Full-screen console mp3 and Ogg Vorbis player
sox : Swiss army knife of sound processing
+
musescore - Full featured WYSIWYG score editor
  +
sox - Swiss army knife of sound processing
  +
</pre>
   
 
===picture===
 
===picture===
  +
<pre>
darktable : virtual lighttable and darkroom for photographers
 
exif : command-line utility to show EXIF information in JPEG files
+
darktable - virtual lighttable and darkroom for photographers
gifsicle : Tool for manipulating GIF images
+
exif - command-line utility to show EXIF information in JPEG files
gimp-data-extras : An extra set of brushes, palettes, and gradients for The GIMP
+
gifsicle - Tool for manipulating GIF images
gimp-lensfun : Gimp plugin to correct lens distortion using the lensfun library
+
gimp-data-extras - An extra set of brushes, palettes, and gradients for The GIMP
gimp-texturize : generates large textures from a small sample
+
gimp-lensfun - Gimp plugin to correct lens distortion using the lensfun library
gnuplot : Command-line driven interactive plotting program
+
gimp-texturize - generates large textures from a small sample
graphviz : rich set of graph drawing tools
+
gnuplot - Command-line driven interactive plotting program
inkscape : vector-based drawing program
+
graphviz - rich set of graph drawing tools
jhead : manipulate the non-image part of Exif compliant JPEG files
+
inkscape - vector-based drawing program
jpeginfo : Prints information and tests integrity of JPEG/JFIF files
+
jhead - manipulate the non-image part of Exif compliant JPEG files
jpegpixi : Remove hot spots from JPEG images with minimal quality loss
+
jpeginfo - Prints information and tests integrity of JPEG/JFIF files
netpbm : Graphics conversion tools between image formats
+
jpegpixi - Remove hot spots from JPEG images with minimal quality loss
plotutils : GNU plotutils command line tools based on libplot
+
netpbm - Graphics conversion tools between image formats
pngtools : series of tools for PNG (Portable Network Graphics) images
+
plotutils - GNU plotutils command line tools based on libplot
rawtherapee : raw image converter and digital photo processor
+
pngtools - series of tools for PNG (Portable Network Graphics) images
  +
rawtherapee - raw image converter and digital photo processor
  +
</pre>
   
  +
<pre>
hugin : panorama photo stitcher - GUI tools
 
autopano-sift-c : Automatically create control points for panorama image
+
hugin - panorama photo stitcher - GUI tools
  +
autopano-sift-c - Automatically create control points for panorama image
  +
</pre>
 
===video===
 
===video===
  +
<pre>
cheese : tool to take pictures and videos from your webcam
 
gaupol : subtitle editor for text-based subtitle files
+
cheese - tool to take pictures and videos from your webcam
mencoder : MPlayer's Movie Encoder
+
gaupol - subtitle editor for text-based subtitle files
metacam : extract EXIF information from digital camera files
+
mencoder - MPlayer's Movie Encoder
mkvtoolnix : Set of command-line tools to work with Matroska files
+
metacam - extract EXIF information from digital camera files
mkvtoolnix-gui : Set of tools to work with Matroska files - GUI frontend
+
mkvtoolnix - Set of command-line tools to work with Matroska files
mp4tools : Suite of scripts to encode Audio and Video in many formats
+
mkvtoolnix-gui - Set of tools to work with Matroska files - GUI frontend
mpegdemux : MPEG1/2 system stream demultiplexer
+
mp4tools - Suite of scripts to encode Audio and Video in many formats
mplayer2 : next generation movie player for Unix-like systems
+
mpegdemux - MPEG1/2 system stream demultiplexer
  +
mplayer2 - next generation movie player for Unix-like systems
  +
</pre>
   
  +
<pre>
cclive : lightweight command line video extraction tool
 
mimms : mms (e.g. mms://) stream downloader
+
cclive - lightweight command line video extraction tool
quvi : command line program to extract video download links
+
mimms - mms (e.g. mms://) stream downloader
youtube-dl : downloader of videos from YouTube and other sites
+
quvi - command line program to extract video download links
  +
youtube-dl - downloader of videos from YouTube and other sites
  +
</pre>
   
 
===net===
 
===net===
  +
<pre>
chromium-inspector : page inspector for the Chromium browser
 
chromium : Chromium web browser
+
chromium-inspector - page inspector for the Chromium browser
esniper : simple, lightweight tool for sniping ebay auctions
+
chromium - Chromium web browser
iftop : displays bandwidth usage information on an network interface
+
esniper - simple, lightweight tool for sniping ebay auctions
ipcalc : parameter calculator for IPv4 addresses
+
iftop - displays bandwidth usage information on an network interface
ipmitool : utility for IPMI control with kernel driver or LAN interface
+
ipcalc - parameter calculator for IPv4 addresses
iptraf : Interactive Colorful IP LAN Monitor
+
ipmitool - utility for IPMI control with kernel driver or LAN interface
ipv6calc : small utility for manipulating IPv6 addresses
+
iptraf - Interactive Colorful IP LAN Monitor
mozplugger : Plugin allowing external viewers to be launched inside Mozilla
+
ipv6calc - small utility for manipulating IPv6 addresses
subnetcalc : IPv4/IPv6 Subnet Calculator
+
mozplugger - Plugin allowing external viewers to be launched inside Mozilla
upnp-inspector : Python UPnP framework analyser
+
subnetcalc - IPv4/IPv6 Subnet Calculator
upnp-router-control : UPnP compliant router manager
+
upnp-inspector - Python UPnP framework analyser
  +
upnp-router-control - UPnP compliant router manager
  +
</pre>
   
  +
<pre>
icedove : mail/news client with RSS and integrated spam filter support
 
enigmail : GPG support for Thunderbird and Debian Icedove
+
icedove - mail/news client with RSS and integrated spam filter support
  +
enigmail - GPG support for Thunderbird and Debian Icedove
==Install special software==
 
  +
</pre>
===pwsafe===
 
  +
Have to backport from squeeze: get and install those
 
  +
==Specific installation instructions==
http://ftp.de.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze14_amd64.deb
 
http://ftp.de.debian.org/debian/pool/main/p/pwsafe/pwsafe_0.2.0-3_amd64.deb
 
   
 
===virtualbox===
 
===virtualbox===
Line 265: Line 264:
 
apt-get update
 
apt-get update
 
apt-get install virtualbox-4.3
 
apt-get install virtualbox-4.3
  +
/etc/init.d/vboxdrv setup
 
And extension pack at https://www.virtualbox.org/wiki/Downloads
 
And extension pack at https://www.virtualbox.org/wiki/Downloads
  +
 
===google-musicmanager===
 
===google-musicmanager===
 
https://dl.google.com/linux/direct/google-musicmanager-beta_current_amd64.deb
 
https://dl.google.com/linux/direct/google-musicmanager-beta_current_amd64.deb
   
===bp-tools===
 
From http://www.eftlab.co.uk/index.php/downloads/bp-tools
 
<br>Needs libpthread-stubs0:
 
http://ftp.de.debian.org/debian/pool/main/libp/libpthread-stubs/libpthread-stubs0_0.3-3_amd64.deb
 
 
apt-get install libsqlite3-dev sqlite3
 
dpkg --purge bp-tools
 
dpkg -i bp-tools_14.04_amd64_free.deb
 
 
===dropbox===
 
===dropbox===
 
apt-get install nemo-dropbox
 
apt-get install nemo-dropbox
 
To avoid autostart:
 
To avoid autostart:
 
* Settings / Startup Apps Prefs / disable Dropbox
 
* Settings / Startup Apps Prefs / disable Dropbox
===[[Belgian eID]]===
+
===Skype===
  +
Take Debian 7 multiarch version: http://www.skype.com/en/download-skype/skype-for-linux/downloading/?type=debian32
cf http://eid.belgium.be/fr/utiliser_votre_eid/installer_le_logiciel_eid/linux/
 
  +
dpkg -i skype-debian_4.2.0.13-1_i386.deb
<br>-> debian 64
 
  +
apt-get -f install
<br>See also https://code.google.com/p/eid-mw/wiki/ChromeLinux :
 
  +
dpkg -i skype-debian_4.2.0.13-1_i386.deb
libnss3-tools : Network Security Service tools
 
  +
Problem of sound? see http://forums.linuxmint.com/viewtopic.php?f=48&t=143634
Close Chrome
 
  +
<br>Edit /etc/pulse/default.pa:
cd
 
  +
-load-module module-udev-detect
modutil -dbdir sql:.pki/nssdb/ -add "Belgium eID" -libfile /usr/lib/libbeidpkcs11.so
 
  +
+load-module module-udev-detect tsched=0
modutil -dbdir sql:.pki/nssdb/ -list
 
===EMV-CAP===
+
===Googleearth===
python setup.py install
+
apt-get install googleearth-package
  +
make-googleearth-package
And install:
 
  +
dpkg -i googleearth_6.0.3.2197+1.1.0-1_amd64.deb
python-pyscard : Python wrapper above PC/SC API
 
  +
apt-get -f install
===ida-pro===
 
  +
(dpkg -i googleearth_6.0.3.2197+1.1.0-1_amd64.deb)
See http://blog.stalkr.net/2014/01/ida-on-debian-amd64-with-python.html
 
  +
===Psi-plus===
<br>Run installation file, then
 
  +
<pre>
apt-get install libstdc++6:i386
 
  +
psi-plus - Qt-based XMPP/Jabber client (basic version)
It requires libglib2.0-0 but because of chromium/jessie we need the jessie one:
 
  +
psi-plus-plugins - plugins for Psi+
apt-get install -t jessie libglib2.0-0:i386 libselinux1:i386
 
  +
libqca2-plugin-ossl - SSL/TLS support for the Qt Cryptographic Architecture
  +
</pre>
  +
Recover backuped config:
  +
~/.cache/psi+
  +
~/.config/psi+
  +
~/.local/share/psi+
  +
===Gogoc===
  +
<pre>
  +
gogoc - Client to connect to IPv6 tunnel brokers
  +
</pre>
  +
Recover backuped config:
  +
/etc/gogoc/
  +
Avoid it to start automatically:
  +
update-rc.d gogoc disable
  +
===Exim4===
  +
apt-get install exim4-daemon-light bsd-mailx
  +
Check /etc/mailname for your machine FQDN
  +
<br>Add to /etc/aliases:
  +
root: <myuser>
  +
Add to /etc/email-addresses:
  +
<myuser>: <myemail>
  +
Add to /etc/exim4/passwd.client:
  +
<mysmtpserver>:<myuser>:<mypwd>
  +
Edit /etc/exim4/update-exim4.conf.conf:
  +
+dc_eximconfig_configtype='satellite'
  +
+dc_other_hostnames=''
  +
+dc_readhost='<mydomain>'
  +
+dc_smarthost='<mysmtpserver>::<mysmtpserverport>'
  +
+dc_hide_mailname='true'
   
  +
==Install Security software==
apt-get install libc6-i686:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libglib2.0-0:i386 \
 
  +
See [[Security packages]].
libice6:i386 libpcre3:i386 libpng12-0:i386 libsm6:i386 libstdc++6:i386 libuuid1:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 \
 
  +
==Install SDR software==
libxdmcp6:i386 libxext6:i386 libxrender1:i386 zlib1g:i386
 
  +
See [[RTL-SDR]].
apt-get install libpython2.7:i386
 

Latest revision as of 21:31, 3 April 2014

Intro

Notes while replacing my Debian by LMDE.
This included recovery of some settings so those are not notes for an install from scratch.

LMDE 201403

Installation

See http://www.linuxmint.com/download_lmde.php

Linux Mint has a nice graphical tool for manual repartitioning but not yet LMDE...
Install LMDE with manual partitioning

  • it tells us we should mount target partition ourselves under /target
  • crypsetup luksOpen /dev/sda1 sda1_crypt # has to be the same ref as in the crypttab later
  • mount /dev/sda1_crypt /target
  • continue installation
  • inject proper config in /etc/crypttab and /etc/fstab
    First I mount /home in /home.old (mkdir /home.old) so I can access both fresh user homedir and old one, then move content of /home into /home.old and change fstab to mount on /home next time

Add Debian repositories

LMDE is based on Debian testing but with some delay and I had quickly the issue that my chromium profile was saved by a chroimum version newer than the one in LMDE repos.

/etc/apt/sources.list.d/debian.list :

deb http://ftp.be.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.be.debian.org/debian/ jessie main contrib non-free

We need some pinning to avoid jessie taking over the LMDE repositories. The problem is that they have both the exact same keywords:

$ apt-cache policy
[...]
500 http://debian.linuxmint.com/latest// testing/main amd64 Packages
    release o=Debian,a=testing,n=jessie,l=Debian,c=main
500 http://ftp.be.debian.org/debian/ jessie/main amd64 Packages
    release o=Debian,a=testing,n=jessie,l=Debian,c=main

So we can only differentiate by origin:
/etc/apt/preferences.d/debian-package-repositories.pref:

+Package: *
Pin: origin ftp.be.debian.org
Pin-Priority: 400
apt-get update

And to use Jessie repo e.g.:

apt-get install chromium/jessie

Tuning

To be able to use encfs & sshfs:

adduser <myuser> fuse

Cinnamon tuning:

  • pin progs to panel: drag & drop from menu
  • change user picture: Settings / Account details
  • Hide Icons on the Desktop: Settings / Desktop
  • Add a Program Shortcut to the Mint Menu: Right-click the Mint Menu, select "Configure" then "Open the menu editor", Click a software category / "New Item".

applet Multicode System Monitor: see http://cinnamon-spices.linuxmint.com/applets/view/79

apt-get install gir1.2-gtop-2.0

Settings / Applets / Get more / search network -> NMulticode System Monitor
Right click on bar / add applets

Install software

First ones

First ones are:

etckeeper                      - store /etc in git, mercurial, bzr or darcs

to save /etc with git

intel-microcode                - Processor microcode firmware for Intel CPUs

to fix some warnings at boot time about some missing ucode:
platform microcode: firmware: agent aborted loading intel-ucode/06-2a-07 (not found?)

debian

apt-listchanges                - package change history notification tool
apt-rdepends                   - Recursively lists package dependencies
dlocate                        - fast alternative to dpkg -L and dpkg -S
equivs                         - Circumvent Debian package dependencies

system tools

bridge-utils                   - Utilities for configuring the Linux Ethernet bridge
extlinux                       - collection of boot loaders (ext2/3/4 and btrfs bootloader)
memtest86+                     - thorough real-mode memory tester
openssh-server                 - secure shell (SSH) server, for secure access from remote machines
openvpn                        - virtual private network daemon
pcscd                          - Middleware to access a smart card using PC/SC (daemon side)
pcsc-tools                     - Some tools to use with smart cards and PC/SC
smartmontools                  - control and monitor storage systems using S.M.A.R.T.
usbview                        - USB device viewer
uuid                           - the Universally Unique Identifier Command-Line Tool
wfrench                        - French dictionary words for /usr/share/dict
wine                           - Windows API implementation - standard suite

utils

an                             - very fast anagram generator
baobab                         - GNOME disk usage analyzer
bleachbit                      - delete unnecessary files from the system
calibre                        - e-book converter and library management
comix                          - GTK Comic Book Viewer
gnumeric                       - spreadsheet application for GNOME - main program
gt5                            - shell program to display visual disk usage with navigation
htop                           - interactive processes viewer
impressive                     - PDF presentation tool with eye candies
iotop                          - simple top-like I/O monitor
link-grammar                   - Carnegie Mellon University's link grammar parser
mc                             - Midnight Commander - a powerful file manager
mosh                           - Mobile shell that supports roaming and intelligent local echo
polygen                        - generator of random sentences from grammar definitions
powertop                       - diagnose issues with power consumption and management
psutils                        - PostScript document handling utilities
pv                             - Shell pipeline element to meter data passing through
pyp                            - sed/awk-like tool with Python language
screen                         - terminal multiplexer with VT100/ANSI terminal emulation
signing-party                  - Various OpenPGP related tools
synergy                        - Share mouse, keyboard and clipboard over the network
transgui                       - Front-end to remotely control Transmission
unetbootin                     - installer of Linux/BSD distributions to a partition or USB drive
unison                         - file-synchronization tool for Unix and Windows
wodim                          - command line CD/DVD writing tool

devel

ddd                            - The Data Display Debugger, a graphical debugger frontend
dissy                          - graphical frontend for objdump
git-annex                      - manage files with git, without checking their contents into git
gitk                           - fast, scalable, distributed revision control system (revision tree visualizer)
git-svn                        - fast, scalable, distributed revision control system (svn interoperability)
gperf                          - Perfect hash function generator
hexedit                        - view and edit files in hexadecimal or in ASCII
indent                         - C language source code formatting program
lua5.1                         - Simple, extensible, embeddable programming language
meld                           - graphical tool to diff and merge files
nasm                           - General-purpose x86 assembler
uncrustify                     - C, C++, C#, D, Java and Pawn source code beautifier
wdiff                          - Compares two files word by word
ipython                        - enhanced interactive Python shell
python-tk                      - Tkinter - Writing Tk applications with Python
python-setuptools              - Python Distutils Enhancements (setuptools compatibility)
libpython2.7-dev               - Header files and a static library for Python (v2.7)
autoconf                       - automatic configure script builder
automake                       - Tool for generating GNU Standards-compliant Makefiles
colormake                      - simple wrapper around make to colorize output
libpcsclite-dev                - Middleware to access a smart card using PC/SC (development files)
libssl-dev                     - Secure Sockets Layer toolkit - development files
libtool                        - Generic library support script
libusb-1.0-0-dev               - userspace USB programming library development files
libusb-dev                     - userspace USB programming library development files

elec/embedded

android-tools-adb              - Android Debug Bridge CLI tool
android-tools-fastboot         - Android Fastboot protocol CLI tool
arduino                        - AVR development board IDE and built-in libraries
gerbv                          - Gerber file viewer for PCB design
opensc                         - Smart card utilities with support for PKCS#15 compatible cards

data

antiword                       - Converts MS Word files to text, PS and PDF
cabextract                     - Microsoft Cabinet file unpacker
catdoc                         - MS-Word to TeX or plain text converter
dos2unix                       - convert text file line endings between CRLF and LF
furiusisomount                 - ISO, IMG, BIN, MDF and NRG image management utility
gpsprune                       - visualize, edit, convert and prune GPS data
lsdvd                          - read the content info of a DVD
mtd-utils                      - Memory Technology Device Utilities
mtp-tools                      - Media Transfer Protocol (MTP) library tools
page-crunch                    - PDF and PS manipulation for printing needs
pdfchain                       - graphical user interface for the PDF Tool Kit
pdftk                          - tool for manipulating PDF documents
pgpdump                        - PGP packet visualizer
pst-utils                      - tools for reading Microsoft Outlook PST files
qprint                         - encoder and decoder for quoted-printable encoding
recode                         - Character set conversion utility

audio

id3v2                          - A command line id3v2 tag editor
mp3blaster                     - Full-screen console mp3 and Ogg Vorbis player
musescore                      - Full featured WYSIWYG score editor
sox                            - Swiss army knife of sound processing

picture

darktable                      - virtual lighttable and darkroom for photographers
exif                           - command-line utility to show EXIF information in JPEG files
gifsicle                       - Tool for manipulating GIF images
gimp-data-extras               - An extra set of brushes, palettes, and gradients for The GIMP
gimp-lensfun                   - Gimp plugin to correct lens distortion using the lensfun library
gimp-texturize                 - generates large textures from a small sample
gnuplot                        - Command-line driven interactive plotting program
graphviz                       - rich set of graph drawing tools
inkscape                       - vector-based drawing program
jhead                          - manipulate the non-image part of Exif compliant JPEG files
jpeginfo                       - Prints information and tests integrity of JPEG/JFIF files
jpegpixi                       - Remove hot spots from JPEG images with minimal quality loss
netpbm                         - Graphics conversion tools between image formats
plotutils                      - GNU plotutils command line tools based on libplot
pngtools                       - series of tools for PNG (Portable Network Graphics) images
rawtherapee                    - raw image converter and digital photo processor
hugin                          - panorama photo stitcher - GUI tools
autopano-sift-c                - Automatically create control points for panorama image

video

cheese                         - tool to take pictures and videos from your webcam
gaupol                         - subtitle editor for text-based subtitle files
mencoder                       - MPlayer's Movie Encoder
metacam                        - extract EXIF information from digital camera files
mkvtoolnix                     - Set of command-line tools to work with Matroska files
mkvtoolnix-gui                 - Set of tools to work with Matroska files - GUI frontend
mp4tools                       - Suite of scripts to encode Audio and Video in many formats
mpegdemux                      - MPEG1/2 system stream demultiplexer
mplayer2                       - next generation movie player for Unix-like systems
cclive                         - lightweight command line video extraction tool
mimms                          - mms (e.g. mms://) stream downloader
quvi                           - command line program to extract video download links
youtube-dl                     - downloader of videos from YouTube and other sites

net

chromium-inspector             - page inspector for the Chromium browser
chromium                       - Chromium web browser
esniper                        - simple, lightweight tool for sniping ebay auctions
iftop                          - displays bandwidth usage information on an network interface
ipcalc                         - parameter calculator for IPv4 addresses
ipmitool                       - utility for IPMI control with kernel driver or LAN interface
iptraf                         - Interactive Colorful IP LAN Monitor
ipv6calc                       - small utility for manipulating IPv6 addresses
mozplugger                     - Plugin allowing external viewers to be launched inside Mozilla
subnetcalc                     - IPv4/IPv6 Subnet Calculator
upnp-inspector                 - Python UPnP framework analyser
upnp-router-control            - UPnP compliant router manager
icedove                        - mail/news client with RSS and integrated spam filter support
enigmail                       - GPG support for Thunderbird and Debian Icedove

Specific installation instructions

virtualbox

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" > /etc/apt/sources.list.d/virtualbox.list
apt-get update
apt-get install virtualbox-4.3
/etc/init.d/vboxdrv setup

And extension pack at https://www.virtualbox.org/wiki/Downloads

google-musicmanager

https://dl.google.com/linux/direct/google-musicmanager-beta_current_amd64.deb

dropbox

apt-get install nemo-dropbox                  

To avoid autostart:

  • Settings / Startup Apps Prefs / disable Dropbox

Skype

Take Debian 7 multiarch version: http://www.skype.com/en/download-skype/skype-for-linux/downloading/?type=debian32

dpkg -i skype-debian_4.2.0.13-1_i386.deb
apt-get -f install
dpkg -i skype-debian_4.2.0.13-1_i386.deb

Problem of sound? see http://forums.linuxmint.com/viewtopic.php?f=48&t=143634
Edit /etc/pulse/default.pa:

-load-module module-udev-detect
+load-module module-udev-detect tsched=0

Googleearth

apt-get install googleearth-package
make-googleearth-package
dpkg -i googleearth_6.0.3.2197+1.1.0-1_amd64.deb
apt-get -f install
(dpkg -i googleearth_6.0.3.2197+1.1.0-1_amd64.deb)

Psi-plus

psi-plus                       - Qt-based XMPP/Jabber client (basic version)
psi-plus-plugins               - plugins for Psi+
libqca2-plugin-ossl            - SSL/TLS support for the Qt Cryptographic Architecture

Recover backuped config:

~/.cache/psi+
~/.config/psi+
~/.local/share/psi+

Gogoc

gogoc                          - Client to connect to IPv6 tunnel brokers

Recover backuped config:

/etc/gogoc/

Avoid it to start automatically:

update-rc.d gogoc disable

Exim4

apt-get install exim4-daemon-light bsd-mailx

Check /etc/mailname for your machine FQDN
Add to /etc/aliases:

root: <myuser>

Add to /etc/email-addresses:

<myuser>: <myemail>

Add to /etc/exim4/passwd.client:

<mysmtpserver>:<myuser>:<mypwd>

Edit /etc/exim4/update-exim4.conf.conf:

+dc_eximconfig_configtype='satellite'
+dc_other_hostnames=
+dc_readhost='<mydomain>'
+dc_smarthost='<mysmtpserver>::<mysmtpserverport>'
+dc_hide_mailname='true'

Install Security software

See Security packages.

Install SDR software

See RTL-SDR.