Results 1 to 7 of 7

Thread: Updating system using sudo apt-get

  1. #1
    Join Date
    Jan 2012
    Beans
    245

    Updating system using sudo apt-get

    Hi everyone

    sorry for a dumb question, but how do I update the system using apt-get.
    I know that if I type sudo apt-get update, it updates the list of packages available, but how do I then use that updated list to upgrade any packages that are out of date?

    I know I could go to update manager and let that do the updating, but where is the fun in that?

    Oops, almost forgot. I'm running Ubuntu 11.10 i386.
    Glenn.

  2. #2
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Updating system using sudo apt-get

    Code:
    sudo apt-get upgrade
    will then upgrade the packages.

  3. #3
    Join Date
    Jan 2012
    Beans
    245

    Re: Updating system using sudo apt-get

    That did it, thanks.

  4. #4
    Join Date
    Apr 2012
    Beans
    0

    Arrow Re: Updating system using sudo apt-get

    i didnt think that this would be a normal post seeing as Linux users are used to binary code. Saying thanks for the others though.

  5. #5
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Updating system using sudo apt-get

    Code:
    sudo apt-get upgrade
    Before running this you should always:

    Code:
    sudo apt-get update
    ... first.

  6. #6
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: Updating system using sudo apt-get


  7. #7
    Join Date
    Nov 2008
    Location
    Whakatane, NZ
    Beans
    634
    Distro
    Ubuntu

    Re: Updating system using sudo apt-get

    Quote Originally Posted by jerrrys View Post
    Or to make it easier with one command:
    Code:
    sudo apt-get update; sudo apt-get upgrade
    or
    Code:
    sudo apt-get update && sudo apt-get upgrade
    Either will work fine.
    Windows free since '09 - never looked back!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •