Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!


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

  1. 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 ?

    (Log in to hide this advertisement)

  2. arochester

    arochester Guest

    What package did you remove. What does it say when you try to use apt-get?
  3. 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 Guest

    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
  5. or should you satisfy any dependency and install every package separately
  6. ryanvade

    ryanvade Guest

    if you have aptitude installed it can be used instead.
    for example:
    aptitude install apt

Share This Page