apt-get

Discussion in 'Ubuntu' started by ciscosystem_mhr, Jan 22, 2013.

  1. ciscosystem_mhr

    ciscosystem_mhr New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hello guy
    i removed a package on ubuntu suddenly i realized i don't have apt-get command anymore how can i install apt package again ?
    thanks

  2. arochester

    arochester Active Member

    Messages:
    768
    Likes Received:
    244
    Trophy Points:
    43
    What package did you remove. What does it say when you try to use apt-get?
  3. ciscosystem_mhr

    ciscosystem_mhr New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    libstdc++6 it doesn't recognize apt-get any more i tried to install libstdc++6 again but too much dependencies i just confused
  4. arochester

    arochester Active Member

    Messages:
    768
    Likes Received:
    244
    Trophy Points:
    43
    Do you have the Install Disk?

    You could make the Install Disk a Repository and re-install apt using dpkg

    "Using dpkg to install packages

    dpkg is a command-line tool used to install packages. To install a package with dpkg, open a Terminal and type the following:


    cd directory
    sudo dpkg -i package_name.deb
    Note: replace directory with the directory in which the package is stored and package_name with the filename of the package.

    It is recommended that you read the dpkg manual page before using dpkg, as improper use may break the package management database. To view the manual page for dpkg, open a Terminal and type man dpkg." - https://help.ubuntu.com/community/InstallingSoftware

Share This Page