LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01: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, 02:21 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 05: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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 03:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration