-
Member
registered user
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?
-
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
-
By david7035 1 in forum The Lounge
Replies: 6
Last Post: 10-03-2004, 07:25 AM
-
By whiteowl in forum General Support
Replies: 2
Last Post: 08-23-2004, 08:54 PM
-
By gsx8o in forum General Support
Replies: 5
Last Post: 07-26-2004, 07:16 AM
-
By notme in forum Customising & Remastering
Replies: 1
Last Post: 05-09-2004, 07:21 AM
-
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
-
Forum Rules

Intel Core i7-3770K 3.5 GHz Processor
$39.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

AMD Ryzen 5 2600 Processor Six Core 3.4GHz CPU
$39.99

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99