Re: apt-get: Command not found.
On Tue, 02 Aug 2005 09:40:11 +0200, Gene Heskett
<gene.heskett@verizon.net> wrote:
> On Tuesday 02 August 2005 03:05, James A. Donald wrote:
> >apt-get: Command not found.
> >
> >I am a newbie to linux. I recently installed Debian on a computer
> >that sits in a closet
> >
> >So I ssh in. I got Samba working fine, after tinkering with the
> >/etc/samba/smb.conf file to read:
> >
> >[global]
> > workgroup = workgroup
> > netbios name = linux
> > security = share
> >[shareRW]
> > path = /home/james/Documents/sharedRW
> > read only = No
> > guest ok = Yes
> >
> >and manually starting the daemons with
> >nmbd -D
> >smbd -D
> >
> >All was well
> >
> >But then I wanted it to automatically start the daemons on reboot,
> > and I had no idea how to do that.
> >
> >So I said to myself, "well, surely Debian knows how to do that", so
> >attempted to type
> >
> >apt-get update
> >apt-get install samba smbclient
> >
> >Only to get the surprising message: apt-get: Command not found.
> Did you use the - option to su when you became root to do that stuff?
>
> I doubt that apt-get or any of its ilk are available if you do a plain
> su, which, unlike doing an 'su -' does not give you roots $PATH.
Yes, I tried it all ways.
--
http://www.jim.com
Reply to: