LinuxQuestions.org
Register a domain and help support LQ
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 10-27-2005, 02: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, 02: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, 03: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, 07: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


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 11:34 AM
Terminal commands Ermen Linux - Newbie 1 11-23-2004 11:13 AM
Terminal Commands in Gnome connor Linux - Newbie 7 09-25-2003 10:19 AM
Terminal commands newtothegame Linux - Newbie 2 09-16-2003 05:52 PM
Console Commands. Madmanator Linux - General 1 01-24-2002 03:10 PM


All times are GMT -5. The time now is 06:07 AM.

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