Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585
Rep:
The best thing to do is read all pages linked the one regarding package management, the one regarding root and the one regarding sudo.
You may see from the above posts that the use of sudo isn't something which everyone agrees upon for a single-user desktop but if you must use it then you should read why you're using it and how to set it up.
This being why I think discussion of sudo complicates things. The bottom line being you don't currently have sudo installed nad configured if you have a default debian install so the apt-get command needs to be run as root up until such a time as you have sudo installed and configured.
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.
Here's your earlier-wrong answer on exactly how to do it...
Quote:
Originally Posted by sgosnell
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.
Last edited by jamison20000e; 06-19-2016 at 10:21 PM.
Reason: ++
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585
Rep:
Quote:
Originally Posted by jamison20000e
I don't think I could ever hold back hard earned information, not that you'd ever need to read a .nf-no?
The answer you quote is the correct one (advising to run the relevant commands as root) and your post right after it is incomplete and just causes confusion and debate.
It is possible that you pre-empted a further question by the original poster but it took us about 10 more posts to explain the situation.
do I use the same as ubuntu in terminal sudo apt-get install updates because didn't work
That won't work anywhere, not even in Ubuntu. I gave you the correct syntax early on. You have to run update, which updates the list of available packages, then upgrade, which does the actual installation of newer packages. Those have to be run as root, however you become root.
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
...wrong and opinion...
Last edited by jamison20000e; 06-20-2016 at 11:52 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.