Results 1 to 4 of 4

Thread: How to reinstall packages by apt-get?

  1. #1
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    How to reinstall packages by apt-get?

    Hi Everyone,

    Because of risking uninstalling dependencies... I would like to know how does a person 'reinstall' a package using apt-get in a terminal without having to uninstall the package first?

    For example, if I wanted to reinstall brasero, how could I do that without losing the gnome desktop? I made similar mistake before but I was using synaptic package manager to uninstall something and didn't know what the dependencies were at the time. Now I know what they are (and how important they are), but I am just curious to learn more about apt-get in the terminal.

    I see that
    Code:
    sudo apt-get install brasero
    will not install it if it is already installed.

    Thanks for the learning experiences.
    James

  2. #2
    Join Date
    Nov 2007
    Location
    PA., US
    Beans
    537
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to reinstall packages by apt-get?

    Synaptic is simply a front end (GUI) for apt-get. IMHO, it's much easier and safer to remove and reinstall using Synaptic. I've done it many times (successfully) without the necessary, correct syntax needed by apt-get. Just my $.02.
    HTH,
    Side

  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to reinstall packages by apt-get?

    Code:
    sudo apt-get install --reinstall brasero
    You can learn about commands by typing "man <command>" in a terminal.
    Example: man apt-get


    Please mark the thread solved via the Thread Tools link near the upper right of the original post when you no longer need assistance.
    Last edited by drs305; September 7th, 2009 at 11:38 PM. Reason: man page
    Back to Xorg...

    Retired.

  4. #4
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: How to reinstall packages by apt-get?

    Thanks Sidewinder1 and drs305,

    Yes I use synaptic too... in the full Ubuntu desktop (which I am using now), but I have played around with a mini ubuntu cd as well... where I chose not to install too many packages.

    Thanks for the man page tip. I didn't know commands had man pages. That helps alot.

    Thanks for the help,
    James

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
  •