Find the answer to your Linux question:
Results 1 to 4 of 4
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    Exclamation [SOLVED] sudo command not found??

    I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI.
    Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought.
    Now at the shell prompt when I type in any sudo command it says: "sudo command not found"
    Is there an alternate command I can use in this situation - can anyone help please?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Welcome to the forums!

    Just guessing here, but maybe sudo hasn't been installed yet:

    Code:
    apt-get install sudo
    ...check this HowTo for more info on Debian and sudo:

    SUDO Configuration in Debian
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can gain root privileges in Debian using su command.
    Code:
    su -
    apt-get install sudo
    Make sure to execute exit command to exit from root shell.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    You could also consider using Synaptic to install software under Debian should you not be comfortable using the Linux command line.

    Here's a good HowTo with information for using it:

    https://help.ubuntu.com/community/SynapticHowto

    ...note that the HowTo was written for Ubuntu but most of it applies to Debian as well.

    Best of luck with it!
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •