Installing .deb packages with apt-get

Larry Shields larry at isp.com
Wed May 16 20:39:56 UTC 2007


Dotan Cohen wrote:
> On 16/05/07, Cybe R. Wizard <cybe_r_wizard at earthlink.net> wrote:
>   
>> "Dotan Cohen" <dotancohen at gmail.com>  said:
>>     
>>> How does one install .deb packages with apt-get? I'd like to use the
>>> package manager to install so that it's database will stay compete. In
>>> Fedora yum has a localinstall option that installs an .rpm package
>>> with yum instead of using RPM.
>>>
>>>       
>> sudo apt-get install <package_name>
>>
>>     
>
> Will that install a local .deb file? I've no debs at the moment to
> check, but reading the apt-get man page it seems that I'd have to
> specify the path to a local repo in sources.list. I'd like to know if
> there's an option akin to yum's "localinstall" option.
>
>   
sudo su apt-get install <packagename> Apt-get will install it where it 
needs to be...
Now if you find that you want to remove it, type sudo su apt-get remove 
<packagename>...

Also you can find where a package is by using the command  'locate 
<packagename>'...
> While we're on the subject, yum lets the user know what it's going to
> add/remove/update and asks for confirmation first. I see the -s option
> for simulate, but I'd just like it to tell me what it's doing first
> and then let me decide. Is this possible? Or do I have to do every
> operation twice: once simulated, and once for real?
>   
I've installed many packages, some I did not like, or used after I had 
tried them out, but really never did remove them, since they do not take 
up much disk space...It's up to you what you want to do...

Yes the -s option does simulate, and you would be doing it twice, 
another thing that I never used, if I want the package, then I download 
it...

> Dotan Cohen
>
> http://dotancohen.com/eng/about.php
> http://lyricslist.com/lyrics/artist_albums/95/bush.html
>
>   

Larry

-- 
Powered by Debian/GNU/Linux
by Ubuntu ver 7.04 Feisty Fawn
73 de Larry/wd9esu 30yr's A.R.O.

"This is Linux Country,
on a quiet night you can hear
WINDOZE ! Systems REBOOTING !!"

GPG Fingerprint: A4D2 BFC2 B21B 8F7A C336 EFDC 7039 3CA5 3332 076E
Public Key available from subkeys.pgp.net





More information about the ubuntu-users mailing list