Go Back   Android Forums > Android Forums Community > The Lounge > Computers & IT

New Android Wear, House and Home & Automotive forums!
Please report any threads you come across that should be moved to these new sections!

Like Tree1129Likes

test: Reply
 
LinkBack Thread Tools
Old August 15th, 2013, 02:12 AM   #751 (permalink)
Member
 
Joelgp83's Avatar
 
Join Date: Jul 2012
Location: California
Posts: 390
 
Device(s): Samsung Galaxy Prevail (CM7 beta5)
Carrier: Not Provided

Thanks: 50
Thanked 132 Times in 111 Posts
Default

Yeah, I know, I'm just providing an alternative. Also, any flaws ubuntu would have would naturally carry downstream into mint.

Joelgp83 is online now  
Reply With Quote
sponsored links
Old August 15th, 2013, 02:19 AM   #752 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by palmtree5 View Post
Quote:
Originally Posted by MoodyBlues View Post
I'm so out of the loop! All this EFI and rEFInd talk is foreign to me.
You'll probably learn the next time you buy a new PC...
I suppose. But! It's completely removable or work-around-able, right? Obviously, Linux will be the only OS on it--after I get my hot little hands on it and wipe the drive of all things micro$oft.
__________________
Info on Heartbleed bug; updated with helpful links


MoodyBlues is offline  
Reply With Quote
Old August 15th, 2013, 02:21 AM   #753 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,896
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,753
Thanked 1,549 Times in 807 Posts
Default

FWIW I have Arch as my only OS and have had no issues with EFI
MoodyBlues likes this.
__________________
Find a post helpful? Hit
See spam or something offensive? Hit
New to the site? Site Rules/Guidelines and Introductions
Not a member yet but want to join? Join here!
Let's cure cancer with our phones
palmtree5 is offline  
Reply With Quote
Old August 15th, 2013, 02:32 AM   #754 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,896
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,753
Thanked 1,549 Times in 807 Posts
Default

Quote:
Originally Posted by Dngrsone View Post
How do I launch an EFI shell?


I installed kernel 3.10_am64 and got my drivers that way... tried 3.10.6 initially, but ended up breaking things, so I uninstalled and went for 3.10 instead and I am running on wifi now. DHCP (automatic didn't work out too well... setting a manual IP did, and that is fine by me.

For the record, I went to the repository Index of /~kernel-ppa/mainline, surfed to the folder I wanted, and downloaded to a folder (labeled /kernel 3.10) the following files:

linux-headers-3.10.0-031000_3.10.0-031000.201306301935_all.deb
linux-headers-3.10.0-031000-generic_3.10.0-031000.201306301935_amd64.deb
linux-image-3.10.0-031000-generic_3.10.0-031000.201306301935_amd64.deb

I then opened a terminal, typed in the following:

Code:
cd Downloads
cd "kernel 3.10"
sudo dpkg -i *.deb
sudo update-grub
sudo reboot
After rebooting, I got a notification telling me wifi was available.
Just had an idea. Can you post the output of "ls -R /boot" (preferably in code tags)?
palmtree5 is offline  
Reply With Quote
Old August 15th, 2013, 10:10 AM   #755 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

I have my wireless drivers by installing kernel 3.10 into Mint 15.

The UEFI booting issue is painfully complex, and it seems like Toshiba is breaking a lot of rules (likely in the name of compliance).

If in Secure Boot, the machine boots Windows 8.

If Secure Boot is disabled, it will boot into Windows 8, unless I have manually registered rEFInd as the primary boot loader.

If I move anything around in the EFI folder from within Mint (using GUI, because I am lazy and somewhat impatient), then the system reverts back to previous behavior.

I cannot seem to be able to find any setting that will allow me to boot an EFI shell. There's supposed to be an advanced settings thing here in Windows with more UEFI options, but Toshiba has hidden it away from the menus where they even say it's supposed to be. I know it exists, because I accidentally called it up once, but I have idea what arcane key-combination I used at the time.

***EDIT: I found it; holding down the Shift key when selecting Restart in Windows 8 will get me to that Advanced menu. Now all I need to do is restart my laptop a few times to figure out which menu item I need to get to... ***

I will keep plugging away, as I find time to do so... I have bicycle maintenance to do, the school year is starting, and all those other IRL things that interfere (not to mention trying to set a new computer from scratch to be able to do my daily tasks).
MoodyBlues likes this.
Dngrsone is offline  
Last edited by Dngrsone; August 15th, 2013 at 10:20 AM.
Reply With Quote
Old August 15th, 2013, 02:07 PM   #756 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,896
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,753
Thanked 1,549 Times in 807 Posts
Default

https://wiki.archlinux.org/index.php/UEFI#Launching_UEFI_Shell

There's another method there for being able to launch a shell
MoodyBlues likes this.
palmtree5 is offline  
Reply With Quote
Old August 15th, 2013, 05:00 PM   #757 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

There does not seem to be a way to launch an EFI shell... I may be missing something, but I just don't see anything that would allow me to do it.

I guess I will dig up a thumb drive and get a bootable utility on it.
Dngrsone is offline  
Reply With Quote
The Following User Says Thank You to Dngrsone For This Useful Post:
palmtree5 (August 15th, 2013)
Old August 15th, 2013, 05:23 PM   #758 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Okay, I made a bootable USB drive.com am now in shell.

Option 00 is the SUB device I am running from. Variable: Boot2001

I won't list the whole thing because I am swyping on a tablet at the moment.

The rEFInd boot manager has Variable: Boot0000, Mint is Boot0004 and Windows is Boot0005.

So why will rEFInd not come up? Is there a configuration I have to do?
Dngrsone is offline  
Reply With Quote
Old August 15th, 2013, 07:42 PM   #759 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,896
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,753
Thanked 1,549 Times in 807 Posts
Default

So it sounds like rEFInd was definitely listed so I'd try doing
[HIGH]bcfg boot mv n 0[/HIGH]
where n is the value representing rEFInd's option
MoodyBlues likes this.
palmtree5 is offline  
Reply With Quote
Old August 15th, 2013, 10:56 PM   #760 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Well, I got rEFInd to boot up by running the setup script from within Mint. It's ugly right now, showing two Windows boot options, a Mint option, and two other Linux boot options.

I installed the shim stuff, but I am unsure how to create the keys or whatever, so I am booting unsecure right now.
MoodyBlues likes this.
Dngrsone is offline  
Reply With Quote
The Following User Says Thank You to Dngrsone For This Useful Post:
palmtree5 (August 15th, 2013)
sponsored links
Old August 16th, 2013, 07:29 PM   #761 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I finally found a book locally. Don't know how old it is, but it did mention the old Palm and Windows PDAs. Also Photoshop CS. It's called Ubuntu Hacks and at least it explains some of the commands. It's an O'reilly book.

The freaking shelves were full of how to use MS Office, etc. Macs and Windows for seniors - JC, how much fluff can they write?

Couldn't find a book on Curiosity Rover.

Found this website listed, any use for?: Anubis: Analyzing Unknown Binaries
__________________
Sent by UFO
zuben el genub is offline  
Reply With Quote
Old August 16th, 2013, 07:36 PM   #762 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Quote:
Originally Posted by zuben el genub View Post
I finally found a book locally. Don't know how old it is, but it did mention the old Palm and Windows PDAs. Also Photoshop CS. It's called Ubuntu Hacks and at least it explains some of the commands. It's an O'reilly book.

The freaking shelves were full of how to use MS Office, etc. Macs and Windows for seniors - JC, how much fluff can they write?

Couldn't find a book on Curiosity Rover.

Found this website listed, any use for?: Anubis: Analyzing Unknown Binaries

... did I miss a piece of the conversation somewhere?
MoodyBlues likes this.
Dngrsone is offline  
Reply With Quote
Old August 17th, 2013, 08:35 AM   #763 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

Quote:
Originally Posted by zuben el genub View Post
I finally found a book locally. Don't know how old it is, but it did mention the old Palm and Windows PDAs. Also Photoshop CS. It's called Ubuntu Hacks and at least it explains some of the commands. It's an O'reilly book.

The freaking shelves were full of how to use MS Office, etc. Macs and Windows for seniors - JC, how much fluff can they write?

Couldn't find a book on Curiosity Rover.

Found this website listed, any use for?: Anubis: Analyzing Unknown Binaries
I've used Anubis before, really cool. Probably only useful if you are doing some malware research though. Not something everyone needs. Still cool though.
9to5cynic is offline  
Reply With Quote
Old August 17th, 2013, 08:38 AM   #764 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I complained about a book I bought on Ubuntu when I first installed it. It was nothing but how to use the damn social programs, and other utilities. I can use those, usually with NO help. Any help with terminal commands was missing. It wasn't a For Dummies book.

The only other books available were for those who wished to code.

This one was written in 2006, but at least they explain which command does what and why. Commands aren't strange to me, I started with DOS. The terms are different, and some work differently.
MoodyBlues and Dngrsone like this.
zuben el genub is offline  
Reply With Quote
Old August 17th, 2013, 09:14 AM   #765 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Unfortunately, programmers are pretty bad at writing instructions that are useful for anyone other than fellow programmers.

And publishers seem to think that the only people wanting technical reference books are either programmers or complete idiots.
Dngrsone is offline  
Reply With Quote
Old August 17th, 2013, 04:41 PM   #766 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

Just in this field. Deke McClelland had very good Photoshop books out around Photoshop 3 which was the first you could cross platform with Mac.
I had to laugh at one comment about Windows users. He warned about looking in some directories as "windows users are nosy" I know I am.

XDA has this problem. Most are very bright but they have no idea how to communicate in standard English anyway.

For some senior citizens they still need to start with "make sure the computer, monitor, etc are PLUGGED IN or the Surge protector switched ON.
MoodyBlues and Dngrsone like this.
zuben el genub is offline  
Reply With Quote
Old August 17th, 2013, 11:03 PM   #767 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Well, managed to sign my Mint loader, but now I get a grub error...

Code:
 error: Secure Boot forbids loading module from (hd0, gpt7)/boot/grub/normal.mod
Seems like progress... I don't know.
Dngrsone is offline  
Reply With Quote
Old August 18th, 2013, 04:20 PM   #768 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by zuben el genub View Post
I complained about a book I bought on Ubuntu when I first installed it. It was nothing but how to use the damn social programs, and other utilities. I can use those, usually with NO help. Any help with terminal commands was missing. It wasn't a For Dummies book.

The only other books available were for those who wished to code.
I was going to say that there are a ton of great books available...but then I realized that what *I* consider perfectly usable may not strike a non-coder that way.

Quote:
This one was written in 2006, but at least they explain which command does what and why. Commands aren't strange to me, I started with DOS. The terms are different, and some work differently.
Keep in mind that DOS basically copied UNIX, but did it badly. For example, they used the same concept of a root directory, from which all other directories sprang, so DOS had the same tree-like file structure *nix did. And a lot of DOS commands, such as cd, had the same basic purpose of their *nix counterparts but, again, imitated *nix badly. What I'm talking about is the vast difference in functionality between any DOS command and its UNIX lookalike. In *nix, that command might have 20, 30, 40 or more options, while the DOS version might have none or 3. With the *nix command, mixed with other *nix commands, and the ability to chain output (by piping, by using sed or grep, by redirecting, etc.), the *nix version would actually have infinite possibilities while the DOS version didn't. Also, the sheer difference in number of commands and their options was shocking--just compare an old DOS manual to a same-year UNIX manual and note the difference in thickness!

Back to books. Unless you're really intent on having *buntu specific books, I actually recommend just buying generic Linux books. This one, for example, does a good job of covering a lot of essential stuff, A Practical Guide to Linux Commands, Editors, and Shell Programming, by Mark G Sobell. Again, I'm saying that from the only perspective I have--mine!--but I think a non-coder could plunge in and find it very useful. Ubuntu specific books would be good if you're more interested in Ubuntu specific features, but when it comes to commands, Linux is Linux is Linux (for the most part!).
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
zuben el genub (August 18th, 2013)
Old August 18th, 2013, 05:29 PM   #769 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I prefer printed. I can bookmark, dogear, or otherwise mark up the page and still find my content. I usually print out any instructions.

The book I just bought was written in 2006. You will be getting questions as I work through it.
I just happen to be working on a couple of wedding gifts and helping a friend out with her daughter's wedding. Then start on XMAS. When the weather starts getting lousy is usually when I mess with computers that need tweaking.

I have to see if Skype works on 12.04. It certainly didn't in Mint 14.
MoodyBlues likes this.
zuben el genub is offline  
Reply With Quote
Old August 18th, 2013, 05:57 PM   #770 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by zuben el genub View Post
I prefer printed. I can bookmark, dogear, or otherwise mark up the page and still find my content.
Oh, I hear you! I *SO* prefer a real book to any of those newfangled e-book things. There's nothing like holding a real book, thumbing through its pages, stopping here and there to read a little, and referring back to the same pages so often the book falls open effortlessly to those exact spots.

Quote:
The book I just bought was written in 2006. You will be getting questions as I work through it.
Let 'em rip! Your fellow Linux users are ready.

Quote:
When the weather starts getting lousy is usually when I mess with computers that need tweaking.
When I was living in Dallas, I'd wait for the lousy [winter] weather to start and then I'd work on crocheting things. Now that I'm back home in SoCal...well, let's just say there isn't a lot of lousy weather!

Quote:
I have to see if Skype works on 12.04.
It did for me the last time I tried. Note that I'm using Kubuntu 12.04, but still.
MoodyBlues is offline  
Reply With Quote
sponsored links
Old August 18th, 2013, 10:00 PM   #771 (permalink)
Senior Member
 
MrGlowy's Avatar
 
Join Date: Feb 2012
Location: California
Gender: Male
Posts: 639
 
Device(s): LG Optimus F3
Carrier: MetroPCS

Thanks: 112
Thanked 133 Times in 111 Posts
Default

I'm on Ubuntu 12.04 and Skype works for me
MrGlowy is offline  
Reply With Quote
Old August 21st, 2013, 09:09 AM   #772 (permalink)
Senior Member
 
dkl1's Avatar
 
Join Date: Jan 2012
Location: Centerville, OH
Gender: Male
Posts: 751
 
Device(s): CURRENT DEVICE: Samsung GS3 Rooted- White 16GB CarbonRom v1.8 is my current DD!
Carrier: VZW

Thanks: 790
Thanked 300 Times in 211 Posts
Default

Hey Guys and Gals! Kind of a newbie with the Linux thing but I definitely like what I've experienced thus far! I'm running Ubuntu 12.x or is it 13.x - sorry can't remember at the moment...

At any rate, I'm in need of a .jar launcher that I can use with a file needed for the one-click root method I will be doing shortly. I have searched the web but can't find anything readily avail for Linux, rather links showing one how to CREATE one. That's all well and good, however, I'm not confident yet with how to work with commands etc. Any help with this will be greatly appreciated

Thanks...

EDIT: I posted this same topic over in the S3-All thing Root forum but a moderator moved it here for me....sorry!
dkl1 is online now  
Last edited by dkl1; August 21st, 2013 at 09:33 AM.
Reply With Quote
Old August 21st, 2013, 06:07 PM   #773 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

Skype pulled the same nonsense on Ubuntu as it did on Mint. No freaking sound. I spent the whole damn day reading and finally checked the physical speakers. I have a very good set, but they are circa 2000 and I guess newer Linux doesn't like them. I grabbed an el cheapo pair from another computer, messed with a few more things, and Skype works. I did the test call, got sound and my recording back.
The damn speakers work in XP on the same cards.

I also managed to get the Epson V300 perfection working. That took even more of the day.

I even got the old Gnome desktop.

What I can't do is install FX and TB ESR. They are tar.bz files. Used sudo and it tells me I don't have permission to do anything with the files. This desktop has the root terminal, can I use that?

Once I get the system the way I want it, it's staying that way.

I did see Iron Browser in Software center somewhere.

I finally got some sympathy from the Vulcan. I told him I wanted to use Ubuntu for online banking and some shopping as it was more secure. The last time he said that since Linux was free, it was probably no good.
zuben el genub is offline  
Last edited by zuben el genub; August 21st, 2013 at 06:10 PM.
Reply With Quote
Old August 22nd, 2013, 12:08 AM   #774 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by zuben el genub View Post
Skype pulled the same nonsense on Ubuntu as it did on Mint. No freaking sound. I spent the whole damn day reading and finally checked the physical speakers. I have a very good set, but they are circa 2000 and I guess newer Linux doesn't like them. I grabbed an el cheapo pair from another computer, messed with a few more things, and Skype works. I did the test call, got sound and my recording back.
The damn speakers work in XP on the same cards.

I also managed to get the Epson V300 perfection working. That took even more of the day.

I even got the old Gnome desktop.
I'm sitting here nodding my head, laughing in a knowing sort of way, not a laughing at you sort of way. You know--been there, done that. (Not your specific issues, but tweaking, reading, trying, failing, that sort of stuff.)

But I'm happy to hear you do have all those things working now.

Quote:
What I can't do is install FX and TB ESR. They are tar.bz files. Used sudo and it tells me I don't have permission to do anything with the files. This desktop has the root terminal, can I use that?
Let's break things down a bit, okay?

You don't need a 'root terminal' per se. What you need is true root access. That does not mean sudo. From a prompt, any prompt, in any terminal application, do this:

su -[enter]

(that's su space minus sign[enter]. You'll be prompted for root's password. Unlike sudo, YOUR password isn't going to work here, it must be root's password. (If you don't have a root password, post again.)

Now you'll have a root prompt. You can do anything--and I do mean anything, including wiping out the entire hard disk--while working with this power. So go slowly, pay attention to what you're doing, and if you're ever in doubt, PULL YOUR HAND AWAY before it presses the [enter] key! Better safe than sorry.

Okay, so, where are the tar files you want to install? And where do you want them to be installed? If they look like the Firefox file I looked at recently, just un-compress them (anywhere) and then move them to their end destination.

I'm making this all up as an example: Let's say you downloaded ABC.tar.bz2 into your /data/downloads directory. Uncompress it via whatever method suits you--GUI, command line, whatever. It should recreate its compressed files' directory/subdirectory structure. Once it's done that, you can simply move its main directory to the location you want it in. As in my earlier example, let's say that's /usr/local:

mv ABC /usr/local

That SHOULD be the end of it. It will most likely have root ownership and group, but if it's readable and executable by all then you're good to go.

To review (and please note I'm being this verbose because I assume others, who may have no Linux knowledge, may learn from it too), the reason you can't move files to the root filesystem (which is where /usr/local is located) is because that's part of the ROOT FILESYSTEM! *nix will always want to protect its system files. So regular users can't do this, but logging in as root solves the problem.

If anything's unclear, let me know.
Dngrsone likes this.
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
EarlyMon (August 22nd, 2013)
Old August 22nd, 2013, 12:18 AM   #775 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by dkl1 View Post
Hey Guys and Gals! Kind of a newbie with the Linux thing but I definitely like what I've experienced thus far!
Hi there, dkl1! Welcome to the club of happy Linux users.

Quote:
I'm running Ubuntu 12.x or is it 13.x - sorry can't remember at the moment...
Since I'm heavily biased--and make no bones about it!--I'd like to recommend giving Kubuntu a try. It's Ubuntu with KDE as its desktop environment. It's beautiful, and infinitely customizable. If you need more info just let us know.

Quote:
At any rate, I'm in need of a .jar launcher that I can use with a file needed for the one-click root method I will be doing shortly.
I'm not familiar with this. Sorry.

Quote:
I have searched the web but can't find anything readily avail for Linux, rather links showing one how to CREATE one. That's all well and good, however, I'm not confident yet with how to work with commands etc. Any help with this will be greatly appreciated
If no one responds with instructions/help, we can move on to plan B, which would be posting the links describing how to create one. Then we can put our heads together and figure it out!
MoodyBlues is offline  
Last edited by MoodyBlues; August 22nd, 2013 at 12:38 PM. Reason: too few functioning brain cells... *sigh*
Reply With Quote
Old August 22nd, 2013, 08:30 AM   #776 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

Quote:
Originally Posted by MoodyBlues View Post
I'm sitting here nodding my head, laughing in a knowing sort of way, not a laughing at you sort of way. You know--been there, done that. (Not your specific issues, but tweaking, reading, trying, failing, that sort of stuff.)

But I'm happy to hear you do have all those things working now.



Let's break things down a bit, okay?

You don't need a 'root terminal' per se. What you need is true root access. That does not mean sudo. From a prompt, any prompt, in any terminal application, do this:

su -[enter]

(that's su space minus sign[enter]. You'll be prompted for root's password. Unlike sudo, YOUR password isn't going to work here, it must be root's password. (If you don't have a root password, post again.)

Now you'll have a root prompt. You can do anything--and I do mean anything, including wiping out the entire hard disk--while working with this power. So go slowly, pay attention to what you're doing, and if you're ever in doubt, PULL YOUR HAND AWAY before it presses the [enter] key! Better safe than sorry.

Okay, so, where are the tar files you want to install? And where do you want them to be installed? If they look like the Firefox file I looked at recently, just un-compress them (anywhere) and then move them to their end destination.

I'm making this all up as an example: Let's say you downloaded ABC.tar.bz2 into your /data/downloads directory. Uncompress it via whatever method suits you--GUI, command line, whatever. It should recreate its compressed files' directory/subdirectory structure. Once it's done that, you can simply move its main directory to the location you want it in. As in my earlier example, let's say that's /usr/local:

mv ABC /usr/local

That SHOULD be the end of it. It will most likely have root ownership and group, but if it's readable and executable by all then you're good to go.

To review (and please note I'm being this verbose because I assume others, who may have no Linux knowledge, may learn from it too), the reason you can't move files to the root filesystem (which is where /usr/local is located) is because that's part of the ROOT FILESYSTEM! *nix will always want to protect its system files. So regular users can't do this, but logging in as root solves the problem.

If anything's unclear, let me know.
You are clear, Ubuntu ain't. I have the files unzipped in downloads. I tried moving both the zipped and unzipped files and I just get told I don't have permission as I'm not the owner. I don't like the idea of SU, but dammit, I do want to install the apps I want. FX is not a questionable app.
I'm trying to move them to USR/Local. No go. I can't move by dragging, the move command or anything. I might need a root password. "YOU ARE NOT THE OWNER"

It seems like 12.04 simply doesn't want to hear about FX ESR. It installed on Mint 14. I got ESR going, and uninstalled the regular FX via Software Center. I've had ESR working on 10.10, 11.04, but 12.04LTR won't do it. I got the files from Mozilla itself.

I've learned about reading only. I've snooped around in Windows computers for a long time.

So what's the root terminal, then?

BTW, I did look at the permissions from the FX files, and the owner says ROOT. Everything else greyed out.

Thanks
zuben el genub is offline  
Last edited by zuben el genub; August 22nd, 2013 at 08:34 AM.
Reply With Quote
Old August 22nd, 2013, 09:07 AM   #777 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Hrm... I've seen that kind of problem before, where Ubuntu won't let you do things.

Wish I could remember exactly what I did to circumvent it.

You could try sudo chown -R [username] [folder] where the username is you and the folder name is the top folder of the unzipped archive. Then try moving it. Don't forget you will have to change the owner back to root if this method works.

Oh! I think I cheated-- I booted up the machine into a Live CD (could have been Ubuntu, perhaps even DSL) and then moved the files on the hard disk-- the native Ubuntu root had no say in the matter, then.
Dngrsone is offline  
Reply With Quote
Old August 22nd, 2013, 09:08 AM   #778 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 45,623
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,439
Thanked 56,265 Times in 22,618 Posts
Default

How to get a terminal window -

http://www.psychocats.net/ubuntu/terminal

For Ubuntu 12.04, I just use control-alt-t for that.

Then as MoodyBlues said:

su -

As for what a root terminal is, sounds like slang for a terminal window with a root login.
MoodyBlues and 9to5cynic like this.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
Reply With Quote
Old August 22nd, 2013, 09:35 AM   #779 (permalink)
Member
 
Join Date: May 2013
Location: UK
Posts: 209
 
Device(s): Samsung Galaxy Ace 2 sim free, Acer Iconia A200
Carrier: Not Provided

Thanks: 13
Thanked 50 Times in 45 Posts
Default

If you are the admin, try:

sudo su

and give your password.
jonbanjo is offline  
Reply With Quote
The Following User Says Thank You to jonbanjo For This Useful Post:
palmtree5 (August 22nd, 2013)
Old August 22nd, 2013, 09:39 AM   #780 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,547
 
Device(s): Samsung Galaxy S3
Carrier: T-Mobile

Thanks: 655
Thanked 1,053 Times in 730 Posts
Default

Some distros (debian based) you need to do sudo su, enter your password, and be on your merry way.

Some others i've used (I think it was Arch....Or gentoo...)

you just enter su, password, and root..

There IS a root terminal, though. Where you open it, it prompts you for your pw, and you are good to go.
__________________
Want to brighten my day? Feel free to donate
Prinny is online now  
Reply With Quote
sponsored links
Old August 22nd, 2013, 10:46 AM   #781 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I had this problem with 10.04 and 10.10. I'd try to boot into recovery, and it would NOT take my password. Looking back, I think the required password was what Ubuntu itself put in.
I could install tar.gz files.

It could have to do with the setup. I have 2 separate HD, a Maxtor and a WD. One runs Linux, the other runs XP. I can still get into the Bios and change the boot order.

It seems like almost every other dual boot is partitioned. Mine isn't.

I think I am going to have to get this install to recognize a master password that I can use if I need it. I hope I don't have to.

I'm going to try this. The libraries should be there as regular FX has them.
https://support.mozilla.org/en-US/kb/install-firefox-linux

This is what I was trying to do, and kept getting the DO NOT OWN FILE
Installing and Maintaining Firefox ESR in Ubuntu / Linux *-*TuxGarage
zuben el genub is offline  
Reply With Quote
Old August 22nd, 2013, 11:05 AM   #782 (permalink)
Senior Member
 
MrGlowy's Avatar
 
Join Date: Feb 2012
Location: California
Gender: Male
Posts: 639
 
Device(s): LG Optimus F3
Carrier: MetroPCS

Thanks: 112
Thanked 133 Times in 111 Posts
Default

Try sudo nautilus, that's how I get root for the file manager to move things to the usr folder
MrGlowy is offline  
Reply With Quote
Old August 22nd, 2013, 11:25 AM   #783 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

Quote:
Originally Posted by MrGlowy View Post
Try sudo nautilus, that's how I get root for the file manager to move things to the usr folder
Should that not be gksudo?
Dngrsone is offline  
Reply With Quote
Old August 22nd, 2013, 11:37 AM   #784 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

apt - is there a deb package to install firefox ESR? - Ask Ubuntu

Played with this. There is no folder called OPT in USR/LOCAL, and I can't make one. Where else can I stick the file?

I changed the version number, and got as far as put it in OPT via terminal. At least Windows asks if you want to create a directory. So I either need instructions on how to get the OPT directory in USR or find another place to put FX.

Thanks
zuben el genub is offline  
Reply With Quote
Old August 22nd, 2013, 12:11 PM   #785 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,374
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 146
Thanked 286 Times in 237 Posts
Default

So sudo mkdir /user/local/opt doesn't work for you?
Dngrsone is offline  
Reply With Quote
Old August 22nd, 2013, 12:42 PM   #786 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

zuben, I'm sorry but you're getting those errors because you're not doing the one thing that would eliminate them. Please go back and review--and then *DO*--the stuff I wrote about using su -.

In 28 years of using *nix, I have yet to see that fail with the errors you're receiving, Ubuntu or no Ubuntu. (FWIW, all of my current computers are *buntu-based and, trust me, su works.)
MoodyBlues is offline  
Reply With Quote
Old August 22nd, 2013, 12:52 PM   #787 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by Dngrsone View Post
Hrm... I've seen that kind of problem before, where Ubuntu won't let you do things.

Wish I could remember exactly what I did to circumvent it.
I've been using *buntu since its first release and have yet to come up across ANYTHING it wouldn't let me do. Linux commands are Linux commands. Ubuntu doesn't cripple its versions of Linux commands--they're compliant with the current iteration of Linux commands.

If you're coming up against something where "Ubuntu won't let you do things," it's not Ubuntu...

Quote:
You could try sudo chown -R [username] [folder] where the username is you and the folder name is the top folder of the unzipped archive. Then try moving it. Don't forget you will have to change the owner back to root if this method works.

Oh! I think I cheated-- I booted up the machine into a Live CD (could have been Ubuntu, perhaps even DSL) and then moved the files on the hard disk-- the native Ubuntu root had no say in the matter, then.
NONE of this should be necessary, unless you have some quirky copy of *buntu that's different from every one I've ever used. su - at a prompt solves everything--and has in the three decades I've used *nix.
MoodyBlues is offline  
Reply With Quote
Old August 22nd, 2013, 01:32 PM   #788 (permalink)
Senior Member
 
MrGlowy's Avatar
 
Join Date: Feb 2012
Location: California
Gender: Male
Posts: 639
 
Device(s): LG Optimus F3
Carrier: MetroPCS

Thanks: 112
Thanked 133 Times in 111 Posts
Default

Quote:
Originally Posted by Dngrsone View Post
Should that not be gksudo?
Well that's what I type into the terminal.
MrGlowy is offline  
Reply With Quote
Old August 22nd, 2013, 05:11 PM   #789 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I can get to root, I can use SU. I have no damn clue of what the paths are. I can't find the download folder in Terminal. Until I can figure out the paths, I don't want to do anything. I need to be sure of where I'm going and what I'm doing. I can never find an exact example to figure out.
I read that Terminal's default is your home directory. It sure doesn't list the folders documents, music, videos, downloads, etc.

I managed a download of FX 10.0.2 ESR. It immediately updated to 18 something.
The about Firefox did not tell me I was on the ESR update channel. The 10.0.2 file was a tar.bz2. It extracted and ran from downloads just fine. I deleted it as I want the ESR FX not the regular one.

ESR says in about "you are on the ESR update channel" Regular FX just gives you the version number.

I also deleted all social media on Ubuntu first thing. I want to get rid of Amazon links, too. I don't know why this should make a difference if it does.

So it seems older FX TAR.BZ2 files work, the newer downloads want something else. If that 10.0.02 had said ESR, I would have kept it, updated by the ESR channel, made a shortcut and deleted FX 18 via Software.

I had to get Skype through terminal, too. That just went where it was supposed to go. It didn't say which folder or anything. I read what's installing.
zuben el genub is offline  
Last edited by zuben el genub; August 22nd, 2013 at 05:24 PM.
Reply With Quote
Old August 22nd, 2013, 05:15 PM   #790 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 45,623
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,439
Thanked 56,265 Times in 22,618 Posts
Default

Terminal window as yourself.

cd Down(tab key to auto-complete) (enter)

To show full path:

pwd

Copy/paste into your terminal with root as required.
EarlyMon is online now  
Reply With Quote
sponsored links
Old August 22nd, 2013, 05:19 PM   #791 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
How to get a terminal window -

Where's the Terminal?

For Ubuntu 12.04, I just use control-alt-t for that.

Then as MoodyBlues said:

su -

As for what a root terminal is, sounds like slang for a terminal window with a root login.

I'm using the plain Gnome desktop. I opened that root terminal and it does start with ROOT then your password. I think it's a shortcut. It was in the other versions of Ubuntu, but I never investigated it.
zuben el genub is offline  
Reply With Quote
Old August 22nd, 2013, 05:28 PM   #792 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

XXXXXX@xxxx $ then you start a command. Got that
CD what's down, a word or the down key? Then hit tab key to autocomplete?

PWD? how and where do you enter that? Sounds like a shortcut abbr. for password.


Sorry to sound so dumb, but I'm one of the people who can read code and see basically what it's doing, but don't understand how to work and write it.

I used to read through the books for programming the old TI. I was looking for educational programs for the brat. If I found one that worked the way I wanted, I'd type it in.
zuben el genub is offline  
Last edited by zuben el genub; August 22nd, 2013 at 05:35 PM.
Reply With Quote
Old August 22nd, 2013, 06:40 PM   #793 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 45,623
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,439
Thanked 56,265 Times in 22,618 Posts
Default

Commands are case sensitive.

Virtually all native commands are lowercase.

Many environment variables are uppercase.

Most every *nix tool is a building block and mnemonically named.

pwd is a command that you enter at the command prompt of a terminal window.

It stands for - print working directory - iow, display to the standard output the directory that was current when the command was issued.

You may open multiple terminal windows.

If it's easy for you to get the "root terminal" then in one of those, you can get to your own environment, which means going to your own home directory with your identity in that window by saying, in the terminal window -

login

And then provide your credentials.

Terminal windows are independent. You can have any user in any state in any one, and not affect others already open.

Please take care with the caps key, it's harder for me (and probably others) to help. I thought you've been dealing with something else because of those.
MoodyBlues likes this.
EarlyMon is online now  
Reply With Quote
Old August 22nd, 2013, 07:05 PM   #794 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 45,623
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,439
Thanked 56,265 Times in 22,618 Posts
Default

If you want to check out an advised command, you can often do that with the online manual pages. For example -

man pwd

Will describe that one.

You can also search the man pages if they're indexed, and see the list of possible commands of interest, using the k flag. For example -

man -k directory

It's been forever since I've indexed man pages that I've forgotten how.

If man -k doesn't work for you, and no one else knows, try:

man man

And see if it's mentioned there.
MoodyBlues likes this.
EarlyMon is online now  
Reply With Quote
Old August 22nd, 2013, 07:15 PM   #795 (permalink)
Member
 
Join Date: May 2013
Location: UK
Posts: 209
 
Device(s): Samsung Galaxy Ace 2 sim free, Acer Iconia A200
Carrier: Not Provided

Thanks: 13
Thanked 50 Times in 45 Posts
Default

Quote:
Originally Posted by Prinny View Post
Some distros (debian based) you need to do sudo su, enter your password, and be on your merry way.

Some others i've used (I think it was Arch....Or gentoo...)

you just enter su, password, and root..
OpenSuse offers an option "Use this password for system administrator" when you create the first user in the installation process. I'd guess using this option (which actually is the default but I uncheck it) would give a set up similar to Ubuntu, etc.

Unchecked, the next step is to provide a password for root.
MoodyBlues likes this.
jonbanjo is offline  
Reply With Quote
Old August 22nd, 2013, 07:39 PM   #796 (permalink)
Senior Member
 
saptech's Avatar
 
Join Date: Dec 2011
Location: Third Stone from the Sun
Posts: 3,626
 
Device(s): Motorola Moto G, Samsung Stratosphere, Galaxy Tab 2 SE.
Carrier: T-Mobile

Thanks: 587
Thanked 787 Times in 628 Posts
Default

Apps install into /usr/bin, /usr/local/bin, or /opt by default (/bin is only for binaries needed for startup, and any sbin directory is for root-only applications).

To see where your particular one is installed, run:
which <command>

which will return the directory where the binary is located.
MoodyBlues likes this.
__________________
If you don't stand for something, you'll fall for anything! - Sly Stone
saptech is offline  
Reply With Quote
Old August 22nd, 2013, 09:25 PM   #797 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,794
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 930
Thanked 1,378 Times in 827 Posts
Default

Quote:
Originally Posted by zuben el genub View Post
Sorry to sound so dumb
No one here thinks you sound dumb. Look, we all have to start somewhere.

I think this whole thing has taken on a life of its own--and gotten much more convoluted and complicated than it should be!

We can rewind, so to speak, and start all over again if you'd like. How about this? Post a link to the file(s) you're wanting to install. They're Firefox, right? Give us the link. Then we'll move forward, okay?
9to5cynic and saptech like this.
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
EarlyMon (August 22nd, 2013)
Old August 22nd, 2013, 09:30 PM   #798 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

Quote:
Originally Posted by zuben el genub View Post
XXXXXX@xxxx $ then you start a command. Got that
CD what's down, a word or the down key? Then hit tab key to autocomplete?

PWD? how and where do you enter that? Sounds like a shortcut abbr. for password.


Sorry to sound so dumb, but I'm one of the people who can read code and see basically what it's doing, but don't understand how to work and write it.

I used to read through the books for programming the old TI. I was looking for educational programs for the brat. If I found one that worked the way I wanted, I'd type it in.
Not to speak for Early, but I'm pretty sure he meant this:
$ cd Down{Tab}
Which will auto complete to:
$ cd Downloads
Pressing enter will change your directory (cd) to Downloads. pwd should now show /home/Zub/Downloads.

So, say you extracted this mysterious file to ~/Downloads (Oh, ~ is a shortcut for the current home directory. Handy!)

So a listing (ls) would reveal something like this:
file.tar.bz2
file

sudo su
(password)
Prompt changes!!
#
#pwd
# /home/Zub/Downloads
# cp -r file/ /opt/file
# ls /opt
> file/

So, I think that's kinda clear what it does, if not, I'll try to explain it. That has you list the directory, revealing that the file you want to copy exists in the location you are currently at. Next, we change to the root user. This account is greater than anything and everything. From here, we just double check that we are in the right directory (I want to say sometimes it'll put you in the root users home directory, but I'm not sure about that right now...)

And from there we simply copy the file to the /opt directory and then do a listing to make sure it's there.

MoodyBlues likes this.
9to5cynic is offline  
Reply With Quote
The Following User Says Thank You to 9to5cynic For This Useful Post:
EarlyMon (August 22nd, 2013)
Old August 22nd, 2013, 09:42 PM   #799 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,896
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,753
Thanked 1,549 Times in 807 Posts
Default

If you really want those files set up, here's what I would do:

Quote:
cd ~/Downloads (assuming the files are there)
tar xvjf file1.tar.bz2
sudo cp -r /home/user/Downloads/file1 /opt (This recursively copies the directory file1 to /opt)
cd /opt
sudo chown -R user:users file1 (Recursively gives your user ownership of file1 and everything in it)
export PATH=/opt/file1:$PATH
vim ~/.bashrc
Quote:
export PATH=/opt/file1:$PATH
(ESC) :wq (ENTER)
file1executable (example: firefox)
palmtree5 is offline  
Reply With Quote
Old August 23rd, 2013, 09:00 AM   #800 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,969
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 58
Thanked 913 Times in 732 Posts
Default

I've typed in cd Downloads. Says no such folder. I'll try it the way you listed it.

Whatever is causing that is probably the whole problem.

I simply must have something on my system that makes Ubuntu run weird.

I either get no such folder, or you don't have permission.

I don't have the opt folder anywhere and can't create it. I've opened and looked through every folder listed and don't see it. I got the path Sys>users>local from a few answers. OPT ain't in that folder.
Or how to create the damn folder? Full path please.

@palmtree - I get as far as using the opt folder, terminal says it doesn't exist (it doesn't) goodbye and stops.

It's funny - the TAR.BZ2 for the older FX ESR which updated wrong worked.
I extracted to the downloads, clicked on the FX icon and it ran, albeit the wrong version.

I got the files for Skype and the Epson Photo V300 to work via terminal. FX ESR worked on Mint and 10.10 just the way you described.

BTW, what's the number sign mean? Enter? I've used>
zuben el genub is offline  
Last edited by zuben el genub; August 23rd, 2013 at 09:05 AM.
Reply With Quote
Reply
Tags
bash, bash script, bash shell, linux, linux questions, linux scripting


Go Back   Android Forums > Android Forums Community > The Lounge > Computers & IT
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:55 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.