Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created October 25, 2011 19:34
Show Gist options
  • Save springmeyer/1313963 to your computer and use it in GitHub Desktop.
Save springmeyer/1313963 to your computer and use it in GitHub Desktop.
ubuntu@ubuntu-VirtualBox:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
ubuntu@ubuntu-VirtualBox:~$ sudo apt-get update
[sudo] password for ubuntu:
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://gb.archive.ubuntu.com natty InRelease
Ign http://gb.archive.ubuntu.com natty-updates InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://security.ubuntu.com natty-security Release.gpg [198 B]
Hit http://gb.archive.ubuntu.com natty Release.gpg
Get:3 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:4 http://security.ubuntu.com natty-security Release [31.4 kB]
Hit http://extras.ubuntu.com natty Release
Get:5 http://gb.archive.ubuntu.com natty-updates Release.gpg [198 B]
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://extras.ubuntu.com natty/main Sources
Hit http://gb.archive.ubuntu.com natty Release
Get:6 http://ppa.launchpad.net natty Release [9,737 B]
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:7 http://gb.archive.ubuntu.com natty-updates Release [31.4 kB]
Get:8 http://security.ubuntu.com natty-security/main Sources [73.0 kB]
Hit http://ppa.launchpad.net natty Release
Hit http://gb.archive.ubuntu.com natty/main Sources
Hit http://gb.archive.ubuntu.com natty/restricted Sources
Hit http://gb.archive.ubuntu.com natty/universe Sources
Hit http://gb.archive.ubuntu.com natty/multiverse Sources
Hit http://gb.archive.ubuntu.com natty/main i386 Packages
Get:9 http://ppa.launchpad.net natty/main Sources [2,054 B]
Get:10 http://ppa.launchpad.net natty/main i386 Packages [3,136 B]
Get:11 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:12 http://security.ubuntu.com natty-security/universe Sources [12.4 kB]
Get:13 http://security.ubuntu.com natty-security/multiverse Sources [661 B]
Get:14 http://security.ubuntu.com natty-security/main i386 Packages [198 kB]
Hit http://gb.archive.ubuntu.com natty/restricted i386 Packages
Hit http://gb.archive.ubuntu.com natty/universe i386 Packages
Hit http://gb.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://gb.archive.ubuntu.com natty/main TranslationIndex
Ign http://gb.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://gb.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://gb.archive.ubuntu.com natty/universe TranslationIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://ppa.launchpad.net natty/main Sources
Hit http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Get:15 http://gb.archive.ubuntu.com natty-updates/main Sources [137 kB]
Get:16 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:17 http://security.ubuntu.com natty-security/universe i386 Packages [50.6 kB]
Get:18 http://security.ubuntu.com natty-security/multiverse i386 Packages [2,064 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en_GB
Get:19 http://gb.archive.ubuntu.com natty-updates/restricted Sources [753 B]
Get:20 http://gb.archive.ubuntu.com natty-updates/universe Sources [29.6 kB]
Get:21 http://gb.archive.ubuntu.com natty-updates/multiverse Sources [1,902 B]
Get:22 http://gb.archive.ubuntu.com natty-updates/main i386 Packages [398 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-en_GB
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-en_GB
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en_GB
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_GB
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Get:23 http://gb.archive.ubuntu.com natty-updates/restricted i386 Packages [839 B]
Get:24 http://gb.archive.ubuntu.com natty-updates/universe i386 Packages [116 kB]
Ign http://security.ubuntu.com natty-security/restricted Translation-en_GB
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_GB
Ign http://security.ubuntu.com natty-security/universe Translation-en
Get:25 http://gb.archive.ubuntu.com natty-updates/multiverse i386 Packages [4,615 B]
Ign http://gb.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://gb.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://gb.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://gb.archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://gb.archive.ubuntu.com natty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com natty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com natty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com natty/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com natty/main Translation-en
Ign http://gb.archive.ubuntu.com natty/multiverse Translation-en
Ign http://gb.archive.ubuntu.com natty/restricted Translation-en
Ign http://gb.archive.ubuntu.com natty/universe Translation-en
Ign http://gb.archive.ubuntu.com natty-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com natty-updates/main Translation-en
Ign http://gb.archive.ubuntu.com natty-updates/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://gb.archive.ubuntu.com natty-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://gb.archive.ubuntu.com natty-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 1,104 kB in 5s (198 kB/s)
Reading package lists... Done
ubuntu@ubuntu-VirtualBox:~$ sudo apt-get install tilemill
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
tilemill
1 upgraded, 0 newly installed, 0 to remove and 97 not upgraded.
Need to get 33.8 MB of archives.
After this operation, 8,065 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/developmentseed/mapbox/ubuntu/ natty/main tilemill i386 0.6.0.1-0ubuntu2 [33.8 MB]
Fetched 33.8 MB in 33s (1,021 kB/s)
(Reading database ... 135783 files and directories currently installed.)
Preparing to replace tilemill 0.5.0.1-0ubuntu2 (using .../tilemill_0.6.0.1-0ubuntu2_i386.deb) ...
NOTICE: TileMill can now be run as a non-root user from the Desktop. Look for the TileMill application in the Applications or Launcher menu. If you have data and projects in /usr/share/mapbox from a previous installation but decide to run TileMill from the Desktop, you must manually copy your data and projects to /home/<username>/Documents/MapBox.
Unpacking replacement tilemill ...
tilemill stop/waiting
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_GB.utf8.cache...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for python-support ...
Setting up tilemill (0.6.0.1-0ubuntu2) ...
Installing new version of config file /etc/init/tilemill.conf ...
ubuntu@ubuntu-VirtualBox:~$ sudo start tilemill
tilemill start/running, process 1949
ubuntu@ubuntu-VirtualBox:~$ cat /etc/ap
apm/ apparmor/ apparmor.d/ apport/ apt/
ubuntu@ubuntu-VirtualBox:~$ cat /etc/apt/sources.list
sources.list sources.list.d/
ubuntu@ubuntu-VirtualBox:~$ cat /etc/apt/sources.list | grep ppa
ubuntu@ubuntu-VirtualBox:~$ ldd /usr/share/tilemill/node_modules/mapnik/lib/_mapnik.node
linux-gate.so.1 => (0x002e4000)
libmapnik2.so.2.0 => /usr/lib/libmapnik2.so.2.0 (0x00936000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x00110000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x001fb000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00f65000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x002f1000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00221000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x002a7000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0x00ee0000)
libtiff.so.4 => /usr/lib/i386-linux-gnu/libtiff.so.4 (0x0074d000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x002b0000)
libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0x00452000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x00472000)
libicuuc.so.44 => /usr/lib/libicuuc.so.44 (0x004a8000)
libboost_filesystem.so.1.42.0 => /usr/lib/libboost_filesystem.so.1.42.0 (0x002c5000)
libboost_regex.so.1.42.0 => /usr/lib/libboost_regex.so.1.42.0 (0x005dd000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00f81000)
libboost_thread.so.1.42.0 => /usr/lib/libboost_thread.so.1.42.0 (0x006da000)
libboost_system.so.1.42.0 => /usr/lib/libboost_system.so.1.42.0 (0x007af000)
libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0x00723000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x007b3000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x002da000)
/lib/ld-linux.so.2 (0x00705000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x002e0000)
libicudata.so.44 => /usr/lib/libicudata.so.44 (0xb6a25000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x002e5000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x00866000)
libicui18n.so.44 => /usr/lib/libicui18n.so.44 (0x2033a000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00e16000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0x0087f000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0x006ef000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0x006f3000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x008ae000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0x006fb000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x0e6a7000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0x00e82000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x00747000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x007a8000)
ubuntu@ubuntu-VirtualBox:~$ mapnik-config
mapnik-config: command not found
ubuntu@ubuntu-VirtualBox:~$ ls /usr/lib/libmapnik2.so.2.0
libmapnik2.so.2.0 libmapnik2.so.2.0.0
ubuntu@ubuntu-VirtualBox:~$ ls /usr/lib/mapnik2/
input
ubuntu@ubuntu-VirtualBox:~$ ls /usr/lib/mapnik2/input/
gdal.input ogr.input postgis.input shape.input
kismet.input osm.input raster.input sqlite.input
ubuntu@ubuntu-VirtualBox:~$ ls /usr/local/
bin/ games/ lib/ sbin/ src/
etc/ include/ man/ share/
ubuntu@ubuntu-VirtualBox:~$ ls /usr/local/
bin/ games/ lib/ sbin/ src/
etc/ include/ man/ share/
ubuntu@ubuntu-VirtualBox:~$ ls /usr/local/bin/
ubuntu@ubuntu-VirtualBox:~$ sudo apt-get install libmapnik2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
postgis
The following packages will be upgraded:
libmapnik2
1 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 1,955 kB of archives.
After this operation, 168 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/developmentseed/mapbox/ubuntu/ natty/main libmapnik2 i386 2.0.0+dev20111025.git.535a730-1~natty1 [1,955 kB]
Fetched 1,955 kB in 3s (600 kB/s)
(Reading database ... 135990 files and directories currently installed.)
Preparing to replace libmapnik2 2+dev20110825.svn3196-1~natty1 (using .../libmapnik2_2.0.0+dev20111025.git.535a730-1~natty1_i386.deb) ...
Unpacking replacement libmapnik2 ...
Setting up libmapnik2 (2.0.0+dev20111025.git.535a730-1~natty1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
ubuntu@ubuntu-VirtualBox:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment