LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-22-2019, 07:56 PM   #1
Zia0313
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
Can't install anything


i have Debian 9.7 on a virtual box and it dos not have sudo command
and also i cant install anything i have tried the above but still nothing works and i am getting the same error message
 
Old 05-22-2019, 08:35 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
Debian does not configure sudoers out of the box.

You assume root privileges by using su. See this: https://wiki.debian.org/Root
 
Old 05-22-2019, 08:37 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Hi Zua0313, and welcome to LQ.

I asked for your post to be separated off to a new thread because the thread you posted on was quite old, things may have changed, and your issue will also get better exposure here.

Can you please paste here an example of a command that you issue and the error message it generates (within CODE tags if possible). Many thanks.
 
Old 05-23-2019, 04:11 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
Without sudo priviledges being set up, you use the root account.

At a command prompt, enter su, it wil ask for your root user password, enter it, & you will have all the powers you need, (but don't stay as the root user longer than necessary, as it can be detrimental to your system, as you may make an unrecoverable mistake), use exit to return to your normal user profile.

To install software, as the root user, first update the database of programs, (then usually, also upgrade your system too), then install programs you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using libreoffice or anything to print anything from terminal MattFly Programming 5 09-06-2015 04:06 PM
backup to qcow2 (or anything VM compatible) using dd (anything) serafean Linux - Software 3 07-02-2010 02:39 AM
I can't install because I can't see anything lel@nd Linux - Newbie 4 01-01-2006 11:50 PM
can't MAKE INSTALL install anything gsrichmo Linux - General 14 07-01-2005 03:16 PM
i cant install anything or get anything to work!! karupt Linux - Software 2 03-04-2004 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration