UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
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 :-))
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!