UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know that whenever there are security updates (or other recommended updates), an orange logo would appear on the toolbar to remind me of updating. And then what I have to do is to click the logo and then enter my password and click "install update".
However, can this be performed through command line? My problem is that my computer is located in a place where I can only access remotely through SSH. I would still like to perform update through SSH. What should I do?
This is really distro dependent. Could you let us know what distro you are using?
For instance, debian based, (Ubuntu, Debian, etc) you would be able to run:
sudo apt-get update
sudo apt-get upgrade
sudo runs the command as root (updates must be run as root)
the update checks the repositories for updates to the package list
the upgrade does the upgrade of the packages.
Other distros use other commands... so let us know the distro you run, and we can probably help some more (and you can put this info in your profile so it appears just under your name in posts... so you dont have to tell us every time :-))
I thought it would be ubuntu, but I use kubuntu, and don't remember the colour of the icon, but figured it was going to be ubuntu orange :-) - I think kubuntu is a red exclamation mark or cross?
But without knowing, it is best to be sure of the distro.
Yeah! You're right. I should have explicitly told my distro. I am using Ubuntu7.10. I am very interested in that apt-get command. I've "man" it but it seems so long and difficult to understand. Can anyone give a brief introduction on the command?
I am also very interested in how to make the update automatic. Thanks very much!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.