Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,744
    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. $spacer_open
    $spacer_close
  5. #4
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

Posting Permissions

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