Hacker News new | ask | show | jobs
by pookleblinky 6233 days ago
Depending on the distro used in your EC2 instance, it could be as easy as ssh'ing into it and then running:

sudo apt-get install nano

or whatever other package manager is used.

1 comments

sudo apt-get install nano

It's either going to be that or

sudo yum install nano

Depending on which linux OS you're using. But it may already be installed.

  [root@domU-12-31-39-00-E8-E8 ~]# sudo yum install nano
  Setting up Install Process
  Setting up repositories
  Cannot find a valid baseurl for repo: updates-released
  Error: Cannot find a valid baseurl for repo: updates-released
That's pretty much what I get every time I try to install anything with yum. Are you saying that it can actually find and install software for you?

The only time it ever worked for me was installing Mono. I just assumed that there were very few software packages that it worked for and that you had to hand-install the rest.

Is there an easy way to teach it how to find stuff? If so, that would be great news.

In cases like this google is your friend. Just type "Cannot find a valid baseurl for repo: updates-released" (in quotes) into google.

I use Ubuntu and apt-get. It all just works. Don't know anything about yum myself.

edit: I'm guessing you're using Fedora 10? Here's the package list: https://admin.fedoraproject.org/pkgdb/collections/id/19