OK, first of all, I don't run Ubuntu on my computer. I think Ubuntu is lame in so many ways. To summarize, it is bloated and favors being idiot-friendly instead of expert-friendly. How lame is an operating system that doesn't come with libc headers?! They are creating a developer/user separation of roles, which is is precisely what makes other operating systems (closed ones) lame. Anyway, I am using somebody else's computer that has Ubuntu installed and it doesn't have the xv graphics editor. It only has bloated crap that takes forever to do simple operations. So I wanted to install xv. I tried to use Ubuntu's for-dummies package manager but it failed to find an xv package. So I downloaded the xv source and tried to compile it, only to find that the operating system does not come with support for compiling C programs. Basic header files are not included in a default Ubuntu install. You have to download some stuff before you can compile anything. (Yes, this is almost surreal in its lameness. At least you don't have to pay.) Anyway, I found a document on the web that is kind of a xv Ubuntu howto. It almost works, but not quite. So here are the steps that did work for me (Ubuntu 7.01).
sudo bash cd /tmp wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-20050501.tar.gz wget http://bok.fas.harvard.edu/debian/xv/xv-3.10a-jumbo20050501-1.diff.gz tar xvzf xv-3.10a.tar.gz tar xvzf xv-3.10a-jumbo-patches-20050501.tar.gz gzip -d xv-3.10a-jumbo20050501-1.diff.gz cd xv-3.10a patch -p1 < ../xv-3.10a-jumbo-fix-patch-20050410.txt patch -p1 < ../xv-3.10a-jumbo-enh-patch-20050501.txt patch -p1 < ../xv-3.10a-jumbo20050501-1.diff chmod 755 debian/rules apt-get install libc6-dev apt-get install xlibs-dev apt-get install libjpeg62-dev apt-get install libtiff4-dev apt-get install libpng12-dev make cp xv /usr/bin