Notepadqq is a version of notepad++ adapted for Linux. I love notepad++ for its powerful features and also because it’s free. Notepadqq has a ppa configured for easy installation for Ubuntu users, but for everyone else they must resort to compiling it. Fortunately it’s not too complicated. Thanks to linuxbabe for the guidance.
For Debian 8 users this is what you have to do:
sudo apt-get install qt5-qmake libqt5webkit5 libqt5svg5 coreutils libqt5webkit5-dev libqt5svg5-dev qttools5-dev-tools git
git clone https://github.com/notepadqq/notepadqq.git
sudo make install
After a bit of time notepadqq will be compiled and installed. That’s it!
If you are running gnome-shell or a derivative (such as cinnamon) then you can get your newly installed program to show up in the menu by pressing alt+f2, hitting r, and then hitting enter. This causes the shell to reload so it will pick up your newly installed program.
Recently I had to compile ffmpeg from scratch on CentOS 7. The reason? I wanted libfdk_aac support. Here are my notes on the procedure. The how-to on https://trac.ffmpeg.org/wiki/CompilationGuide/Centos was actually quite helpful and accurate.
Install necessary dependencies and set up build folder
yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
Build necessary components
I only needed x264 and libfdk_aac, so that’s all I ended up doing:
git clone --depth 1 git://github.com/yasm/yasm.git
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
git clone --depth 1 git://git.videolan.org/x264
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static
git clone --depth 1 git://git.code.sf.net/p/opencore-amr/fdk-aac
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
I actually specified a git mirror because the sources at ffmpeg site were glacially slow.
git clone https://github.com/FFmpeg/FFmpeg.git
PKG_CONFIG_PATH="$HOME/FFmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/FFmpeg_build" --extra-cflags="-I$HOME/FFmpeg_build/include" --extra-ldflags="-L$HOME/FFmpeg_build/lib" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264
Optionally, remove existing ffmpeg
sudo yum remove ffmpeg
That was it! After a bit of compile time ffmpeg worked with the items I wanted it to.