Results 1 to 7 of 7
Hello everyone,
I have been trying to create a SD-Card with Ubuntu 9.10 and add up some other programs. That has to be all done in my laptop.
However, I ...
- 06-20-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 38
apt-get in my laptop to install in a SD-Card with Linux
Hello everyone,
I have been trying to create a SD-Card with Ubuntu 9.10 and add up some other programs. That has to be all done in my laptop.
However, I got into a point that I could not go further. Normally, I would start my Linux SD-card on a board and type the following lines:
Is there any way that could be done from my laptop once the SD card is connected to it?Code:$sudo apt-get install liblapack-dev $sudo apt-get install libf2c2-dev
Thanks in advance,
Frederico
- 06-20-2011 #2
Not sure what you are trying to do here. Are you running Ubuntu 9.10 Off of your SD card instead of internal Hardrive? If so. How did you make the card. Is it a Unetbootin SD card with Ubuntu as a live session?
Or
Are you trying to download libraries using apt-get and are trying to download them to a sd card to transfer libraries to another computer running Ubuntu 9.10?
If so. You have to download the debs from Ubuntus site repository and point download to the sd card that is mountedLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 06-20-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 38
Hello rokytnji,
I have Linux in my Laptop and I have made my 9.10 Karmic SD-card using the following website:
Right after creating the new SD-Card, it is still umounted and I would like to download and install these 2 mentioned libraries in it using apt-get install if possible.HTML Code:http://elinux.org/BeagleBoardUbuntuKarmic
Thanks for your attention!
- 06-20-2011 #4
Wow. Neato. A Beagle Board.
Wondering if you followed the steps init is still umounted
on that link you provided as far as editing fstab. Is your Beagle board sd formatted as ext2 file system. If so you need toCode:RootStock
in /etc/fstabNote change the above "ext3" to "ext2" if the root filesystem is ext2
Also
Before trying to install any new packages like the libraries you want. You will need to do a
first also before you run those commands.Code:sudo apt-get update
I have no experience with Beagle boards. I've heard of them but have never owned one. So not much experience/help with one. Sorry.
You can mount that sd card on your laptop with a
first to find the card id as /dev/sd(whatever)Code:sudo fdisk -l
then mount it via
Then instead of using apt-get. Download the libs from Ubuntus site/repository for Ubuntu Karmic and put them in your home folder on the sd card and put it in your beagle board and open file manager in beagle board and open terminal in folder where libs are now stored andCode:sudo mount /dev/sd(whatever)
Then do the same for the other lib also. Hope I am making sense.Code:sudo dpkg -i liblapack-dev
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 06-21-2011 #5Just Joined!
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 71
Whoa! You cannot use a PC to install ARM packages with apt-get.
You can boot the SD card on the ARM platform and use apt-get to install additional ARM packages when it's up and the network is up or you can dowload the .deb packages to the PC, copy them to the SD card and use "dpkg -i <package>.deb to install them on the ARM once it's up and running.
You use the PC to get a pre-built bootable ARM system on to the SD card using a tar.gz file, tar and gzip don't care, if it's a .tar.gz file it can extract it.
The mk_sdcard.sh (I think that is the name) is a shell script that does all the magic so you won't have to type in all the individual commands to get the SD card built.
- 06-21-2011 #6Just Joined!
- Join Date
- May 2011
- Posts
- 38
I have followed the steps in the Demo Image.Wondering if you followed the steps in
Code:
RootStock
That is correct! Normally, I do an update and an upgrade before installing the libraries.Before trying to install any new packages like the libraries you want. You will need to do a
Code:
sudo apt-get update
I have not tried your suggestion but I will take a look later.Then instead of using apt-get. Download the libs from Ubuntus site/repository for Ubuntu Karmic and put them in your home folder on the sd card and put it in your beagle board and open file manager in beagle board and open terminal in folder where libs are now stored and
Code:
sudo dpkg -i liblapack-dev
That was exactly my doubt. I was not sure if I could do that.Whoa! You cannot use a PC to install ARM packages with apt-get.
This was actually my second option to solve my problem.You can boot the SD card on the ARM platform and use apt-get to install additional ARM packages when it's up and the network is up or you can dowload the .deb packages to the PC, copy them to the SD card and use "dpkg -i <package>.deb to install them on the ARM once it's up and running.
What I have done as a solution was:
I used the setup script from the website mentioned. I have written command lines on the script to copy the necessary files (autologin, autostart, ip settings, etc). Once I start my beagleboard with Linux, I have added a shell script which should be executed to finish the installation. This file runs basically:
It works but I wanted to do it all from my laptop.Code:sudo apt-get update sudo apt-get upgrade sudo apt-get install liblapack-dev sudo apt-get install libf2c2-dev
Thanks for you help and attention.
Frederico
- 06-21-2011 #7
Thanks for replying back and glad you found a solution of sorts.
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks


Reply With Quote
