Skip to content

Instantly share code, notes, and snippets.

@phaustin
Last active April 3, 2016 18:01
Show Gist options
  • Select an option

  • Save phaustin/f996c956ea0f033101d4 to your computer and use it in GitHub Desktop.

Select an option

Save phaustin/f996c956ea0f033101d4 to your computer and use it in GitHub Desktop.
Readme_ubuntu.org

to get soundconverter working with faac and lame:

sudo apt-get install gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly

useful repositories:

medibuntu

sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update

also ubuntu-restricted-extras and libdvdcss

processd manager


bum

wireless


Try sudo lshw -C network, or maybe search through /var/log/dmesg.

find what package a file belongs to

inkscape:

sudo apt-repository ppa:inkscape.dev/stable sudo apt-get update sudo apt-get remove inkscape sudo apt-get install inkscape-trunk dpkg-query -L inkscape

dpkg –get-selections | grep -v deinstall dpkg-query -L libhdf5-openmpi-1.8.4

ppas


was: sudo add-apt-repository ppa:cassou/emacs

see message https://launchpad.net/~cassou/+archive/ubuntu/emacs sudo add-apt-repository ppa:ubuntu-elisp/ppa sudo apt-get install emacs-shapshot

https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test sudo apt-get install python-software-properties sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-4.9 1

sudo apt-get update sudo apt-add-repository “deb http://archive.canonical.com/ $(lsb_release -sc) partner” sudo apt-get update sudo apt-get install acroread

using /etc/alteratives with update-alternatives

remove old versions

sudo update-alternatives –remove emacs /usr/bin/emacs-snapshot sudo update-alternatives –remove-all emacs

Installing new versions

sudo update-alternatives –install /usr/bin/g++ g++ /usr/bin/g++-4.9 1 sudo update-alternatives –install /usr/bin/gfortran gfortran /usr/bin/gfortran-4.9 1

sudo update-alternatives –install /usr/bin/emacs emacs /usr/bin/emacs-snapshot 1 update-alternatives: using /usr/bin/emacs-snapshot to provide /usr/bin/emacs (emacs) in auto mode

sudo update-alternatives –install /usr/bin/emacsclient emacsclient /usr/bin/emacsclient-snapshot 1 update-alternatives: using /usr/bin/emacsclient-snapshot to provide /usr/bin/emacsclient (emacsclient) in auto mode

sudo update-alternatives –config libblas.so.3 sudo update-alternatives –config liblapack.so.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment