|
|
#1 |
|
Zombie's worst nightmare
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
|
Simple linux fastboot installing command
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 |
|
|
|
|
|
#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.
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
![]()
Last edited by geekmaster; 04-10-2012 at 02:24 PM. |
|
|
|
|
|
|
#4 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267783
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
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. |
|
|
|
|
|
#5 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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:
Oops... fixed in above post. I have been running on a couple of hours of sleep since I was a child (since I read about how Leonardo DaVinci lived on two hours of sleep per day). I takes a lot of focus, will-power, and persistence (and a lot of coding with one eye open because they are pointing in different directions, especially after a continuous three-day coding binge). ![]() Last edited by geekmaster; 04-10-2012 at 02:41 PM. |
|
|
|
|
|
#6 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267783
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
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 .
|
|
|
|
|
|
#7 |
|
Zombie's worst nightmare
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
|
Oh sudoforlunch Indeed
![]() Code:
su -c "cd /usr/bin ; wget http://www.sudoforlunch.co.cc/fastboot ; chmod 777 fastboot" |
|
|
|
|
|
#8 |
|
Zombie's worst nightmare
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
|
The URL is updated, along with the rest of the command, and I added a warning that it was only for i386
__________________
Annoying orange: Creepers, Beepers, where'd ya get those peepers? Creepers, Beepers, where'd ya get those eyes? Steve: (Where did I put that diamond sword again?) |
|
|
|
|
|
#9 |
|
offline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,326
Karma: 4941079
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
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.
|
|
|
|
|
|
#10 |
|
Zombie's worst nightmare
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
|
I think you mean multiarch-support and ia32-libs. Glad it works.
__________________
Annoying orange: Creepers, Beepers, where'd ya get those peepers? Creepers, Beepers, where'd ya get those eyes? Steve: (Where did I put that diamond sword again?) |
|
|
|
|
|
#11 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
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|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
Linux Mint. (has wine). 32 bit. Works fine. Thanks.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |