Ubuntu: The program 'curl' is currently not installed
Question: I am trying out Meteor http://meteor.com/examples/leaderboard
I have to use CURL, which I am familiar with on Windows.
Now I try to install it on Ubuntu 12.04.
But i get these errors:
kevin@ubuntu:~$ curl https://install.meteor.com | sh
The program 'curl' is currently not installed. You can install it by typing:
sudo apt-get install curl
kevin@ubuntu:~$ apt-get curl
E: Invalid operation curl
kevin@ubuntu:~$ sudo apt-get curl
[sudo] password for kevin:
E: Invalid operation curl
How do i install CURL?
SOLVED IT:
I did this command
sudo sed -i -e 's/us.archive.ubuntu.com/archive.ubuntu.com/g' /etc/apt/
sources.list
and then I could do sudo apt-get update and then sudo apt-get install curl
which successfully installed curl.
UPDATE:
Sorry for the obvious mistake. I tried yesterday also, and there I did type the
right command which, gave me this error message:
kevin@ubuntu:~$ sudo apt-get install curl
[sudo] password for kevin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'curl' has no installation candidate
UPDATE 2:
Tried the apt-cache search curl | grep -i curl command
kevin@ubuntu:~$ apt-cache search curl | grep -i curl
curlftpfs - filesystem to access FTP hosts based on FUSE and cURL
flickcurl-doc - utilities to call the Flickr API from command line -
documentation
flickcurl-utils - utilities to call the Flickr API from command line
gambas2-gb-net-curl - The Gambas advanced networking component
gnupg-curl - GNU privacy guard - a free PGP replacement (cURL)
libcupt2-0-downloadmethod-curl - alternative front-end for dpkg -- libcurl
download method
libcurl-ocaml - OCaml curl bindings (Runtime Library)
libcurl-ocaml-dev - OCaml libcurl bindings (Development package)
libflickcurl-dev - C library for accessing the Flickr API - development files
libflickcurl0 - C library for accessing the Flickr API
libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbols
libghc-curl-dev - GHC libraries for the libcurl Haskell bindings
libghc-curl-doc - Documentation for the libcurl Haskell bindings
libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings
... (Please watch the video for the full question)
Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):
With thanks & praise to God! With thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free... | Images: https://stocksnap.io/license & others | With thanks to user MadMike (https://askubuntu.com/users/75166), user Kevin Simper (https://askubuntu.com/users/134535), user don.joey (https://askubuntu.com/users/115155), and the Stack Exchange Network (http://askubuntu.com/questions/259681). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.