> On 5/20/06, Brad Campbell <[EMAIL PROTECTED]> wrote:
>> ubuntu.. it "just works".. neato..
>
> It's a nice feeling, huh? I tried it and it's everything you say it
> is. But I'm not from a Debian background, and the package management
> seemed weird to me.
sudo apt-get install xine
dead easy...
Seriously, it's taken years for rpm based distros to pick up on the sheer power and ease of apt. But
foit's still a native debian tool.. once you get your head around it you are in control..
The gnome-synaptic package manager is good, but I still live and die by apt-get, apt-cache and dpkg
command line tools.. perhaps I should knock out a bit of a cheat-sheet tutorial for the debian newbies.
Here are my 5 fav znd most used apt and dpkg commands..
apt-cache search foo - is good for trying to find a package name
[EMAIL PROTECTED]:~$ apt-cache search linux-image
alsa-base - ALSA driver configuration files
linux-image-2.6.15-22-386 - Linux kernel image for version 2.6.15 on 386.
linux-image-2.6.15-22-686 - Linux kernel image for version 2.6.15 on PPro/Celeron/PII/PIII/PIV SMP/UP
linux-image-2.6.15-22-k7 - Linux kernel image for version 2.6.15 on AMD K7 SMP/UP
linux-image-2.6.15-22-server - Linux kernel image for version 2.6.15 on Server Equipment
linux-image-2.6.15-22-server-bigiron - Linux kernel image for version 2.6.15 on BigIron Server Equipment
linux-image-2.6.15-23-386 - Linux kernel image for version 2.6.15 on 386.
linux-image-2.6.15-23-686 - Linux kernel image for version 2.6.15 on PPro/Celeron/PII/PIII/PIV SMP/UP
linux-image-2.6.15-23-k7 - Linux kernel image for version 2.6.15 on AMD K7 SMP/UP
linux-image-2.6.15-23-server - Linux kernel image for version 2.6.15 on Server Equipment
linux-image-2.6.15-23-server-bigiron - Linux kernel image for version 2.6.15 on BigIron Server Equipment
linux-image-386 - Linux kernel image on 386.
linux-image-686 - Linux kernel image on PPro/Celeron/PII/PIII/PIV.
linux-image-k7 - Linux kernel image on AMD K7.
linux-image-server - Linux kernel image on Server Equipment.
linux-image-server-bigiron - Linux kernel image on BigIron Server Equipment.
dpkg -l *foo* - is good for telling you what is installed
[EMAIL PROTECTED]:~$ dpkg -l *linux-image*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un linux-image <none> (no description available)
un linux-image-2. <none> (no description available)
rc linux-image-2. 2.6.15-20.30 Linux kernel image for version 2.6.15 on 386
rc linux-image-2. 2.6.15-22.34 Linux kernel image for version 2.6.15 on 386
ii linux-image-2. 2.6.15-23.35 Linux kernel image for version 2.6.15 on 386
ii linux-image-38 2.6.15.22 Linux kernel image on 386.
dpkg -L <packagename> - will list the contents of that package as installed
[EMAIL PROTECTED]:~$ dpkg -L spicctrl
/.
/usr
/usr/bin
/usr/bin/spicctrl
/usr/share
/usr/share/doc
/usr/share/doc/spicctrl
/usr/share/doc/spicctrl/AUTHORS
/usr/share/doc/spicctrl/README.Debian
/usr/share/doc/spicctrl/copyright
/usr/share/doc/spicctrl/changelog.gz
/usr/share/doc/spicctrl/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/spicctrl.1.gz
dpkg -S <filename> - will tell you the package that contains <filename>
[EMAIL PROTECTED]:~$ dpkg -S config-2.6.15-23-386
linux-image-2.6.15-23-386: /boot/config-2.6.15-23-386
dpkg -s <packagename> - will give you the status of any installed package
[EMAIL PROTECTED]:~$ dpkg -s spicctrl
Package: spicctrl
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 68
Maintainer: Samuel Ortiz <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.6-1
Depends: libc6 (>= 2.3.2.ds1-4)
Description: Sony Vaio controller program to set LCD backlight brightness
spicctrl is a small program that can use the Sony Programmable I/O Control
device (SPIC), which is part of Sony Vaio's, to do a few simple things.
Currently, it can only be used to control the brightness on the LCD
backlight, and print out some information about the battery.
.
You need a kernel with the sonypi module (and a Vaio laptop..) to use this
program.
In all reality if you remember it's always an (s) or an (l) in either case, you only have 4 to try
to get what you want.. dpkg -(sSlL).. one of them will probably work ;)
and apt-cache search foo - just rocks!
> Do you feel like you still have the power of Debian, despite the
> user-friendliness of the desktop? Is Debian really still there "under
> the hood"?
Yep. Loving every minute of it..
I've compiled my own kernel from the latest 2.6.17-rc4 and blessed it with suspend2 to I can get
some feedback and a faster suspend/resume (however the default ubuntu kernel actually did
suspend/resume on this machine, I just had no idea it was doing it, it just looked like it was
locked up and took forever to power down the machine)
I'm trying to get the inbuilt SD/MMC reader working (thus my new kernel), but everything is well
hunky dory. I love it. I've installed all my old kde apps (I use kde for contact/calendar
management) and they all *just work*.
In addtion, network-manager just rocks.. it does not matter where I go now, I just turn on and it
reestablishes my wifi connection, or sets one up for me if I've not been there before.. wep/wpa just
works..
My only hassle with this machine is the volume quirks. and sony hotkeys (and I'm kinda working on
that). The speakers and headphone socket have their own volume sliders in alsa, so I have to
actually use the mixer to control the volume rather than the gnome volume slider and hotkeys..
Still can't get the latest kubuntu betas to install, but I'm kinda established in gnome now and find
it's not that bad after all.. It's not as fast as windowmaker, but then my girlfriend can use it ;)
Oh, just bought the extended battery for my Vaio.. it adds less than 300g to the weight and gives me
over 10 hours between charges with wifi enabled! I adore this machine.
(Carrying 1.7kg in weight machine+battery+extended battery now gives me over 15 hours connected or
closer to 18 hours unconnected work time.. whereas my trusty Acer was 3.2kg + spare battery for a
total of 4kg for 8 hours.. - but then it is also 5 years old. I do have a 3rd battery for that
however it needs re-celling and I figured 4.8kg was just going to kill me to get 12 hrs work time)
Brad (Convert)
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
SPONSORED LINKS
| Linux operating system | Linux os | Hosting linux unix web |
| Linux user | Unix vs linux | Linux operating system download |
YAHOO! GROUPS LINKS
- Visit your group "dubailug" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
