Building debian (*.deb) package from tarball source (*.tar.gz)

24 03 2008
  1. First, let’s install the necessary tools:

    # sudo apt-get install autotools-dev fakeroot dh-make build-essential

  2. Copy your source tree into a directory in /tmp or something else

    # cp -r sources-0.1 /tmp

    # cd /tmp/sources-0.1

  3. Now let’s make the debian control files:

    # dh_make --createorig

    Don’t forget to iclude “–createorig” if you don’t have the orig source before.

  4. Edit the debian/control file and at least change the Maintainer and Description fields. There are a few other files you will probably want to edit.
  5. Then run the following: (don’t use sudo!!)

    # dpkg-buildpackage -rfakeroot

  6. At last, if we look in /tmp (one directory up) we see sources-0.1.deb which ready . . :D




Simple How to Install gOS on Ubuntu . . .

22 03 2008
  1. Open your sources.list
    $ sudo gedit /etc/apt/sources.list
  2. Add new repo line
    deb http://packages.thinkgos.com/gos/ painful main
    deb-src http://packages.thinkgos.com/gos/ painful main
  3. Import the key
    wget http://www.thinkgos.com/files/gos_repo_key.asc
    sudo apt-key add gos_repo_key.asc
  4. Update your systems
    $ sudo apt-get update
  5. Install gOS
    $ sudo apt-get install greenos-desktop xorg
  6. And now,  ENLIGHTENMENT sessions should appear in your login manager.

gOS screenshot





Simple How to Install KDE 4 on Ubuntu . . .

22 03 2008
  1. Open your sources.list
    $ sudo gedit /etc/apt/sources.list
  2. Add new repo line
    deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main
  3. Update your systems
    $ sudo apt-get update
  4. Install kde4 system
    $ sudo apt-get install kdebase-workspace kdebase-kde4 kdebase-runtime kde4-core kde4
  5. And now, KDE 4 sessions should appear in your login manager.

kde4