04-10-2012, 10:44 AM | #1 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Simple linux fastboot installing command
Here is a simple command to install the yifanlu-fastboot on any debian-based linux i386 (or and x86_64 with multiarch-support and ia32-libs installed (If wine works, then you don't need anything else, it will pull the deps)) system libusb-1.0.0 (tested on Ubuntu 12.04 Precise Pangolin LTS). It may or may not work on another linux family, but it's worth a try:
Code:
sudo wget http://www.sudoforlunch.org/fastboot -O /usr/bin/fastboot && sudo chmod -cvR a+x /usr/bin/fastboot Last edited by aditya3098; 12-22-2012 at 10:44 AM. Reason: 64-bit multiarch-support and ia32-libs |
04-10-2012, 11:06 AM | #2 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2012
Location: Virginia
Device: Kindle Touch
|
Does fastboot need to be installed into /usr/bin? Seems that it would be better (and more secure) just to run it from the home directory and use sudo as necessary.
|
04-10-2012, 11:42 AM | #3 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 04-10-2012 at 02:24 PM. |
|
04-10-2012, 01:31 PM | #4 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Just to be picky:
I usually go for one-liners in this style instead, but it's more of a personnal choice, and the fact that I have a semi-smart sudo function aliased to 's' in my zshrc, meaning I don't mind spamming sudo, and I still mostly save keystrokes over quotes/parentheses ^^. (I don't like to cd for a one-liner, even in a subshell, and don't like to chain stuff without making sure the first part successfully exited): sudo wget http://www.sudoforlunch.co.cc/fastboot -O /usr/bin/fastboot && sudo chmod -cvR a+x /usr/bin/fastboot (Same goes for chmod -cvR, it's pretty much how I always call chmod, so it's pretty automatic for me, and I guess the fact that I almost never use octal perms is my small way to get back at maths? . In the same vein, ls usually means ls -lash for me ). And geekmaster probably meant "sudo ./fastboot", not "./sudo fastboot", since you probably want to run the *fastboot* binary in the current directory, not sudo, which should already be part of your system and in your $PATH . If that didn't make any kind of sense whatsoever, my bad, I'm running on a couple of hours of sleep, so I'm pretty out of it ^^. Last edited by NiLuJe; 04-10-2012 at 01:43 PM. |
04-10-2012, 02:18 PM | #5 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Don't we all? How else can we use the command history? Here is one of my recent one-liners (from the "getkernels" thread):
PHP Code:
Last edited by geekmaster; 04-10-2012 at 02:41 PM. |
04-10-2012, 06:47 PM | #6 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, I tend to go the complete opposite way when actually writing stuff down, with a lot of over-long variable names, and useless comments, and 8 chars long tabs, because I'm always worried I'll forget what or why I did something...; as opposed to pulling things mostly out of thin air for one-time stuff, where I'll try to be more concise .
Yup, ls -t/-r is mighty useful too! Heh, I wish I could! Unfortunately, I really need at least 6 good hours, preferably more, or I end up being either the living dead, or a bit too overexcited and/or tipsy... Ha! xkcd is awesome . |
04-11-2012, 06:13 AM | #7 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Oh sudoforlunch Indeed
Code:
su -c "cd /usr/bin ; wget http://www.sudoforlunch.co.cc/fastboot ; chmod 777 fastboot" |
12-22-2012, 09:56 AM | #8 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
The URL is updated, along with the rest of the command, and I added a warning that it was only for i386
|
12-22-2012, 10:06 AM | #9 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
scratch that "i386 only" - it works absolutely smoothly on x86_64, assuming some compatibility libraries are installed. Not sure what they're called (i.e., which package that is), but IIRC installing wine will automatically pull them as a dependency.
|
12-22-2012, 10:43 AM | #10 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
I think you mean multiarch-support and ia32-libs. Glad it works.
|
12-22-2012, 08:18 PM | #11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Linux Mint. (has wine). 32 bit. Works fine. Thanks.
|
06-03-2018, 04:06 AM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2018
Device: Kindle PW2
|
|
01-27-2019, 12:53 AM | #13 |
Zealot
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
|
also looking for fastboot for linux....
can someone help me with how to compile this on ubuntu? (I'm a linux noob!) https://github.com/yifanlu/Fastboot-Kindle |
01-27-2019, 07:24 AM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
make
Same as found in the README file for OSx. Provide you have the build essentials installed. |
01-28-2019, 10:48 PM | #15 |
Zealot
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing in Debian Squeeze Command Line Only | drjonez | Devices | 2 | 08-23-2011 05:22 PM |
Problems installing - command line only | edent | Related Tools | 9 | 05-16-2011 12:01 PM |
Command Line (should be simple) | jhall124 | Calibre | 6 | 12-22-2010 02:36 PM |
Problem installing Command line tools | patc890 | Calibre | 7 | 12-12-2010 08:02 AM |
Possibility of Installing a Simple Text Editor | luqmaninbmore | PocketBook | 1 | 11-24-2009 12:11 PM |