Results 1 to 7 of 7

Thread: apt-get

  1. #1
    Join Date
    Jan 2013
    Beans
    2

    apt-get

    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. #2
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXQt14o4
    Beans
    Hidden!

    Re: apt-get

    Are you sure? It wouldn't remove itself, did you remove it?

    Give it a try in terminal to see if it works.

    Code:
    sudo apt-get update

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    6,383
    Distro
    Ubuntu Development Release

    Re: apt-get

    Open the Ubuntu Software Centre and search for apt. And you might see at the top of the list Commandline package manager. If it has a green circle icon with a white tick/check mark then it is still installed. Otherwise, you must hope that Software Centre does not use apt to install software.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Jan 2007
    Location
    Location: Location:
    Beans
    1,241
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: apt-get

    You can open a browser, go to http://packages.ubuntu.com/

    Scroll down, there is a text search field, locate the package you want (be sure to select the correct distro i.e Quantal)(I'm assuming you need apt)

    That would be here http://packages.ubuntu.com/quantal/apt

    Once downloaded you can install the package with

    sudo dpkg -i packagenamehere.deb
    Here's the other problem.. are we sure the package 'apt' provides apt-get?

    Anyone?
    clear && echo paste url and press enter; read paste; (youtube-dl $paste) | zenity --progress --title="" --text "Downloading, please wait" --auto-close --pulsate && ans=$(zenity --file-selection); gnome-terminal -x mplayer "$ans"

  5. #5
    Join Date
    Apr 2012
    Beans
    5,050

    Re: apt-get

    yes that should do it

    Code:
    $ apt-file search $(which apt-get)
    apt: /usr/bin/apt-get
    haskell-debian-utils: /usr/bin/apt-get-build-depends

  6. #6
    Join Date
    Jan 2007
    Location
    Location: Location:
    Beans
    1,241
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: apt-get

    Ah, thanks. I was trying to remember the equiv to 'yum provides' lol. There ya go OP
    clear && echo paste url and press enter; read paste; (youtube-dl $paste) | zenity --progress --title="" --text "Downloading, please wait" --auto-close --pulsate && ans=$(zenity --file-selection); gnome-terminal -x mplayer "$ans"

  7. #7
    Join Date
    Jan 2013
    Beans
    2

    Re: apt-get

    thaaaaaaaaank uuuuuuu guys everything works great now i gave apt-get again

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
  •