You want to install Aegisub from source.
“Aegisub is a free, cross-platform open source tool for creating and modifying subtitles. Aegisub makes it quick and easy to time subtitles to audio, and features many powerful tools for styling them, including a built-in real-time video preview.” (source)
Aegisub is a wonderful piece of software. It makes subtitle creation almost trivial :)
Here I show you how to build Aegisub 3.1.2 on Ubuntu 13.10 (64 bit). I guess it would work with later versions too after some tweaks :)
- visit http://www.aegisub.org/downloads/ and download the source
- visit http://sourceforge.net/projects/wxwindows/files/latest and download the latest version of wxWindows
- Extract the two archive files. I put them in the
Note that Aegisub requires wxWindows > 2.8!
# install dependencies $ sudo apt-get install build-essential libasound2-dev libass-dev libffms2-dev libfftw3-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libhunspell-dev liblua5.1-dev $ sudo apt-get install intltool $ sudo apt-get install libboost-all-dev $ sudo ldconfig # not sure if necessary here $ cd /opt/wxWidgets-X.Y.Z $ ./configure --with-opengl && make && sudo make install $ sudo ldconfig $ cd /opt/aegisub-X.Y.Z/aegisub $ ./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu $ make && sudo make install
configure” gave me the following warning: “
configure: error: Could not link against -lGL !“. I could solve this problem with (1) “
install libboost-all-dev“, and (2) add “
--with-boost-libdir=/usr/lib/x86_64-linux-gnu” to “
- Building Aegisub 3.0.1 on Ubuntu 12.04 (this current post is based on this but it’s a bit out-of-date)
I also wanted to install Aegisub on an older laptop of mine that runs Ubuntu 12.04. To make it work, I had to install older versions:
aegisub-3.0.1. I tried different combinations but it was a failure. If you want to save some headache, use these versions :)
My Dropbox folder was at 98.5%, so it was time to do some cleanup. Which directories are the largest? Which files are the largest?
alias top10dirs='du -hsx * | sort -rh | head -10' alias top10files='find . -type f -print0 | du -h --files0-from=- | sort -hr | head -n 10'
The first one shows the top 10 largest directories, while the second one prints the top 10 largest files. Directory and file sizes are shown in a human-readable format.
$ top10dirs 60M 20090629-deploy 60M 20090327-deploy 56M kgm 55M exist-deploy-v3-20100710 55M exist-deploy-v3-20100521 ... ============================== $ top10files 60M ./20090629-deploy/20090629-deploy.zip 60M ./20090327-deploy/20090327-deploy.zip 55M ./exist-deploy-v3-20100710/exist-deploy-v3-20100710.zip 55M ./exist-deploy-v3-20100521/exist-deploy-v3-20100521.zip 49M ./exist-deploy-v3-20100409/exist-deploy-v3-20100409.zip ...
The free space on your HDD is low. Which directories are the largest? What consumes so much space?
ncdu“, which stands for NCurses Disk Usage.
“ncdu (NCurses Disk Usage) is a curses-based version of the well-known ‘du’, and provides a fast way to see what directories are using your disk space.” (source: man)
For a command line solution, check out this post: How Do I Find The Largest Top 10 Files and Directories On a Linux / UNIX / BSD?