HI,
My linux machine does not have apt-get support. Could anybody tell me how can I install the apt-get command itself ?
Thanks,
HI,
My linux machine does not have apt-get support. Could anybody tell me how can I install the apt-get command itself ?
Thanks,
Hi
Are you sure? It should be part of a standard Ubuntu install.
What do these commands return
Code:uname -aCode:cat /etc/lsb-releaseCode:file apt-getandCode:ls -l /usr/bin/apt-getCode:dpkg -l aptIf you do need to install it then..Code:echo $PATH
Install the apt package from a CD/USB or use wget to retreive it (and any depencencies) and install the deb files.
Kind regards
Last edited by matt_symes; February 9th, 2012 at 02:42 AM.
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
FYI:
Code:# uname -a Linux testlinkdb01oak.jeeves.ask.info 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux # cat /etc/lsb-release cat: /etc/lsb-release: No such file or directory # file apt-get apt-get: cannot open (apt-get) # ls -l /usr/bin/apt-get ls: /usr/bin/apt-get: No such file or directory # dpkg -l apt bash: dpkg: command not found # echo $PATH /home/jre1.6.0_22/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
What version of Ubuntu are you running, and how are you running it?
Forum DOs and DON'Ts
Please use CODE tags
Including your email address in a post is not recommended
My Blog
Its not ubuntu, Its Cent OS. .!
CentOS uses yum. So it would be
to install gcc for example.Code:yum install gcc
Ubuntu and CentOS/RHEL use different package managers. Ubuntu uses .deb (Debian Packages) and CentOS uses .rpm (Red Hat Package Manager)
Also you should have placed this in the other distro section of the forums instead of the Ubuntu section. It gets confusing.
Last edited by Rafterman414; February 9th, 2012 at 03:25 AM.
Forum DOs and DON'Ts
Please use CODE tags
Including your email address in a post is not recommended
My Blog
I've moved your thread to "Other OS/distro talk" and added the "Centos" tag, so other users of the forums don't get confused.
Forum DOs and DON'Ts
Please use CODE tags
Including your email address in a post is not recommended
My Blog
Bookmarks