installing from remote sources?
Please pardon the newbie question, but I must be missing something obvious!
I tried out my first Ubuntu install a couple of days ago; all my previous UNIX experience has been with LinuxPPC, which used RPM, and NetBSD, which used the BSD package management system.
My understanding of apt-get was that you could type "sudo apt-get install <package>" and it would go out, find the most recent version of the package from its list of sources, and install it for you along with any dependencies (like what CPAN does with Perl modules). But every time I try it, I get some sort of error about the package being missing or obsolete. (The package I was trying to install was emacs, which I'm confident is neither.)
I know it's doing something right, though, because when I type 'emacs' at a prompt it tells me I can use apt-get to install it, instead of just saying command not found.
Is my apt-get syntax correct? Do I need to configure a list of valid sources? Or am I doomed to manually download .deb files and install them manually, same as with .rpm?
I tried out my first Ubuntu install a couple of days ago; all my previous UNIX experience has been with LinuxPPC, which used RPM, and NetBSD, which used the BSD package management system.
My understanding of apt-get was that you could type "sudo apt-get install <package>" and it would go out, find the most recent version of the package from its list of sources, and install it for you along with any dependencies (like what CPAN does with Perl modules). But every time I try it, I get some sort of error about the package being missing or obsolete. (The package I was trying to install was emacs, which I'm confident is neither.)
I know it's doing something right, though, because when I type 'emacs' at a prompt it tells me I can use apt-get to install it, instead of just saying command not found.
Is my apt-get syntax correct? Do I need to configure a list of valid sources? Or am I doomed to manually download .deb files and install them manually, same as with .rpm?
no subject
P.S. that is to say, I don't see anything wrong with your apt syntax. You could try using the gui synaptic, or you can use aptitude which is a command-line program which will allow you to do search. (man aptitude) (Sorry, again, to RTM at you, but I rarely use aptitude.)
no subject
no subject
The apt-cache search returned something like 200 results, so the data describing available packages is there - it just doesn't know where to find any of them, maybe?
no subject
Try "apt-get clean", then "apt-get update" and then "apt-get install emacs". Might be a problem with the cache.
no subject
Thanks for your help!
no subject
I'm foggy on what they have them named as.
no subject
no subject
no subject
I've definitely got emacs on mine and it has the Ubuntu symbol by it which suggests it should be in the standard repository.
no subject
(I'm not an expert in this, by the way, so I'm not promising I can help any, but I can but try!)
no subject
Thanks for your help!
no subject