LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-17-2016, 08:52 AM   #1
gordie1969
Member
 
Registered: Jan 2013
Posts: 53

Rep: Reputation: Disabled
Debian8.2


Hey guys I installed debian 8.2 and with doing so will it update to the lastest version of 8.5 sorry I'm giving debian a try not liking ubuntu 16.04
 
Old 06-17-2016, 09:46 AM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,813

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Yes. Do an update and and upgrade, either through Synaptic or from the command line, and you'll get the latest version of everything in Jessie.
Code:
apt update
apt upgrade
as root in a terminal will do it, or you can run Synaptic and have it do the update/upgrade. I honestly don't remember the exact steps to do that, because I use the command line for this, because it's quicker and easier for me. I seldom bother to open Synaptic. YMMV.
 
1 members found this post helpful.
Old 06-17-2016, 10:27 AM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Will need a
Code:
sudo
in there (for the "root" part) or:
Code:
su
adduser yourUserName sudo
then reboot.
 
Old 06-17-2016, 09:48 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,813

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Probably sudo isn't installed. It's not installed in Debian by default, and the OP seems pretty new, so probably doesn't know about that. Adding a user to the sudo group does nothing when sudo isn't installed. And that alone won't be enough, even if it is installed.
 
Old 06-17-2016, 10:07 PM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Then:
Code:
su
apt-get install sudo
https://wiki.debian.org/sudo ...
 
Old 06-17-2016, 11:09 PM   #6
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,813

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
And then you have to configure it. Newbies to Debian, and especially those who are new to Linux in general, have always had a lot of trouble with this. I intentionally didn't go into detail about how to enable sudo in Debian, leaving that an exercise for the reader, but your posts may confuse things even further, because they're far from complete. The use of sudo itself is very controversial in the Debian community, for reasons that mostly escape me, because one of the underlying principles of Linux is the freedom to configure and use your system as you see fit. I use sudo because I think it enhances security to some small degree, but some people believe it to be an abomination near to running Windows. I say use what works for you. But the Debian philosophy is that sudo is not provided out of the box, so some seem to think it shouldn't be used at all. Configuration instructions can be hard to find. Thus, for a newbie, using su is the easiest way to get started.
 
1 members found this post helpful.
Old 06-17-2016, 11:29 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
IMHO sink or swim doesn't quite apply here, nor opinions on running and sharing the root password &c:
http://www.techrepublic.com/blog/lin...rn-the-basics/
http://www.tecmint.com/su-vs-sudo-an...sudo-in-linux/

also, try:
Code:
man man
...


Add:
Quote:
Originally Posted by sgosnell View Post
And then you have to configure it. ...
http://www.linuxquestions.org/questi...1/#post5562468

Last edited by jamison20000e; 06-17-2016 at 11:31 PM.
 
1 members found this post helpful.
Old 06-18-2016, 07:10 AM   #8
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by sgosnell View Post
And then you have to configure it. Newbies to Debian, and especially those who are new to Linux in general, have always had a lot of trouble with this
But, there is a very straightforward entry in Debian's own wiki:
https://wiki.debian.org/sudo
 
Old 06-18-2016, 10:35 AM   #9
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,813

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Yes, it's easy enough to do, and easy enough to find the instructions, which is why I didn't spell it out. People need to learn to do things on their own. But this thread seems to be going sideways, so I think it's time to bail.
 
Old 06-18-2016, 10:42 AM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350
Quote:
Originally Posted by sgosnell View Post
Yes, it's easy enough to do, and easy enough to find the instructions, which is why I didn't spell it out. People need to learn to do things on their own. But this thread seems to be going sideways, so I think it's time to bail.
I agree with sgosnell that going down the rabbit hole of sudo in this thread is a confusing distraction.
By default in Debian one uses the root account (can be logged into in a variety of ways) to perform root operations such as installing software.
So my initial advise would be to use apt-get as root to update and upgrade.

Should gordie1969 wish to install and configure sudo then that and any discussion of why and how should be another thread entirely.
 
Old 06-18-2016, 11:04 AM   #11
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Thumbs down

Don't do backups or make sure there's a good firewall and go to all the wrong places on the web like my nephews...

Didn't you say it yourselfers, we are the admins (root) in GNU\Linux!?
 
Old 06-18-2016, 11:12 AM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350
Quote:
Originally Posted by jamison20000e View Post
Don't do backups or make sure there's a good firewall and go to all the wrong places on the web like my nephews...

Didn't you say it yourselfers, we are the admins (root) in GNU\Linux!?
The difference between advising to enable sudo in Debian and advising to, for example, back-up is that enabling sudo in Debian is not more secure or a must-do (especially on a single-user system) it is an option which some find more convenient or useful as part of a security system.

If one wishes to update Debian one does so as root. There is absolutely no good reason to install sudo unless it is part of a bigger security scheme. Since this thread is not about security then sudo is an irrelevant diversion.

For the record this is the Debian help page regarding package management and nowhere does it state "first install sudo".
 
Old 06-18-2016, 11:50 AM   #13
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
It links you here: https://wiki.debian.org/Root
Quote:
In a terminal : you can use su (or gksu) to change your identity to root.
However, it's recommended to configure and use sudo (or gksudo) to run a given command
 
1 members found this post helpful.
Old 06-18-2016, 01:51 PM   #14
gordie1969
Member
 
Registered: Jan 2013
Posts: 53

Original Poster
Rep: Reputation: Disabled
debian update

do I use the same as ubuntu in terminal sudo apt-get install updates because didn't work
 
Old 06-18-2016, 02:41 PM   #15
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,056
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Wink

Quote:
Originally Posted by jamison20000e View Post
Then:
Code:
su
apt-get install sudo
https://wiki.debian.org/sudo ...
Quote:
Originally Posted by jamison20000e View Post
...
Code:
su
adduser yourUserName sudo
then reboot.
...

Last edited by jamison20000e; 06-18-2016 at 02:43 PM.
 
  


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
[SOLVED] why my DVD-ReWritable can't be used on debian8? luofeiyu Linux - Hardware 7 11-21-2015 09:25 AM
[SOLVED] Why can't remove mate from my debian8.1? luofeiyu Linux - Desktop 4 09-07-2015 01:49 AM
[SOLVED] change mta in debian8 luofeiyu Linux - Newbie 1 08-19-2015 04:57 PM
[SOLVED] screen keeps turning blank on Debian8 xiongnu Debian 1 05-22-2015 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:32 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