Re: [beagleboard] Installing bc package/ floating point arithmetic in BASH
You were right. Thanks! It works now. On Friday, March 4, 2016 at 9:55:58 PM UTC-5, William Hermans wrote: > > You should probably check to make sure you're actually connected to the > internet . . . chances are really good based on your output that you're > not.. > > On Fri, Mar 4, 2016 at 7:16 PM, Audrey> wrote: > >> Hi I tried that but it still didn't work. apt-get update had problems: >> >> root@beaglebone:~# apt-get update >> Err http://repos.rcn-ee.net wheezy Release.gpg >> Could not resolve 'repos.rcn-ee.net' >> Err http://security.debian.org wheezy/updates Release.gpg >> Could not resolve 'security.debian.org' >> Err http://ftp.us.debian.org wheezy Release.gpg >> Could not resolve 'ftp.us.debian.org' >> Err http://ftp.us.debian.org wheezy-updates Release.gpg >> Could not resolve 'ftp.us.debian.org' >> Reading package lists... Done >> W: Failed to fetch >> http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg Could not >> resolve 'ftp.us.debian.org' >> >> W: Failed to fetch >> http://ftp.us.debian.org/debian/dists/wheezy-updates/Release.gpg Could >> not resolve 'ftp.us.debian.org' >> >> W: Failed to fetch >> http://security.debian.org/dists/wheezy/updates/Release.gpg Could not >> resolve 'security.debian.org' >> >> W: Failed to fetch >> http://repos.rcn-ee.net/debian/dists/wheezy/Release.gpg Could not >> resolve 'repos.rcn-ee.net' >> >> W: Some index files failed to download. They have been ignored, or old >> ones used instead. >> >> >> On Friday, March 4, 2016 at 5:33:56 PM UTC-5, RobertCNelson wrote: >>> >>> On Fri, Mar 4, 2016 at 4:22 PM, Audrey wrote: >>> > So I want to do floating point arithmetic in BASH, but I have trouble >>> > installing the bc package (https://www.gnu.org/software/bc/). >>> > >>> > I type in: >>> > apt-get install bc >>> > >>> > and it tells me: >>> > Reading package lists... Done >>> > Building dependency tree >>> > Reading state information... Done >>> > E: Unable to locate package bc >>> > >>> > So. Any idea on how to either do floating point arithmetic in BASH >>> some >>> > other way, or how to install bc on beaglebone black? >>> >>> apt-get update >>> apt-get install bc >>> >>> Regards, >>> >>> -- >>> Robert Nelson >>> https://rcn-ee.com/ >>> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to beagleboard...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Installing bc package/ floating point arithmetic in BASH
You should probably check to make sure you're actually connected to the internet . . . chances are really good based on your output that you're not.. On Fri, Mar 4, 2016 at 7:16 PM, Audreywrote: > Hi I tried that but it still didn't work. apt-get update had problems: > > root@beaglebone:~# apt-get update > Err http://repos.rcn-ee.net wheezy Release.gpg > Could not resolve 'repos.rcn-ee.net' > Err http://security.debian.org wheezy/updates Release.gpg > Could not resolve 'security.debian.org' > Err http://ftp.us.debian.org wheezy Release.gpg > Could not resolve 'ftp.us.debian.org' > Err http://ftp.us.debian.org wheezy-updates Release.gpg > Could not resolve 'ftp.us.debian.org' > Reading package lists... Done > W: Failed to fetch > http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg Could not > resolve 'ftp.us.debian.org' > > W: Failed to fetch > http://ftp.us.debian.org/debian/dists/wheezy-updates/Release.gpg Could > not resolve 'ftp.us.debian.org' > > W: Failed to fetch > http://security.debian.org/dists/wheezy/updates/Release.gpg Could not > resolve 'security.debian.org' > > W: Failed to fetch http://repos.rcn-ee.net/debian/dists/wheezy/Release.gpg > Could not resolve 'repos.rcn-ee.net' > > W: Some index files failed to download. They have been ignored, or old > ones used instead. > > > On Friday, March 4, 2016 at 5:33:56 PM UTC-5, RobertCNelson wrote: >> >> On Fri, Mar 4, 2016 at 4:22 PM, Audrey wrote: >> > So I want to do floating point arithmetic in BASH, but I have trouble >> > installing the bc package (https://www.gnu.org/software/bc/). >> > >> > I type in: >> > apt-get install bc >> > >> > and it tells me: >> > Reading package lists... Done >> > Building dependency tree >> > Reading state information... Done >> > E: Unable to locate package bc >> > >> > So. Any idea on how to either do floating point arithmetic in BASH some >> > other way, or how to install bc on beaglebone black? >> >> apt-get update >> apt-get install bc >> >> Regards, >> >> -- >> Robert Nelson >> https://rcn-ee.com/ >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Installing bc package/ floating point arithmetic in BASH
Hi I tried that but it still didn't work. apt-get update had problems: root@beaglebone:~# apt-get update Err http://repos.rcn-ee.net wheezy Release.gpg Could not resolve 'repos.rcn-ee.net' Err http://security.debian.org wheezy/updates Release.gpg Could not resolve 'security.debian.org' Err http://ftp.us.debian.org wheezy Release.gpg Could not resolve 'ftp.us.debian.org' Err http://ftp.us.debian.org wheezy-updates Release.gpg Could not resolve 'ftp.us.debian.org' Reading package lists... Done W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg Could not resolve 'ftp.us.debian.org' W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/Release.gpg Could not resolve 'ftp.us.debian.org' W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg Could not resolve 'security.debian.org' W: Failed to fetch http://repos.rcn-ee.net/debian/dists/wheezy/Release.gpg Could not resolve 'repos.rcn-ee.net' W: Some index files failed to download. They have been ignored, or old ones used instead. On Friday, March 4, 2016 at 5:33:56 PM UTC-5, RobertCNelson wrote: > > On Fri, Mar 4, 2016 at 4:22 PM, Audrey> wrote: > > So I want to do floating point arithmetic in BASH, but I have trouble > > installing the bc package (https://www.gnu.org/software/bc/). > > > > I type in: > > apt-get install bc > > > > and it tells me: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > E: Unable to locate package bc > > > > So. Any idea on how to either do floating point arithmetic in BASH some > > other way, or how to install bc on beaglebone black? > > apt-get update > apt-get install bc > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Installing bc package/ floating point arithmetic in BASH
On Fri, Mar 4, 2016 at 4:22 PM, Audreywrote: > So I want to do floating point arithmetic in BASH, but I have trouble > installing the bc package (https://www.gnu.org/software/bc/). > > I type in: > apt-get install bc > > and it tells me: > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package bc > > So. Any idea on how to either do floating point arithmetic in BASH some > other way, or how to install bc on beaglebone black? apt-get update apt-get install bc Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Installing bc package/ floating point arithmetic in BASH
So I want to do floating point arithmetic in BASH, but I have trouble installing the bc package (https://www.gnu.org/software/bc/). I type in: apt-get install bc and it tells me: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package bc So. Any idea on how to either do floating point arithmetic in BASH some other way, or how to install bc on beaglebone black? Alternatively, is it possible to pass in a value from bash to like a java script or something? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.