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 11-27-2008, 12:54 PM   #1
subashk80
LQ Newbie
 
Registered: Nov 2008
Location: Trichy,India
Distribution: Ubuntu,Open Solaris
Posts: 19

Rep: Reputation: 0
Cool installing package using terminal....


Hi how to install a package using terminal, i tried the command 'sudo apt-get install <package name>, but it's displaying a error msg saying no package of tat name is found. What would be the reason. What is the extension of a package and what does '.rpm' represent.
 
Old 11-27-2008, 01:21 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Which linux distribution are you running on? The error you get is because a package with that name does not exist on your installation sources, that is the software repository configured on your system. Depending on the linux flavour you're running on, there are different procedures to enable additional repositories.

Furthermore on the command line you have apt-get on debian/ubuntu, yum on red-hat like systems and zypper on opensuse, just to cite some of them. A .rpm extension means it is a package managed by RPM (formerly red-hat package manager), the one you install using the rpm command or better using yum or zypper. On debian/ubuntu the packages have the .deb extension. On slackware you will have .tgz and so on. Just focus on the ones available for your system and you will be happy!
 
Old 11-27-2008, 04:01 PM   #3
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Quote:
what does '.rpm' represent
. Use the "rpm" command.

> man rpm

What Linux are you on?
 
Old 11-27-2008, 04:03 PM   #4
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Quote:
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works... and nobody knows why! (Albert Einstein)
Good one!
 
  


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
why not detect package after installing package????? venil Linux - General 2 06-09-2006 05:29 PM
Installing php package after installing from source shubb Slackware 4 03-14-2006 10:19 AM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 03:00 PM
Installing with terminal??? halobungie Linux - Newbie 10 08-23-2003 07:21 PM

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

All times are GMT -5. The time now is 04:51 PM.

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