LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2010, 02:06 AM   #1
Abid Malik
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Rep: Reputation: -1
apt is not installing


Hello Friends!

i am using ubuntu. Trying to instal apt but all in vain.

it gives error as

sudo : apt: commond not found.

it is not installed as default. please help me out.

thanks

Last edited by Abid Malik; 09-21-2010 at 02:21 AM.
 
Old 09-21-2010, 02:09 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Yum is used for RPM based distro mainly. Apt is for the Debian based distros. You don't have to install apt in Ubuntu since it's already installed.

Are you trying to install applications using the command line or do you want to use a graphical interface?

Kind regards,

Eric
 
Old 09-21-2010, 02:15 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu has no 'yum'. Yum is only used on a Redhat based OS.

Ubuntu : apt-* : All these are installed by default.
So you can right away use : 'apt-cache search <name>' (or part of name)
For install : sudo apt-get install <package> .

Please read the Ubuntu documentation.
https://help.ubuntu.com/10.04/index.html
https://help.ubuntu.com/10.04/add-ap...s/C/index.html
https://help.ubuntu.com/10.04/add-ap...nstalling.html
.....

EDIT : Seems you now have removed the "yum install" text from post #1.
.

Last edited by knudfl; 09-21-2010 at 05:02 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing from apt-get fails often, apt-get update gives error, etc What should ido? mitchell7man Ubuntu 3 02-27-2012 02:55 AM
installing using apt-get tuxtamer Linux - Newbie 2 03-17-2005 10:54 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM
Installing apt-get lethalinjection Red Hat 1 11-01-2003 05:00 PM
installing apt darkstar518 Linux - Newbie 1 10-07-2003 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration