My Ubuntu

I switched to Linux cold turkey (well, almost, sometimes I boot to Windows on my secondary drive and boot Linux using VMWare using my Linux drive). I’ve been having a much better time than in previous attempts. I tried a couple of times to keep track of everything I’ve done to my image for future reference, but I failed. This last time, I’ve done much better. The notes are scarce but at least it’ll help me remember what I did, next time I have to reinstall. Any advise will be greatly appreciated. I hope this can help others as well in the quest for freedom and options other than Microsoft (especially those with families to support and can’t afford to pay M$).

Modifed /etc/apt/sources.list so I could update from the network

Install VMWare tools (because of my vmware-dual-boot scenario).

apt-get install build-essential
apt-get install linux-headers-$(uname -r)
apt-get install cpp-3.4 gcc-3.4
export CC=gcc-3.4
sudo ./vmware-install.pl

Ubuntu by default doesn’t install any services that listen on the network, so no SSH server. :-(

sudo apt-get install subversion ssh

Modifed /etc/apt/sources.list so I could update from universe. It’s a must, how can we live otherwise?

I think I could do most of this with just ssh-agent, but keychain does it all for me.

sudo apt-get install keychain
echo "keychain id_dsa id_rsa" >> ~/.bashrc

This required a lot of hacking to convert my old Network Associates PGP encryption keys. I’ll gather the notes someday.
Copy my gpg keys to .gnupg

Maybe they should have a Devuntu distro!!!

sudo apt-get install cvs
cvs -d etorres@cvs.w3.org:/w3ccvs co WWW/2001/sw/DataAccess

Installing Java (Sun)

Download the binary installer from Sun. Modifed /etc/apt/sources.list so I could update from multiverse

sudo apt-get install fakeroot java-package java-common
fakeroot make-jpkg --full-name "My Name" --email "me@example.com"
sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb
sudo update-alternatives --config java

Install eclipse (eclipse.org), using additional extension location (~/eclipse).

A great LaTeX editor, better than anything on Windows that could be free.

sudo apt-get install kile

I don’t know what I needed to install that I needed this for, I forget.
sudo apt-get install alien

Install samba (http://doc.gwos.org/index.php/Share_files_using_Samba)

sudo apt-get install samba
sudo gedit /etc/samba/smb.conf
sudo smbpasswd -a `whoami`
sudo apt-get install msttcorefonts

Modified browser.jar for ALT-> and ALT< - using ThinkPad keys

http://snarfed.org/space/thinkpad+keys+in+firefox

Modified panel terminal shortcut to have

--geometry=80x65+25+100

sudo apt-get install gpa (GnuPG graphical frontend)

Installed mozilla-thunderbird. It's a memory hog with all my gmail downloaded.

sudo apt-get install xpad

... and added it to gnome session startup

Why is this not available by default?
sudo apt-get install curl

Installed Firefox extensions

  • tabbrowser preferences
  • sessionsaver
  • linkify
  • download statusbar
  • performancing
  • greasemonkey
    • google rss reader auto-read
  • fasterfox

Installed Firefox 1.5 https://wiki.ubuntu.com/FirefoxNewVersion , had to hack browser.xul again.

sudo apt-get install swf-player
sudo apt-get insall flashplayer-mozilla
rm -rf /opt/firefox/plugins
ln -s /usr/lib/mozilla-firefox/plugins /opt/firefox/plugins

sudo apt-get install apache2

Now I can be like those geeks that have their mail signed by a private key that no-one has or can get, or better yet, cares to have.

sudo apt-get install mozilla-thunderbird-enigmail

I have not been able to get this to work together with enigmail. Advise?

sudo apt-get install gnupg-agent

A cute editor for CSS/HTML/etc.

sudo apt-get install bluefish

For the KDE weenies.

sudo apt-get install konqueror

To pop my mail using Thunderbird and fetchnotes (Thanks Tessa).

sudo apt-get install dovecot

I tried this on Windows, but the DOS environment made it impossible. I'll try it again.

sudo apt-get install ipython

Evince doesn't cut it for me.

sudo apt-get install acroread
sudo apt-get install mozilla-acroread
sudo apt-get install acroread-plugins

I hate MTS, but I have to use it for work.

sudo apt-get install ipsec-tools
sudo dpkg -i http://web.opensource.ibm.com/www/d-c4eb/debian/mts-client_0.9.6c-7_i386.deb

IBM Java. NOTE: Only for IBMers.

sudo dpkg -i http://olymp.vienna.at.ibm.com/dc4eb/ibm-j2sdk1.4_1.4.2+sr03-1_i386.deb
sudo dpkg -i http://olymp.vienna.at.ibm.com/dc4eb/dists/stable/non-free/binary-i386/devel/ibm-j2sdk1.5_1.5.0+sr00-2_i386.deb

For Roller development:

Installed apache-tomcat-5.5.15.tar.gz from Apache.

sudo apt-get install mysql-server4.1

Followed the tip from: http://ubuntu.wordpress.com/2006/01/31/configuring-network-interfaces/

uncommented the timeout line in /etc/dhcp3/dhclient.conf
and changed it to 20
commented /etc/network/interfaces -> auto eth0

sudo apt-get install lame sox ffmpeg mjpegtools vorbis-tools
sudo apt-get install gstreamer0.8-misc gstreamer0.8-plugins gstreamer0.8-plugins-multiverse gstreamer0.8-ffmpeg gst-register-0.8

My LaTeX setup was not working for a WWW2006 paper I submitted. I could not find amssymb.sty, a quick google search and apt-get and I was back compiling our paper.

sudo apt-get install tetex-extras

Kile depends on ispell for spell checking.
sudo apt-get install ispell

Rob Gonzalez said that if I didn't upgrade the kernel to 2.6.15 I wasn't cool, so I did. Well, in reality, the reason why I wanted to upgrade the kernel is because I'm hoping to resolve some issues with wpa_supplicant and our IBM wireless network. I needed to upgrade the madwifi drivers, but Rob kept insisting how much faster my system would run if I upgraded the kernel as well, especially since I was still runing Ubuntu with 386 as opposed to the 686 kernel (because it did not have ath_pci compiled).

ftp ftp.kernel.org
tar -xjf linux-2.6.15.tar.bz2
cp /boot/config-2.6.12-9-386 ./.config
apt-get install build-essential bin86 bin86 kernel-package libqt3-headers libqt3-mt-dev
apt-get install gcc
apt-get install g++
apt-get install make
apt-get install configure
apt-get install autoconf
apt-get install libc6
apt-get install libc6-dev
make xconfig
sudo make-kpkg --initrd kernel_image
sudo dpkg --install kernel-image-2.6.15_10.00.Custom_i386.deb

At first I compiled it using gcc-4.0, but I was having incompatibility format errors with the madwifi-ng drivers. I then recompiled it using gcc-3.4 and I was golden.

The next thing was to install the latest madwifi-ng drivers. I'll tell you more about them after you've installed them. Simply follow the instructions on the wiki http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Besides making sure you point to the right gcc in the Makefile, also make sure you point to the right kernel headers.

export CC=gcc-3.4
sudo make KERNELPATH=/usr/src/linux

In the case you encounter errors early on, it might be because the Makefile.inc they set the option to throw errors on warnings. I found a post on ubuntuforums that helped me figure this out.

  • Open Makefile.inc
  • sudo gedit Makefile.inc look for
    COPTS+= -Werror
  • Change this line and remove the -Werror part so line now looks like this.
    COPTS+=

Voila. Madwifi-ng is now installed together with my kernel 2.6.15. Now I'll try to fix my wpa_supplicant problems when I go back to work.

This is for P2 development for my CS299r class.

P2 no longer depends of SFS, it now depends on boost.
sudo apt-get install libsfs0c2-dev

sudo apt-get install python2.4-dev
sudo apt-get install python-dev
sudo apt-get install swig
sudo apt-get install libboost-dev
sudo apt-get install libboost-date-time1.33.0
sudo apt-get install libboost-date-time-dev
sudo apt-get install libboost-filesystem1.33.0
sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-graph-dev
sudo apt-get install libboost-program-options1.33.0
sudo apt-get install libboost-program-options-dev
sudo apt-get install libboost-python1.33.0
sudo apt-get install libboost-python-dev
sudo apt-get install libboost-regex1.33.0
sudo apt-get install libboost-regex-dev
sudo apt-get install libboost-serialization-dev
sudo apt-get install libboost-signals1.33.0
sudo apt-get install libboost-signals-dev
sudo apt-get install libboost-test1.33.0
sudo apt-get install libboost-test-dev
sudo apt-get install libboost-thread1.33.0
sudo apt-get install libboost-thread-dev

I installed this when trying to clean up some orphaned packages.

sudo apt-get install deborphan

When you code for a living...

sudo apt-get install sloccount

IBM WECM

sudo apt-get install sysutils
sudo apt-get install ibmwc
sudo apt-get install ibmwc-gui
sudo apt-get install ibmwc-gui-nls
sudo apt-get install ibmwc-nls
sudo apt-get install ibmwc-ppp
sudo apt-get install libstdc++2.10-glibc2.2
sudo apt-get install libxft1

I was hoping this would work:

sudo apt-get install libconfigfile-perl
sudo apt-get install libapt-pkg-perl
sudo apt-get install apt-file

But a quick try yielded no results.

sudo apt-file search *

Tidy!

sudo apt-get install tidy

This is somewhat useful, especially for adding new alternatives and listing all of the packages that have them:

sudo apt-get install galternatives

I've begun teaching my daughter how to manipulate the mouse and use the PC:

sudo apt-get install childsplay
sudo apt-get install gcompris

I gave up building my own kernel, but since now I can build my own madwifi drivers, I'm using -686 kernel.

sudo apt-get install linux-headers-2.6.12-9-686
sudo apt-get install linux-headers-686
sudo apt-get install linux-image-2.6.12-9-686
sudo apt-get install linux-image-686

I can't believe I did not have this already:

sudo apt-get install php4-common
sudo apt-get install libapache2-mod-php4
sudo apt-get install php4
sudo apt-get install php4-mysql

I finally upgraded to Dapper.

Open /etc/apt/sources.list in your favorite editor and search/replace ‘breezy’ –> ‘dapper’

apt-get update
apt-get dist-upgrade

Then I installed Ruby on Rails, but watchout, rails in Dapper is broken. I found this good post.

sudo apt-get install ruby1.8 rdoc1.8 ri1.8 libapache2-mod-fastcgi libfcgi-dev libncurses5-dev ruby1.8-dev libfcgi-ruby1.8

Then install gems from http://docs.rubygems.org/

tar -xzvf rubygems-0.9.0.tgz
cd rubygems-0.9.0/
sudo ruby setup.rb

Then finally install rails:

sudo gem install rails --include-dependencies
sudo gem install fcgi

Watch out for this page. It'll keep growing and growing...


Comments are closed

Comments are currently closed on this entry.
  1. KB 02.09.06 / 4pm
    Thanks for the Link reference.
  2. KB 02.09.06 / 4pm
    Back to the UDSF that is. =)
  3. Joseph Kim 03.10.06 / 2pm
    Man, using linux is a lot of freaking work. I have been using RHEL WS 4.0 and it does almost everything I want, except look good.

    Honestly, the UI is starting to hurt my eyes. I need to buy a new laptop, so maybe now might be a good time to try a Mac.
  4. Ian Roberts 04.05.06 / 7am
    I can’t wait to read the section about getting wpa_supplicant working. I’ve tried lots of things without success. I have to sudo /etc/init.d/networking restart after I login.
  5. Cloud 04.14.06 / 5am
    I also have a WWW2006 paper due; thanks for the tetex-extra (no -s) tip!
  6. Dan 05.07.06 / 3am
    Great page Elias. I recently switched my thinkpad over to Ubuntu (Dapper beta) as well. Have you tried installing Notes? Most other things seem to work reasonably well, and I am hoping that the new NetworkManager for Dapper handles EAP_TLS a little better than Breezy with just wpa-supplicant. Any tips on getting Global Print to work?
  7. Mark 06.08.06 / 4am
    Heres the steps I had to do to get my Ubuntu working properly:



    Yep, thats it. After that, I just installed some stuff such as ruby, gkrellm and yarssr.

    I suppose everyone’s mileage varies, but for me, Linux has never been a big hassle at all, especially Ubuntu.
  8. linuxiac 06.10.06 / 1pm
    Been advocating, donating, and helping the “friends don’t let friends use M$” movement, since 1997.

    I have 80 computers in various stages of operation, and, all but four run Linux! Two run Linux and dual boot to the Evil Empire, about twice a year; two are Macs, one is a 6320CD and the other is a 6500/250.

    The MOST and BEST loved OSes among my many children visitors, students, and family members, is PCLinuxOS-p92 and Ubuntu Breezy Badger.

    Get some Linux, there are none of the hassles encountered in Microsoft installs, constant reboots!
  9. Accent français » Blog Archive » Installation de Ubuntu + Ruby on Rails + Lighttpd (lighty) - breezy ou dapper 06.15.06 / 9am
    [...] RailsOnUbuntuDebianTestingAndUnstable Ubuntu, Rails, Typo and Apache2 Installing Ruby on Rails on Ubuntu 5.04 (Hoary) Instalación de Rails en Ubuntu 5.10 (Breezy) Elias Torres: My Ubuntu [...]
  10. Rui Pacheco 06.23.06 / 4pm
    Hi

    I’ve been using your guide to personalize my Ubuntu, so I thought it would be a good idea to leave some of my changes. These two made a huge difference for me:

    http://ubuntuforums.org/showpost.php?p=1041769&postcount=1

    http://www.ubuntuforums.org/showpost.php?p=1084235&postcount=5
  11. Charlie Allom 07.24.06 / 2am
    Where do I find fetchnotes? Do I need to make friends with someone at IBM? It looks like it used to be OSS.
  12. Elias Torres 07.24.06 / 8am
    Charlie,

    fetchnotes is only available inside IBM firewall :(

    I’ll ask around and see if there are any options, but I doubt it especially since we now have full fidelity options for Lotus Notes in Linux.
  13. A Random Pattern » ubuntu links on customization, WordPress setup 08.24.06 / 9am
    [...] Here’s several good Ubuntu links on getting http://www.ubuntuforums.org/archive/index.php/t-14062.html This is a forum where airtonix has a post (near the bottom) on getting WordPress up and running on Ubuntu.  I’m still struggling with this, but realized I went about it the wrong way.  There’s an option when you first install Ubuntu to install a “LAMP” stack.  Choose this if you want to use your installation as a server for WP publishing, even privately. http://torrez.us/myubuntu/ Someone writes on going “cold turkey” Ubuntu.  Interesting, if a bit scary at first, with a ton of CLI (command line interface) stuff.  My recommendations:  1.  Don’t read this unless you’re a big geek.  2.  Just install Ubuntu, and do things the nice easy graphical way.  When you run into a problem, then worry about solving it.  It’s much easier to take things one challenge at a time, and every issue you face is solvable one way or another. http://www.ubuntuforums.org/showthread.php?t=186792 Similar to above, but a little more friendly.  This is an Ubuntu “customization guide”, and the idea is to make sure you can use all the proprietary stuff that you also used on Windows or Mac, probably without realizing it.  Stuff like Adobe reader, Flash, mp3s, all those are licensed and somebody has to pay for you to use a copy.  Luckily there are easy ways to get this set up on Ubuntu.  Again, my recommendations:  Try easyUbuntu and automatixx first. [...]
  14. Trevor 09.09.06 / 7pm
    sudo apt-get install apt-file

    This will work if you add the “universe” repository to sources.list
  15. Roberto Ramirez 02.24.07 / 2am
    Elias i have a question for you i have ubuntu 6.06 installed on my thinkpad i follow the instructions for installing MTS

    everything goes ok but when i try to connect it sends an error and cant establish the connection is there something else i need to install in order for MTS to work ok

About

  • I’m married and father of three.
  • I’m a Christian and worship at CBC.
  • I co-founded Performable.
  • I’m a java, python, javascript hacker.
  • Here’s my FOAF file (and URI).
  • I’m an amateur photographer.
  • I work on the Web.
  • I participate in Open Source software development (Roller, Abdera, RDFLib, WordPress).
  • You may contact me (email or jabber/gtalk) at .

Pages