Results 1 to 2 of 2

Thread: apt basics

  1. #1

    apt basics

    I've read a bunch of tutorials explaining how to use apt but I still find myself confused. I've been using Gentoo Linux for most of my Linux career and when you want to install something you simply emerge packagename. If I installed Knoppix to my hard drive and wanted to install Gnome, then update KDE to 3.2 how would I do this?

  2. #2
    Member registered user
    Join Date
    Jun 2003
    Posts
    34
    Once you've done a hard drive install take a look at the file /etc/apt/sources.list - this will contain a number of lines that point to the stable, testing and unstable branches of Debian at a German mirror. You probably ought to start by commenting out those lines and adding ones of the same format that point to a local mirror. There's a list on the Debian website. You'll have to be root to do all this, of course.
    Run apt-get update from the command line to update your package cache then apt-get upgrade will upgrade all packages that can be - this won't replace packages from eg. stable with those from testing, apt-get dist-upgrade will do however.
    Stable will be the default version so if you want newer packages use apt-get -t testing upgrade or replace testing with unstable. Or, just comment out the lines in /etc/apt/sources.list that point to stable and testing, run apt-get update and then apt-get dist-upgrade will give you a fully up-to-date unstable distro. That should update kde to whatever the latest version in unstable is.
    To install gnome, I think all you'll need to do is an 'apt-get install gnome-core'
    If you want a truly Debian system there are a bunch of Knoppix specific packages that will be sitting on your system and some of these won't get upgraded to newer versions - I solved this problem with 'apt-get install sysvinit/stable' before taking stable back out of my sources.list and update/upgrading again. Commands like apt-get --purge remove knoppix* will get most of the knoppix specific programs, but for heavens sake don't do this until you've changed sysvinit or you'll bork your system!
    Good luck, it really is very easy!!

Similar Threads

  1. Using Adobe Photoshop CS 8.0 : Some Basics
    By david7035 1 in forum The Lounge
    Replies: 6
    Last Post: 10-03-2004, 07:25 AM
  2. Command Line Basics - When to Use Spaces???
    By whiteowl in forum General Support
    Replies: 2
    Last Post: 08-23-2004, 08:54 PM
  3. Need help with basics: copying and pasting folders..
    By gsx8o in forum General Support
    Replies: 5
    Last Post: 07-26-2004, 07:16 AM
  4. Basics
    By notme in forum Customising & Remastering
    Replies: 1
    Last Post: 05-09-2004, 07:21 AM
  5. help with BASICS
    By snotpix in forum General Support
    Replies: 1
    Last Post: 11-09-2003, 02:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.01