atualização do debian 9 (stretch) para o debian 10 (buster) num só comando

apt update -y && apt upgrade -y && apt full-upgrade -y && apt --purge autoremove -y && cp -v /etc/apt/sources.list /root/ && cp -rv /etc/apt/sources.list.d/ /root/ && sed -i 's/stretch/buster/g' /etc/apt/sources.list && sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* && apt update -y && apt upgrade -y && apt full-upgrade -y && apt --purge autoremove -y && reboot

instalação do middleware para o leitor do cartão do cidadão no debian stretch

como root:
apt install libpcsclite-dev default-jdk qtbase5-dev qt5-qmake qt5-default libxerces-c-dev swig libcurl4-openssl-dev libpoppler-qt5-dev libxml-security-c-dev libssl1.0-dev subversion zlib1g-dev

como utilizador normal:
svn export https://svn.gov.pt/projects/ccidadao/repository/middleware-offline/trunk/_src/eidmw
cd eidmw
./configure --lib+="-L/usr/lib/x86_64-linux-gnu/"
make

para instalar, novamente como root e na pasta eidmw:
make install

How to install Popcorn Time movie player on Debian 9 Stretch Linux

mkdir /opt/popcorn-time
wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz
tar Jx -f Popcorn-Time-0.3.10-Linux-64.tar.xz -C /opt/popcorn-time
wget -q -O /opt/popcorn-time/popcorntime.png https://upload.wikimedia.org/wikipedia/commons/6/6c/Popcorn_Time_logo.png
ln -sf /opt/popcorn-time/Popcorn-Time /usr/bin/popcorn-time

falha no som - bluetooth

[bluetooth] module-bluez5-device.c: Skipping 10841 us (= 1912 bytes) in audio stream

I was encountering this same issue on Gentoo. It appeared to be at random times but persistent once it started. I realized that it only happens if 'gnome-control-center bluetooth' is open. I would often leave this open after pairing the device, not really thinking about it. As soon as I close it the "module-bluez5-device.c: Skipping..." messages stop and the choppy sound goes away.

Posting in case it helps track this down.

instalar firefox 51 no debian

como root:
cd /opt
wget https://ftp.mozilla.org/pub/firefox/releases/56.0.2/linux-x86_64/pt-PT/firefox-56.0.2.tar.bz2
tar xjf firefox-56.0.2.tar.bz2
rm firefox-56.0.2.tar.bz2
chown -Rv user:user firefox/
mv /usr/lib/firefox-esr/firefox-esr /usr/lib/firefox-esr/firefox-esr.old
ln -s /opt/firefox/firefox /usr/lib/firefox-esr/firefox-esr

http://libre-software.net/how-to-install-firefox-on-ubuntu-linux-mint/

instalar core network no debian stretch x86 (provavemente também no jessie)

x86 | como root:
apt-get update
wget https://downloads.pf.itd.nrl.navy.mil/core/packages/4.8/core-gui_4.8-0ubuntu1_trusty_all.deb
wget https://downloads.pf.itd.nrl.navy.mil/core/packages/4.8/core-daemon_4.8-0ubuntu1_trusty_i386.deb
dpkg -i core-gui_4.8-0ubuntu1_trusty_all.deb core-daemon_4.8-0ubuntu1_trusty_i386.deb
apt-get install -f

Subscrever debian stretch