LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2011, 02:19 AM   #1
imwilliam
LQ Newbie
 
Registered: Aug 2011
Posts: 10

Rep: Reputation: Disabled
How do I type bcmwl directory on terminal


I'm trying to type the directory of the bcmwl tar.gz package I downloaded (located in home/william/downloads) I'm trying to compile the driver so i can get wifi working on my macbook pro 8.1, using ubuntu 11.04.I'm pretty much trying to follow these directions from a website:

Most of the time, you will need to use the terminal to compile source, so use an xterm/console/terminal and go into the directory that has been made by the package, eg:

$ cd /directory_that_the_tar_file_is_in
$ ls -l

Total 302
-rwxr--r-- 1 user group 2907 May 21 17:15 mytarfile.tar
-rwxr--r-- 1 user group 0015 May 21 17:15 newdir/

$ cd newdir/
I get stuck in the step that says: $ cd /directory_that_the_tar_file_is_in
What am i supposed to do?Sorry, I know this is a newbie question.
 
Old 08-22-2011, 03:48 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Try this:
Code:
cd downloads
then:
Code:
tar xvf bcmwl (hit TAB to complete package name)
then:
Code:
cd bcwml (hit TAB to complete package name)
Then look for README and INSTALL files in that directory.
 
Old 08-22-2011, 06:49 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
If you don't know which directory you are in when you start,

Code:
cd ~/downloads
could be more reliable (~ being a shortcut for your home directory). Of course, you could always use

Code:
pwd
to check which directory you are actually in, when you star, and adjust the path accordingly.

Another tip, if you are more used to using something like Konqueror as a file manager (I imagine the equivalents under gnome, XFCE, ... do the same trick) is that if you double click into the .tar.gz file, Konqueror wil open up the archive 'transparently', and so you will be able to drill down to the README and INSTALL files and read the details without actually opening up the tar archive (and potentially leaving all sorts of miscellaneous little files scattered about the place, if you are really not that interested, once you have actually read the details).
 
Old 08-25-2011, 01:08 AM   #4
imwilliam
LQ Newbie
 
Registered: Aug 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks alot guys.I found out how to get to the file.but how do I compile it?Also, what is compiling?Thanks once again.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron tab error: No entry for terminal type "unknown"; sing dumb terminal settings. shlomi.s Linux - Software 12 09-06-2011 09:20 AM
gnome-terminal:keyboard shortcut launches terminal with / directory default! deepclutch Linux - Desktop 1 06-21-2010 11:48 AM
bcmwl (5.10.91.9+bdcom) installing module (bad error status:10) akitta Linux - Networking 1 05-24-2010 12:26 AM
how to type in terminal? DMZeplin Fedora 5 02-15-2005 02:00 PM
Can't type password in terminal ts77351 Linux - General 1 06-12-2004 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration