Archive for ‘ubuntu’

1 August, 2016

Upgrade Ubuntu 15.04 to 16.04

by gorthx

I use Ubuntu on my home machines, and tend to rely on the GUI Software Updater for upgrades & such.  Life happens and I left one of them on 15.04 past EOL, and the Software Updater didn’t provide an upgrade path directly to 16.04.  I had to upgrade to 15.10 first, which is also EOL.

Here’s what I pieced together from various forums around the net.  (I took this after-the-fact from my command-line history;  I’ll take better notes next time.)

apt-get update
apt-get upgrade # make sure system is as up-to-date as possible
apt-get autoremove # clean up some leftover crap

apt-get dist-upgrade # recommended next step on one of the forums,
                     # but didn't actually do anything
                     # and I probably could have skipped this

do-release-upgrade -d # supposely this should have worked without the -d
                      # but it didn't
                      # -d means "latest development release"

And booyah, I’m on 15.10 and could continue on to 16.04.

 

Advertisements
5 April, 2013

Installing PostgreSQL (and friends) from source on Ubuntu 12.04 (Precise Pangolin)

by gorthx

This is an update to this post from a few years back. This time I’m installing Postgres 9.2.3, PostGIS 2.0.1, and pgAdmin 1.17.0 on Ubuntu 12.04.

read more »

6 April, 2012

Ubuntu + wine + ADE + nook + library2go

by gorthx

I’m pre-empting my promised posting about Cisco SLA syslog messages (it was a bit of a disappointment, anyway) to post the steps I took to get my nook to download a book from library2go [1].

I had to try a bunch of different things (links at the bottom) to get this to work. The basic procedure is:
– Install Wine (the windows emulator).
– Install Adobe Digital Editions (ADE) under Wine.
– Configure Wine so ADE can see your nook.
– Visit the library2go website & check out your chosen reading material; it downloads as a .ascm file.
– Open the .ascm file with ADE; you can read it in ADE if you want (ew)
– Use ADE to transfer the book to your nook.

read more »

Tags: ,
10 December, 2010

Installing PostgreSQL from source on Ubuntu 10.10 (Maverick Meerkat)

by gorthx

About a month ago, I rebuilt my laptop with Ubuntu 10.10. This week, while I was waiting around to be selected for jury duty, I decided I should be constructive with my time instead of just getting annoyed with the really loud people sitting next to me. So I slurped up some of that delicious courthouse wireless & downloaded & installed Postgres 9.0.1. (You can get 8.4.5 as a package for Ubuntu, but I like using a more recent version.)

During my install, I remembered I’d had some problems the first time I installed Pg from source on Ubuntu, and had never written about it. I had the same problems this time, but they are all easily solvable by installing some extra packages.

Here’s my configuration command:
./configure
–with-openssl
–with-perl
–with-libxml

When I tried this, I got:
configure: error: readline library not found
…even though I already had readline installed. The solution was to install libreadline6-dev*. The -dev libraries include the header files needed to compile Pg.

For reference (and search engine) purposes, here are the other errors I got:
configure: error: library ‘crypto’ is required for OpenSSL
…fixed by installing libssl-dev.
configure: error: library ‘xml2’ (version >= 2.6.23) is required for XML support
…fixed by installing libxml2-dev.
/usr/bin/ld: cannot find -lperl #got this one during make
…fixed by installing libperl-dev.

‘make clean’, ‘make’, and ‘sudo make install’, and then I continued with the normal installation steps. Ta-da.


*libreadline5-dev may work; I didn’t try that.

eta I’ve since been informed of this repo: https://launchpad.net/~pitti/+archive/postgresql (I’ll continue to install from source, myself, because I like having control over all the little details.)

29 February, 2008

“fra-gi-le”…must be Italian.

by gorthx

Totem, the default video player that comes with Ubuntu, was telling me I didn’t have the right plugins to play videos.

These steps got me partly there (I could see the DVD menu at least):

cd /usr/share/doc/libdvdread3/
./install-css.sh
sudo ./install-css.sh #grrr...
sudo apt-get install totem-xine

But then I got a message about needing libdvdcss when I tried to play the video (even though, according to my package manager, it was already installed). So I downloaded the package from here:
http://packages.medibuntu.org/pool/free/libd/libdvdcss/
and re-installed it. :P

…and I’m now watching “A Christmas Story“. While I sew. All is right with the world.