View Full Version : [ubuntu] apt-get
ciscosystem
January 21st, 2013, 01:48 PM
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
ibjsb4
January 21st, 2013, 02:11 PM
Are you sure? It wouldn't remove itself, did you remove it?
Give it a try in terminal to see if it works.
sudo apt-get update
grahammechanical
January 21st, 2013, 10:31 PM
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.
|{urse
January 21st, 2013, 10:42 PM
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?
steeldriver
January 21st, 2013, 10:48 PM
yes that should do it
$ apt-file search $(which apt-get)
apt: /usr/bin/apt-get
haskell-debian-utils: /usr/bin/apt-get-build-depends
|{urse
January 21st, 2013, 10:50 PM
Ah, thanks. I was trying to remember the equiv to 'yum provides' lol. There ya go OP ;)
ciscosystem
January 22nd, 2013, 08:34 AM
thaaaaaaaaank uuuuuuu guys everything works great now i gave apt-get again
:guitar::guitar:
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.