Installing Java on Debian

Standard

This one is just for me … =)

Thanks to weiqigao:

Here’s the steps I took to get Sun JDK 6 to my Debian GNU/Linux 4.0 system (the right way):

  1. Add a line to /etc/apt/sources.list:
    # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 200704
    07-12:15]/ etch contrib main
    
    deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407
    -12:15]/ etch contrib main
    
    deb http://ftp.debian.org/debian/ etch main non-free
    deb-src http://ftp.debian.org/debian/ etch main non-free
    
    deb http://security.debian.org/ etch/updates main contrib non-free
    deb-src http://security.debian.org/ etch/updates main contrib non-free
    
    deb http://www.debian-multimedia.org etch main
    deb http://www.dipconsultants.com/debian etch main
    
    ### unstable #######
    deb http://ftp.debian.org/debian/ unstable main non-free
  2. Add a line to /etc/apt/apt.conf.d/70debconf:
    // Pre-configure all packages with debconf before they are installed.
    // If you don't like it, comment it out.
    DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
    APT::Cache-Limit "100000000";
  3. Created /etc/apt/preferences:
    Package: *
    Pin: release a=stable
    Pin-Priority: 700
    
    Package: *
    Pin: release a=unstable
    Pin-Priority: 600
  4. Run apt-get update
  5. Install the eight sun-java6-* packages
    • sun-java6-bin
    • sun-java6-demo
    • sun-java6-doc
    • sun-java6-fonts
    • sun-java6-javadb
    • sun-java6-jdk
    • sun-java6-jre
    • sun-java6-source

    with

[root@gao]# feta install <package-name>s

We want you … Try KDE 4 …

Standard

If you ever wanted to check out what KDE 4 is all about. Then you have to try the following.

Get the VMWare Server and create a new VM with 512 MB of Ram and approx. 10 Gb of HDD space.

You also need to get the Ubuntu JeOS (JeOS = Just enough Operating System and was designed to build VM Ware appliances) image from:

http://cdimage.ubuntu.com/jeos/

Insert the iso Image into your fresh VM and go through the standard JeOS setup which is fairly simple.

After one reboot you should be able to login in and add the following line into “/etc/apt/sources.list”

  • /deb http://ppa.launchpad.net/project-neon/ubuntu hardy main/

Now run

  • apt-get update
  • apt-get install kde-nightly autoconf automake binutils make cpp gcc linux-headers-$(uname -r) xorg xserver-xorg-input-vmmouse kdm-kde4 kde-nightly-kdegraphics kde-nightly-kdepimlibs kde-nightly-kdenetwork kde-nightly-kdemultimedia amarok-nightly

That’s all…. type “reboot” and wait for the login dialog…. Now you only have to choose neonkde as session and enter your username and password.

HF & GL

Ebbo