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
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
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
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
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
Here's the other problem.. are we sure the package 'apt' provides apt-get?sudo dpkg -i packagenamehere.deb
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"
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
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"
thaaaaaaaaank uuuuuuu guys everything works great now i gave apt-get again
Bookmarks