27 Eylül 2012 Perşembe

Installing the Nano text editor

To contact us Click HERE
I've discovered that the stock cr-48 setup can use binary packages from Arch Linux. This is how to install the Nano editor from arch. I'll provide two different methods, depending on if you want to pull the package from the repository yourself, or use my repackaged binary.
**You need to follow the instructions in the Notes post first, to make the partitions writeable
* Installing from an Arch repo. You'll need to download the package to a linux machine of your choosing. You can find the package at: http://www.archlinux.org/packages/core/i686/nano/
The package is compressed as a .tar.xz, which eluded me for the longest time.To extract the package use XZ Utils on LinuxThe syntax is: xz -d filename
Once you have decompressed the file from it's .xz container, you will be left with a .tar file, which the cr-48 has tools to open.
Now we need to get the file to the CR-48.If you have a ssh server on your linux box, we can use sftp to retrieve the filesftp user@host If you don't have an ssh server, you can upload the file to some public webspace, and wget the file from the cr-48
Once the file is on your cr-48, you can tar -xvf it, and copy the nano exec from the bin directory into /usr/bin (which is in the path) and nano should run flawlessly.


** If you don't want to go through all that work, open up a shell on the cr-48, and wget http://www.calliesfarm.com/chromeos/nano.tar.gz then, tar -zxvf nano.tar.gz and move the nano exec to /usr/bin

Hiç yorum yok:

Yorum Gönder