LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 10-27-2005, 01:13 PM   #1
sonsuzuncu
LQ Newbie
 
Registered: Oct 2005
Distribution: Pardus 1.1, SLAX, Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
Question Console (terminal) Commands ?


i'm newbie. this is my first usage of linux.

i'm using ubuntu 5.10 breezy badger. i don't know console commands, especially about tar.bz2, tar.gz, .deb, chmod 777 or 755, cd , cp etc. generally what are the console commands for source ?

for example i downloaded source, codecs, fonts and documents for mplayer , they are tar.bz2 and tar.gz files, what commands should i use to play mplayer , in terminal (console) ?

if you know how can i learn these commands basically, give me some advice.

thanks.
 
Old 10-27-2005, 01:47 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
bz2 files: bunzip2 [file]
tar files: tar xvf [file]
tar.gz or .tgz: tar zxvf [file]
.deb: dpkg -i [file] (local install)

Learn how to use the man pages and use them!

man bunzips, man tar, man dpkg etc.

Learn the basics and leave compiling sources alone for a while
 
Old 10-27-2005, 02:28 PM   #3
sonsuzuncu
LQ Newbie
 
Registered: Oct 2005
Distribution: Pardus 1.1, SLAX, Ubuntu 5.10
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Moloko
bz2 files: bunzip2 [file]
tar files: tar xvf [file]
tar.gz or .tgz: tar zxvf [file]
.deb: dpkg -i [file] (local install)

Learn how to use the man pages and use them!

man bunzips, man tar, man dpkg etc.
thanks for your advices.

these commands. this is yet ? i'll want to learn more commands.


Quote:
Learn the basics and leave compiling sources alone for a while [/B]
i'm using Syndication Package Management if i need, but sometimes i need compiling sources. i think i'll love, like compiling, if i learn completely . ( i really love terminal screen. )


so, can anybody give me advices about learn completely compiling.

thanks.
 
Old 10-27-2005, 06:31 PM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
For the love of the terminal:

General rules:
unpack the source files
cd [source]
./configure
make
make install

The trouble usually begins with the configure stage. You need to watch the onscreen messages if there are dependencies you don't meet. Next, some programs require additional parameters during configure, other during make or during make install. Always read the directions included in the source.

Since you're on Ubuntu you also want to know how to compile deb packages or how to use checkinstall. Google is your friend.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Terminal commands Ermen Linux - Newbie 1 11-23-2004 10:13 AM
Terminal Commands in Gnome connor Linux - Newbie 7 09-25-2003 09:19 AM
Terminal commands newtothegame Linux - Newbie 2 09-16-2003 04:52 PM
Console Commands. Madmanator Linux - General 1 01-24-2002 02:10 PM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration