[clug] Debian session for any Choobs?

Hal Ashburner hal.ashburner at gmail.com
Tue Jun 16 04:55:06 GMT 2009


Michael James wrote:
>
> On 16/06/2009, at 2:04 PM, Hal Ashburner wrote:
>
>> Michael James wrote:
>>> I've bitten the bullet and am trying to learn Debian.
>>>
>>>
>>> Topics:
>>>    Lightning tour of Installation*
>>>    Apt from an RPM user's perspective.
>>>
>> This might be one of those "from 1000ft" things.
>> the rpm equivalent is a thing called dpkg. The packages themselves 
>> end in .deb rather than .rpm. Apt is the equivalent of something like 
>> yum or (is it yast on suse?)
>> The basics seem to translate pretty easily nowadays.
>> Let's just list them. To start it off:
>>
>> 1)To find and install and uninstall a package
>>
>> apt-cache search $pkgname
>> apt-cache show $fullpkgname
>> apt-get install $fullpkgname
>> apt-get remove $fullpkgname
>> vs
>> yum search $pkgname
>> yum info $fullpkgname
>> yum install $fullpkgname
>> yum remove $fullpkgname
>>
>>
>> 2)To update your system
>> apt-get update && apt-get dist-upgrade
>> vs
>> yum update
>>
>> 3)The file/directory to edit to configure which mirror to point at 
>> (hopefully your ISP's unmetered mirror)
>>
>> /etc/apt/sources.list
>> vs
>> /etc/yum.repos.d/
>>
>>
>> 4) which pkg does that file come from?
>> dpkg --search /path/to/file
>> vs
>> rpm -qf /path/to/file
>>
>>
>> 5) Gui front end so you don't have to know any of the above?
>> aptitude (also does curses which is handy for server use)
>> vs
>> gpk-application
>
>
> Wow, that's my initial questions answered.
> And armed with the answers I (well google actually) found this 
> excellent page
>
> https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/%20RedHatEnterpriseLinuxAndFedora 
>
>
> In hindsight all is obvious.
>
> One question remains: What's the equivalent of   http://rpm.pbone.net/
> ie: What package will give me this file (which I don't have but 
> should, judging by the compiler errors)
I /think/ you need to install 'apt-file' for this kind of thing on a 
debian based distro.
Before you can use it you need to do 'apt-file update'
Reckon someone will know better than me.

I probably won't make the face-to-face, I live in an outer outer suburb 
of Canberra ;)


More information about the linux mailing list